public interface IRequestHandler
Modifier and Type | Method and Description |
---|---|
void |
initialize(int configXml,
IXSLTStore connector,
IMethodConfiguration method,
XPathMetaInfo xmi)
Initializes this handler.
|
HttpMethod |
process(int requestNode,
IServerConnection connection,
HttpClient httpClient)
Converts the request XML in HTTP method which can be sent using the HTTP connection.
|
void initialize(int configXml, IXSLTStore connector, IMethodConfiguration method, XPathMetaInfo xmi) throws HandlerException
configXml
- Handler configuration XML from the method configuration.connector
- HTTP Connector instance.method
- MethodConfiguration to which this handler belongs to.xmi
- The XPathMetaInfo object containing the prefix ns mapped to the proper namespace.HandlerException
- In case of any exceptions.HttpMethod process(int requestNode, IServerConnection connection, HttpClient httpClient) throws HandlerException
requestNode
- Request XML root node.connection
- Current connection.httpClient
- HTTP client instance.HandlerException
- Thrown if the operation failed.