public interface StreamInterceptor
Modifier and Type | Method and Description |
---|---|
void |
addProperty(java.lang.String name,
java.lang.Object value)
Add an interceptor property
|
java.util.Map |
getProperties()
Get all interceptor properties
|
boolean |
interceptSourceRequest(org.apache.axis2.context.MessageContext axisCtx)
Logic to determine whether to intercept the source request
|
boolean |
interceptSourceResponse(org.apache.axis2.context.MessageContext axisCtx)
Logic to determine whether to intercept the source response
|
boolean |
interceptTargetRequest(org.apache.axis2.context.MessageContext axisCtx)
Logic to determine whether to intercept the target request
|
boolean |
interceptTargetResponse(org.apache.axis2.context.MessageContext axisCtx)
Logic to determine whether to intercept the target response
|
boolean |
sourceRequest(java.nio.ByteBuffer buffer,
org.apache.axis2.context.MessageContext axisCtx)
Handles the request data coming in to the engine from the client
|
void |
sourceResponse(java.nio.ByteBuffer buffer,
org.apache.axis2.context.MessageContext axisCtx)
Handles the response data leaving out of the engine
|
void |
targetRequest(java.nio.ByteBuffer buffer,
org.apache.axis2.context.MessageContext axisCtx)
Handles the request data leaving out of the engine
|
boolean |
targetResponse(java.nio.ByteBuffer buffer,
org.apache.axis2.context.MessageContext axisCtx)
Handles the response data coming in to the engine from the back end
|
boolean interceptSourceRequest(org.apache.axis2.context.MessageContext axisCtx)
axisCtx
- associated axis2MsgCtx of the requestboolean sourceRequest(java.nio.ByteBuffer buffer, org.apache.axis2.context.MessageContext axisCtx)
buffer
- copy of data entering inaxisCtx
- associated axis2MsgCtxboolean interceptTargetRequest(org.apache.axis2.context.MessageContext axisCtx)
axisCtx
- associated axis2MsgCtx of the requestvoid targetRequest(java.nio.ByteBuffer buffer, org.apache.axis2.context.MessageContext axisCtx)
buffer
- copy of data being send outaxisCtx
- associated axis2MsgCtxboolean interceptTargetResponse(org.apache.axis2.context.MessageContext axisCtx)
axisCtx
- associated axis2MsgCtx of the responseboolean targetResponse(java.nio.ByteBuffer buffer, org.apache.axis2.context.MessageContext axisCtx)
buffer
- copy of data entering inaxisCtx
- associated axis2MsgCtxboolean interceptSourceResponse(org.apache.axis2.context.MessageContext axisCtx)
axisCtx
- associated axis2MsgCtx of the responsevoid sourceResponse(java.nio.ByteBuffer buffer, org.apache.axis2.context.MessageContext axisCtx)
buffer
- copy of data leavingaxisCtx
- associated axis2MsgCtxvoid addProperty(java.lang.String name, java.lang.Object value)
name
- property namevalue
- property valuejava.util.Map getProperties()
Copyright © 2005-2021 Apache Software Foundation. All Rights Reserved.