public class HttpTransportDataInterceptor extends AbstractInterceptor<MessagingContainer> implements MessageInterceptor, Prototype<HttpTransportDataInterceptor>
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparator
Prototype.PrototypingContext
Modifier and Type | Field and Description |
---|---|
static XDIAddress |
XDI_ADD_IP |
DEFAULT_INIT_PRIORITY, DEFAULT_SHUTDOWN_PRIORITY
Constructor and Description |
---|
HttpTransportDataInterceptor() |
Modifier and Type | Method and Description |
---|---|
InterceptorResult |
after(Message message,
ExecutionContext executionContext,
ExecutionResult executionResult)
Run after a message is executed.
|
InterceptorResult |
before(Message message,
ExecutionContext executionContext,
ExecutionResult executionResult)
Run before a message is executed.
|
HttpTransportDataInterceptor |
instanceFor(Prototype.PrototypingContext prototypingContext) |
clearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skip
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skip
public static final XDIAddress XDI_ADD_IP
public HttpTransportDataInterceptor instanceFor(Prototype.PrototypingContext prototypingContext) throws Xdi2MessagingException
instanceFor
in interface Prototype<HttpTransportDataInterceptor>
Xdi2MessagingException
public InterceptorResult before(Message message, ExecutionContext executionContext, ExecutionResult executionResult) throws Xdi2MessagingException
MessageInterceptor
before
in interface MessageInterceptor
message
- The message to process.executionContext
- The current execution context.executionResult
- The execution result.Xdi2MessagingException
public InterceptorResult after(Message message, ExecutionContext executionContext, ExecutionResult executionResult) throws Xdi2MessagingException
MessageInterceptor
after
in interface MessageInterceptor
message
- The message to process.executionContext
- The current execution context.executionResult
- The execution result.Xdi2MessagingException
Copyright © 2017. All rights reserved.