public class InterceptorMapping extends Object
setTypeCode(String), assigned interceptor
Interceptor and list of replace interceptors| Constructor and Description |
|---|
InterceptorMapping() |
InterceptorMapping(String typeCode,
Interceptor interceptor,
Collection<Interceptor> replacements) |
| Modifier and Type | Method and Description |
|---|---|
Interceptor |
getInterceptor()
Gets the configured interceptor.
|
int |
getOrder() |
Collection<Interceptor> |
getReplacedInterceptors() |
String |
getTypeCode()
Gets the configured typecode.
|
void |
setInterceptor(Interceptor interceptor) |
void |
setOrder(int order)
Set the ordering which will apply to this class's implementation of Ordered, used when applying multiple
Interceptors.
|
void |
setReplacedInterceptors(Collection<Interceptor> replacedInterceptors) |
void |
setTypeCode(String typeCode) |
public InterceptorMapping()
public InterceptorMapping(String typeCode, Interceptor interceptor, Collection<Interceptor> replacements)
public Interceptor getInterceptor()
public void setInterceptor(Interceptor interceptor)
public String getTypeCode()
public void setTypeCode(String typeCode)
public Collection<Interceptor> getReplacedInterceptors()
public void setReplacedInterceptors(Collection<Interceptor> replacedInterceptors)
public final void setOrder(int order)
Default value is Integer.MAX_VALUE, meaning that it's non-ordered.
order - ordering valuepublic final int getOrder()
Copyright © 2017 SAP SE. All Rights Reserved.