com.sun.xml.ws.transport.http.server
Class PortableHttpHandler

java.lang.Object
  extended by javax.xml.ws.spi.http.HttpHandler
      extended by com.sun.xml.ws.transport.http.server.PortableHttpHandler

final class PortableHttpHandler
extends HttpHandler

HttpHandler implementation that serves the actual request.


Nested Class Summary
(package private)  class PortableHttpHandler.HttpHandlerRunnable
          Wrapping the processing of request in a Runnable so that it can be executed in Executor.
 
Constructor Summary
PortableHttpHandler(HttpAdapter adapter, Executor executor)
           
 
Method Summary
 void handle(HttpExchange msg)
          Called by HttpServer when there is a matching request for the context
 void handleExchange(HttpExchange msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortableHttpHandler

public PortableHttpHandler(@NotNull
                           HttpAdapter adapter,
                           @Nullable
                           Executor executor)
Method Detail

handle

public void handle(HttpExchange msg)
Called by HttpServer when there is a matching request for the context

Specified by:
handle in class HttpHandler

handleExchange

public void handleExchange(HttpExchange msg)
                    throws IOException
Throws:
IOException


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.