Interface HttpGetRequestProcessor
public interface HttpGetRequestProcessor
This HTTP transport level interface is used for plugging in different implementations for special processing of some
HTTP GET requests.
e.g. ?wsdl, ?wsdl2 etc.
If you need to handle a special HTTP GET request, you have to write an implementation of this
interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoidinit(org.apache.axis2.context.ConfigurationContext cfgCtx) Initialize the HttpGetRequestProcessor.voidprocess(org.wso2.transport.http.netty.message.HttpCarbonMessage inboundCarbonMsg, org.apache.axis2.context.MessageContext messageContext, boolean isRestDispatching) Process the HTTP GET request.
-
Method Details
-
init
void init(org.apache.axis2.context.ConfigurationContext cfgCtx) throws org.apache.axis2.AxisFault Initialize the HttpGetRequestProcessor.- Parameters:
cfgCtx- servers configuration context- Throws:
org.apache.axis2.AxisFault- if an error occurs
-
process
void process(org.wso2.transport.http.netty.message.HttpCarbonMessage inboundCarbonMsg, org.apache.axis2.context.MessageContext messageContext, boolean isRestDispatching) Process the HTTP GET request.- Parameters:
inboundCarbonMsg- inbound HttpCarbonMessagemessageContext- The MessageContextisRestDispatching- Rest dispatching
-