final class PortableHttpHandler extends HttpHandler
HttpHandler implementation that serves the actual request.| Modifier and Type | Class and Description |
|---|---|
(package private) class |
PortableHttpHandler.HttpHandlerRunnable
Wrapping the processing of request in a Runnable so that it can be
executed in Executor.
|
| Constructor and Description |
|---|
PortableHttpHandler(HttpAdapter adapter,
Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(HttpExchange msg)
Called by HttpServer when there is a matching request for the context
|
void |
handleExchange(HttpExchange msg) |
public PortableHttpHandler(@NotNull
HttpAdapter adapter,
@Nullable
Executor executor)
public void handle(HttpExchange msg)
handle in class HttpHandlerpublic void handleExchange(HttpExchange msg) throws IOException
IOExceptionCopyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.