@Contract @ConstrainedTo(value=SERVER) public interface Container
ApplicationHandler
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_HTTP_PORT
Default container port number for HTTP protocol.
|
static int |
DEFAULT_HTTPS_PORT
Default container port number for HTTPS protocol.
|
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 |
reload()
Reload the hosted Jersey application using the current
configuration . |
void |
reload(ResourceConfig configuration)
Reload the hosted Jersey application using a new
configuration . |
static final int DEFAULT_HTTP_PORT
static final int DEFAULT_HTTPS_PORT
ResourceConfig getConfiguration()
configuration
.ApplicationHandler getApplicationHandler()
void reload()
configuration
.void reload(ResourceConfig configuration)
configuration
.configuration
- new configuration used for the reload.Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.