Class SkipAdminServiceHandler
- java.lang.Object
-
- org.apache.axis2.handlers.AbstractHandler
-
- org.wso2.carbon.relay.module.handler.SkipAdminServiceHandler
-
- All Implemented Interfaces:
org.apache.axis2.engine.Handler
public class SkipAdminServiceHandler extends org.apache.axis2.handlers.AbstractHandler
This is a protection against the relay to make sure it does not interfere with other things. Basically, this hander will undo the wrapping done by the relay for certain services/patterns.- Author:
- Srinath Perera (srinath@wso2.com)
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADMIN_SERVICE_PARAM_NAME
static String
HIDDEN_SERVICE_PARAM_NAME
-
Constructor Summary
Constructors Constructor Description SkipAdminServiceHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(org.apache.axis2.description.HandlerDescription handlerdesc)
org.apache.axis2.engine.Handler.InvocationResponse
invoke(org.apache.axis2.context.MessageContext msgContext)
boolean
isFilteredOutService(org.apache.axis2.description.AxisService service, RelayConfiguration relConf)
-
-
-
Field Detail
-
ADMIN_SERVICE_PARAM_NAME
public static final String ADMIN_SERVICE_PARAM_NAME
- See Also:
- Constant Field Values
-
HIDDEN_SERVICE_PARAM_NAME
public static final String HIDDEN_SERVICE_PARAM_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
invoke
public org.apache.axis2.engine.Handler.InvocationResponse invoke(org.apache.axis2.context.MessageContext msgContext) throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
-
init
public void init(org.apache.axis2.description.HandlerDescription handlerdesc)
- Specified by:
init
in interfaceorg.apache.axis2.engine.Handler
- Overrides:
init
in classorg.apache.axis2.handlers.AbstractHandler
-
isFilteredOutService
public boolean isFilteredOutService(org.apache.axis2.description.AxisService service, RelayConfiguration relConf)
-
-