public abstract class InterceptorSupport<E extends org.apache.camel.Endpoint> extends ChainableImpl implements Interceptor<E>
Interceptor
for inheritanceConstructor and Description |
---|
InterceptorSupport() |
Modifier and Type | Method and Description |
---|---|
protected static String |
characterSet(org.apache.camel.Exchange exchange)
Returns character set configured in the given Camel exchange,
or, when none found, the system default character set.
|
E |
getEndpoint() |
org.apache.camel.Processor |
getWrappedProcessor() |
void |
setEndpoint(E endpoint)
Sets the endpoint that uses this interceptor
|
void |
setWrappedProcessor(org.apache.camel.Processor wrappedProcessor)
Lets this interceptor wrap the given processor.
|
addAfter, addBefore, getAfter, getBefore, getId, setId
public org.apache.camel.Processor getWrappedProcessor()
getWrappedProcessor
in interface Interceptor<E extends org.apache.camel.Endpoint>
public void setWrappedProcessor(org.apache.camel.Processor wrappedProcessor)
Interceptor
setWrappedProcessor
in interface Interceptor<E extends org.apache.camel.Endpoint>
wrappedProcessor
- processor instance to be wrapped.public E getEndpoint()
getEndpoint
in interface Interceptor<E extends org.apache.camel.Endpoint>
public void setEndpoint(E endpoint)
Interceptor
setEndpoint
in interface Interceptor<E extends org.apache.camel.Endpoint>
endpoint
- the endpoint that uses this interceptorprotected static String characterSet(org.apache.camel.Exchange exchange)
exchange
- Camel exchange.Copyright © 2018 Open eHealth Foundation. All rights reserved.