Package org.somda.sdc.dpws.device.helper
Class RequestResponseServerHttpHandler
-
- All Implemented Interfaces:
-
org.somda.sdc.dpws.http.HttpHandler,org.somda.sdc.dpws.soap.interception.InterceptorHandler
public class RequestResponseServerHttpHandler implements HttpHandler, InterceptorHandler
RequestResponseServer that is invoked on SOAP HttpHandler callbacks.
The handler is an InterceptorHandler. All objects registered via register receive the requests delivered to handle.
-
-
Method Summary
Modifier and Type Method Description voidhandle(InputStream inStream, OutputStream outStream, CommunicationContext communicationContext)Callback that is invoked by HttpServerRegistry whenever a respective context path is matched. voidregister(Interceptor interceptor)Registers a callback object. -
-
Method Detail
-
handle
void handle(InputStream inStream, OutputStream outStream, CommunicationContext communicationContext)
Callback that is invoked by HttpServerRegistry whenever a respective context path is matched.
- Parameters:
inStream- stream of the incoming SOAP request.outStream- stream of the outgoing SOAP response.communicationContext- information from the transport and application layer, e.g., local address, local port, certificate data etc.
-
register
void register(Interceptor interceptor)
Registers a callback object.
- Parameters:
interceptor- an object that possesses MessageInterceptor annotated methods.
-
-
-
-