DEFAULT_HTTP_PORT, DEFAULT_HTTPS_PORT| Modifier and Type | Method and Description |
|---|---|
ApplicationHandler |
getApplicationHandler()
Get the Jersey server-side application handler associated with the container.
|
ResourceConfig |
getConfiguration()
Return an immutable representation of the current
configuration. |
void |
handle(com.sun.net.httpserver.HttpExchange exchange) |
void |
reload()
Reload the hosted Jersey application using the current
configuration. |
void |
reload(ResourceConfig configuration)
Reload the hosted Jersey application using a new
configuration. |
public void handle(com.sun.net.httpserver.HttpExchange exchange)
throws IOException
handle in interface com.sun.net.httpserver.HttpHandlerIOExceptionpublic ResourceConfig getConfiguration()
Containerconfiguration.getConfiguration in interface Containerpublic void reload()
Containerconfiguration.public void reload(ResourceConfig configuration)
Containerconfiguration.public ApplicationHandler getApplicationHandler()
ContainergetApplicationHandler in interface ContainerCopyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.