public class InterceptorMapping
extends java.lang.Object
setTypeCode(String), assigned interceptor
Interceptor and list of replace interceptors| Constructor and Description |
|---|
InterceptorMapping() |
InterceptorMapping(java.lang.String typeCode,
Interceptor interceptor,
java.util.Collection<Interceptor> replacements) |
| Modifier and Type | Method and Description |
|---|---|
Interceptor |
getInterceptor()
Gets the configured interceptor.
|
int |
getOrder() |
java.util.Collection<Interceptor> |
getReplacedInterceptors() |
java.lang.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(java.util.Collection<Interceptor> replacedInterceptors) |
void |
setTypeCode(java.lang.String typeCode) |
public InterceptorMapping()
public InterceptorMapping(java.lang.String typeCode,
Interceptor interceptor,
java.util.Collection<Interceptor> replacements)
public Interceptor getInterceptor()
public void setInterceptor(Interceptor interceptor)
public java.lang.String getTypeCode()
public void setTypeCode(java.lang.String typeCode)
public java.util.Collection<Interceptor> getReplacedInterceptors()
public void setReplacedInterceptors(java.util.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 © 2018 SAP SE. All Rights Reserved.