Package org.glassfish.jersey.jdkhttp
Class JdkHttpHandlerContainer
- java.lang.Object
-
- org.glassfish.jersey.jdkhttp.JdkHttpHandlerContainer
-
- All Implemented Interfaces:
HttpHandler,Container
public class JdkHttpHandlerContainer extends Object implements HttpHandler, Container
JerseyContainerimplementation based on Java SEHttpServer.- Author:
- Miroslav Fuksa, Marek Potociar
-
-
Field Summary
-
Fields inherited from interface org.glassfish.jersey.server.spi.Container
DEFAULT_HTTP_PORT, DEFAULT_HTTPS_PORT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationHandlergetApplicationHandler()ResourceConfiggetConfiguration()voidhandle(HttpExchange exchange)voidreload()voidreload(ResourceConfig configuration)
-
-
-
Method Detail
-
handle
public void handle(HttpExchange exchange) throws IOException
- Specified by:
handlein interfaceHttpHandler- Throws:
IOException
-
getConfiguration
public ResourceConfig getConfiguration()
- Specified by:
getConfigurationin interfaceContainer
-
reload
public void reload(ResourceConfig configuration)
-
getApplicationHandler
public ApplicationHandler getApplicationHandler()
- Specified by:
getApplicationHandlerin interfaceContainer
-
-