org.springframework.ws.transport.http
Class WebServiceMessageReceiverHttpHandler
java.lang.Object
org.springframework.ws.transport.support.WebServiceMessageReceiverObjectSupport
org.springframework.ws.transport.support.SimpleWebServiceMessageReceiverObjectSupport
org.springframework.ws.transport.http.WebServiceMessageReceiverHttpHandler
- All Implemented Interfaces:
- com.sun.net.httpserver.HttpHandler, org.springframework.beans.factory.InitializingBean
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
.
- Since:
- 1.5.0
- Author:
- Arjen Poutsma
- See Also:
org.springframework.remoting.support.SimpleHttpServerFactoryBean
Method Summary |
void |
handle(com.sun.net.httpserver.HttpExchange httpExchange)
|
void |
setChunkedEncoding(boolean chunkedEncoding)
Enables chunked encoding on response bodies. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebServiceMessageReceiverHttpHandler
public WebServiceMessageReceiverHttpHandler()
setChunkedEncoding
public void setChunkedEncoding(boolean chunkedEncoding)
- Enables chunked encoding on response bodies. Defaults to
false
.
handle
public void handle(com.sun.net.httpserver.HttpExchange httpExchange)
throws IOException
- Specified by:
handle
in interface com.sun.net.httpserver.HttpHandler
- Throws:
IOException
Copyright © 2013 The Spring Web Services Framework. All Rights Reserved.