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
-
Field Summary
Fields inherited from class org.springframework.ws.transport.support.WebServiceMessageReceiverObjectSupport
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(com.sun.net.httpserver.HttpExchange httpExchange) void
setChunkedEncoding
(boolean chunkedEncoding) Enables chunked encoding on response bodies.Methods inherited from class org.springframework.ws.transport.support.SimpleWebServiceMessageReceiverObjectSupport
afterPropertiesSet, getMessageReceiver, handleConnection, setMessageReceiver
Methods inherited from class org.springframework.ws.transport.support.WebServiceMessageReceiverObjectSupport
getMessageFactory, handleConnection, handleNoEndpointFoundException, setMessageFactory
-
Constructor Details
-
WebServiceMessageReceiverHttpHandler
public WebServiceMessageReceiverHttpHandler()
-
-
Method Details
-
setChunkedEncoding
public void setChunkedEncoding(boolean chunkedEncoding) Enables chunked encoding on response bodies. Defaults tofalse
. -
handle
- Specified by:
handle
in interfacecom.sun.net.httpserver.HttpHandler
- Throws:
IOException
-