Class InterceptorSupport
java.lang.Object
org.openehealth.ipf.commons.ihe.core.chain.ChainableImpl
org.openehealth.ipf.platform.camel.ihe.core.InterceptorSupport
- All Implemented Interfaces:
Processor
,Chainable
,Interceptor
- Direct Known Subclasses:
ConsumerAdaptingInterceptor
,ConsumerAuditInterceptor
,ConsumerAuthenticationFailureInterceptor
,ConsumerDispatchingInterceptor
,ConsumerInPayloadLoggerInterceptor
,ConsumerInteractiveResponseSenderInterceptor
,ConsumerMarshalInterceptor
,ConsumerOutPayloadLoggerInterceptor
,ConsumerRequestAcceptanceInterceptor
,ConsumerRequestDefragmenterInterceptor
,ConsumerRequestInteractionSetterInterceptor
,ConsumerResponseAcceptanceInterceptor
,ConsumerSegmentEchoingInterceptor
,ConsumerStringProcessingInterceptor
,ConsumerTracingInterceptor
,MllpAuditInterceptorSupport
,ProducerAdaptingInterceptor
,ProducerAuditInterceptor
,ProducerInPayloadLoggerInterceptor
,ProducerMarshalAndInteractiveResponseReceiverInterceptor
,ProducerMarshalInterceptor
,ProducerOutPayloadLoggerInterceptor
,ProducerRequestAcceptanceInterceptor
,ProducerRequestFragmenterInterceptor
,ProducerResponseAcceptanceInterceptor
,ProducerStringProcessingInterceptor
,ProducerTracingInterceptor
Convenience implementation of
Interceptor
for inheritance- Since:
- 3.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static String
characterSet
(Exchange exchange) Returns character set configured in the given Camel exchange, or, when none found, the system default character set.void
setEndpoint
(Endpoint endpoint) Sets the endpoint that uses this interceptorvoid
setWrappedProcessor
(Processor wrappedProcessor) Lets this interceptor wrap the given processor.Methods inherited from class org.openehealth.ipf.commons.ihe.core.chain.ChainableImpl
addAfter, addBefore, getAfter, getBefore, getId, setId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openehealth.ipf.commons.ihe.core.chain.Chainable
getAfter, getBefore, getId
Methods inherited from interface org.openehealth.ipf.platform.camel.ihe.core.Interceptor
getEndpoint
-
Constructor Details
-
InterceptorSupport
public InterceptorSupport()
-
-
Method Details
-
getWrappedProcessor
- Specified by:
getWrappedProcessor
in interfaceInterceptor
- Returns:
- the processor instance wrapped by this interceptor.
-
setWrappedProcessor
Description copied from interface:Interceptor
Lets this interceptor wrap the given processor.- Specified by:
setWrappedProcessor
in interfaceInterceptor
- Parameters:
wrappedProcessor
- processor instance to be wrapped.
-
getEndpoint
- Specified by:
getEndpoint
in interfaceInterceptor
- Returns:
- the endpoint that uses this interceptor
-
setEndpoint
Description copied from interface:Interceptor
Sets the endpoint that uses this interceptor- Specified by:
setEndpoint
in interfaceInterceptor
- Parameters:
endpoint
- the endpoint that uses this interceptor
-
characterSet
Returns character set configured in the given Camel exchange, or, when none found, the system default character set.- Parameters:
exchange
- Camel exchange.- Returns:
- character set name.
-