public class JdkHttpHandlerContainer extends Object implements com.sun.net.httpserver.HttpHandler, Container
Container implementation based on Java SE HttpServer.DEFAULT_HTTP_PORT, DEFAULT_HTTPS_PORT| Modifier and Type | Method and Description |
|---|---|
ApplicationHandler |
getApplicationHandler() |
ResourceConfig |
getConfiguration() |
void |
handle(com.sun.net.httpserver.HttpExchange exchange) |
void |
reload() |
void |
reload(ResourceConfig configuration) |
public void handle(com.sun.net.httpserver.HttpExchange exchange)
throws IOException
handle in interface com.sun.net.httpserver.HttpHandlerIOExceptionpublic ResourceConfig getConfiguration()
getConfiguration in interface Containerpublic void reload(ResourceConfig configuration)
public ApplicationHandler getApplicationHandler()
getApplicationHandler in interface ContainerCopyright © 2007-2016, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.