Interface HttpGetRequestProcessor
-
- All Known Implementing Classes:
DefaultHttpGetProcessor
public interface HttpGetRequestProcessorThis 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinit(org.apache.axis2.context.ConfigurationContext cfgCtx, ServerHandler serverHandler)Initialize the HttpGetProcessorvoidprocess(org.apache.http.HttpRequest request, org.apache.http.HttpResponse response, org.apache.axis2.context.MessageContext msgContext, org.apache.http.nio.NHttpServerConnection conn, OutputStream os, boolean isRestDispatching)Process the HTTP GET request.
-
-
-
Method Detail
-
init
void init(org.apache.axis2.context.ConfigurationContext cfgCtx, ServerHandler serverHandler) throws org.apache.axis2.AxisFaultInitialize the HttpGetProcessor- Parameters:
cfgCtx- servers configuration contextserverHandler- dispatching handler- Throws:
org.apache.axis2.AxisFault- if an error occurs
-
process
void process(org.apache.http.HttpRequest request, org.apache.http.HttpResponse response, org.apache.axis2.context.MessageContext msgContext, org.apache.http.nio.NHttpServerConnection conn, OutputStream os, boolean isRestDispatching)Process the HTTP GET request.- Parameters:
request- The HttpRequestresponse- The HttpResponsemsgContext- The MessageContextconn- The NHttpServerConnectionos- The OutputStreamisRestDispatching- Rest dispatching
-
-