public final class ContextRootInfo extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ContextRootInfo.Holder
The interface, which is responsible for holding ContextRootInfo,
which makes possible to initialize ContextRootInfo lazily.
|
Constructor and Description |
---|
ContextRootInfo(ContextRootInfo.Holder holder)
Create ContextRootInfo using passed
ContextRootInfo.Holder object, which
might be initialized lazily. |
ContextRootInfo(org.glassfish.grizzly.http.server.HttpHandler handler,
Object container)
Create ContextRootInfo using prepared
HttpHandler and
application container parameters. |
Modifier and Type | Method and Description |
---|---|
Object |
getContainer()
Gets the application container, associated with the context.
|
org.glassfish.grizzly.http.server.HttpHandler |
getHttpHandler()
Gets the Grizzly
HttpHandler , associated with the context. |
public ContextRootInfo(org.glassfish.grizzly.http.server.HttpHandler handler, Object container)
HttpHandler
and
application container parameters.handler
- Grizzly HttpHandler
, associated with the context.container
- application container, associated with the context.public ContextRootInfo(ContextRootInfo.Holder holder)
ContextRootInfo.Holder
object, which
might be initialized lazily.holder
- context info ContextRootInfo.Holder
.public org.glassfish.grizzly.http.server.HttpHandler getHttpHandler()
HttpHandler
, associated with the context.HttpHandler
, associated with the context.public Object getContainer()
Copyright © 2019. All rights reserved.