Spring Web Services Framework

org.springframework.ws.transport.http
Class WebServiceMessageReceiverHttpHandler

java.lang.Object
  extended by org.springframework.ws.transport.support.WebServiceMessageReceiverObjectSupport
      extended by org.springframework.ws.transport.support.SimpleWebServiceMessageReceiverObjectSupport
          extended by org.springframework.ws.transport.http.WebServiceMessageReceiverHttpHandler
All Implemented Interfaces:
HttpHandler, InitializingBean

public class WebServiceMessageReceiverHttpHandler
extends SimpleWebServiceMessageReceiverObjectSupport
implements 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:
SimpleHttpServerFactoryBean

Field Summary
 
Fields inherited from class org.springframework.ws.transport.support.WebServiceMessageReceiverObjectSupport
logger
 
Constructor Summary
WebServiceMessageReceiverHttpHandler()
           
 
Method Summary
 void handle(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, setMessageFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServiceMessageReceiverHttpHandler

public WebServiceMessageReceiverHttpHandler()
Method Detail

setChunkedEncoding

public void setChunkedEncoding(boolean chunkedEncoding)
Enables chunked encoding on response bodies. Defaults to false.


handle

public void handle(HttpExchange httpExchange)
            throws IOException
Specified by:
handle in interface HttpHandler
Throws:
IOException

Spring Web Services Framework

Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.