Class JdkHttpHandlerContainer
java.lang.Object
org.glassfish.jersey.jdkhttp.JdkHttpHandlerContainer
- All Implemented Interfaces:
com.sun.net.httpserver.HttpHandler, Container
-
Field Summary
Fields inherited from interface Container
DEFAULT_HTTP_PORT, DEFAULT_HTTPS_PORT -
Method Summary
Modifier and TypeMethodDescriptionGet the Jersey server-side application handler associated with the container.Return an immutable representation of the currentconfiguration.voidhandle(com.sun.net.httpserver.HttpExchange exchange) voidreload()Reload the hosted Jersey application using the currentconfiguration.voidreload(ResourceConfig configuration) Reload the hosted Jersey application using a newconfiguration.
-
Method Details
-
handle
- Specified by:
handlein interfacecom.sun.net.httpserver.HttpHandler- Throws:
IOException
-
getConfiguration
Description copied from interface:ContainerReturn an immutable representation of the currentconfiguration.- Specified by:
getConfigurationin interfaceContainer- Returns:
- current configuration of the hosted Jersey application.
-
reload
public void reload()Description copied from interface:ContainerReload the hosted Jersey application using the currentconfiguration. -
reload
Description copied from interface:ContainerReload the hosted Jersey application using a newconfiguration. -
getApplicationHandler
Description copied from interface:ContainerGet the Jersey server-side application handler associated with the container.- Specified by:
getApplicationHandlerin interfaceContainer- Returns:
- Jersey server-side application handler associated with the container.
-