Class 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
  • Constructor Details

    • WebServiceMessageReceiverHttpHandler

      public WebServiceMessageReceiverHttpHandler()
  • Method Details

    • 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