public class WebServiceMessageReceiverHttpHandler extends SimpleWebServiceMessageReceiverObjectSupport implements com.sun.net.httpserver.HttpHandler
HttpHandler that can be used to handle incoming HttpExchange service requests. Designed for Sun's JRE
1.6 HTTP server.
Requires a WebServiceMessageFactory which is used to convert the incoming HttpExchange into a WebServiceMessage, and passes that to the WebServiceMessageReceiver registered.
SimpleHttpServerFactoryBeanlogger| Constructor and Description |
|---|
WebServiceMessageReceiverHttpHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(com.sun.net.httpserver.HttpExchange httpExchange) |
void |
setChunkedEncoding(boolean chunkedEncoding)
Enables chunked encoding on response bodies.
|
afterPropertiesSet, getMessageReceiver, handleConnection, setMessageReceivergetMessageFactory, handleConnection, handleNoEndpointFoundException, setMessageFactorypublic WebServiceMessageReceiverHttpHandler()
public void setChunkedEncoding(boolean chunkedEncoding)
false.public void handle(com.sun.net.httpserver.HttpExchange httpExchange)
throws IOException
handle in interface com.sun.net.httpserver.HttpHandlerIOException