| Package | Description |
|---|---|
| com.sun.enterprise.web | |
| org.glassfish.embeddable.web |
Provides classes and interfaces necessary to programmatically configure embedded WebContainer
and create contexts, virtual servers, and web listeners.
|
| org.glassfish.web.embed.impl |
| Modifier and Type | Method and Description |
|---|---|
Collection<WebListener> |
VirtualServer.getWebListeners()
Gets the collection of WebListener instances from which this VirtualServer receives requests.
|
Collection<WebListener> |
VirtualServerFacade.getWebListeners()
Gets the collection of WebListener instances from which
this VirtualServer receives requests.
|
| Modifier and Type | Method and Description |
|---|---|
void |
VirtualServer.setWebListeners(WebListener... webListeners)
Sets the collection of WebListener instances from which this VirtualServer receives requests.
|
void |
VirtualServerFacade.setWebListeners(WebListener... webListeners)
Sets the collection of WebListener instances from which
this VirtualServer receives requests.
|
| Constructor and Description |
|---|
VirtualServerFacade(String id,
File docRoot,
WebListener... webListeners) |
| Modifier and Type | Class and Description |
|---|---|
class |
AjpListener
Listener which listens via AJP protocol.
|
class |
HttpListener
HTTP Listener listens on a TCP port for incoming HTTP connection.
|
class |
HttpsListener
HTTPS Listener which listens on a protocol that is secured.
|
class |
WebListenerBase
Base implementation of the WebListener interface
|
| Modifier and Type | Method and Description |
|---|---|
<T extends WebListener> |
WebContainer.createWebListener(String id,
Class<T> c)
Creates a WebListener from the given class type and
assigns the given id to it.
|
| Modifier and Type | Method and Description |
|---|---|
WebListener |
WebContainer.getWebListener(String id)
Finds the WebListener with the given id.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<WebListener> |
VirtualServer.getWebListeners()
Gets the collection of WebListener instances from which
this VirtualServer receives requests.
|
Collection<WebListener> |
WebContainer.getWebListeners()
Gets the collection of WebListener instances registered
with this WebContainer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WebContainer.addWebListener(WebListener webListener)
Adds the given WebListener to this
WebContainer.
|
VirtualServer |
WebContainer.createVirtualServer(String id,
File docRoot,
WebListener... webListeners)
Creates a VirtualServer with the given id and docroot, and
maps it to the given WebListener instances.
|
void |
WebContainer.removeWebListener(WebListener webListener)
Stops the given webListener and removes it from this
WebContainer.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends WebListener> |
WebContainerImpl.createWebListener(String id,
Class<T> c)
Creates a WebListener from the given class type and
assigns the given id to it.
|
| Modifier and Type | Method and Description |
|---|---|
WebListener |
WebContainerImpl.getWebListener(String id)
Finds the WebListener with the given id.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<WebListener> |
WebContainerImpl.getWebListeners()
Gets the collection of WebListener instances registered
with this WebContainer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WebContainerImpl.addWebListener(WebListener webListener)
Adds the given WebListener to this
WebContainer.
|
VirtualServer |
WebContainerImpl.createVirtualServer(String id,
File docRoot,
WebListener... webListeners)
Creates a VirtualServer with the given id and docroot, and
maps it to the given WebListener instances.
|
void |
WebContainerImpl.removeWebListener(WebListener webListener)
Stops the given webListener and removes it from this
WebContainer.
|
Copyright © 2019. All rights reserved.