Package org.glassfish.grizzly.config
Class ContextRootInfo
java.lang.Object
org.glassfish.grizzly.config.ContextRootInfo
Class represents context-root associated information
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe interface, which is responsible for holding ContextRootInfo, which makes possible to initialize ContextRootInfo lazily. -
Constructor Summary
ConstructorsConstructorDescriptionCreate ContextRootInfo using passedContextRootInfo.Holderobject, which might be initialized lazily.ContextRootInfo(org.glassfish.grizzly.http.server.HttpHandler handler, Object container) Create ContextRootInfo using preparedHttpHandlerand application container parameters. -
Method Summary
Modifier and TypeMethodDescriptionGets the application container, associated with the context.org.glassfish.grizzly.http.server.HttpHandlerGets the GrizzlyHttpHandler, associated with the context.
-
Constructor Details
-
ContextRootInfo
Create ContextRootInfo using preparedHttpHandlerand application container parameters.- Parameters:
handler- GrizzlyHttpHandler, associated with the context.container- application container, associated with the context.
-
ContextRootInfo
Create ContextRootInfo using passedContextRootInfo.Holderobject, which might be initialized lazily.- Parameters:
holder- context infoContextRootInfo.Holder.
-
-
Method Details
-
getHttpHandler
public org.glassfish.grizzly.http.server.HttpHandler getHttpHandler()Gets the GrizzlyHttpHandler, associated with the context.- Returns:
- the Grizzly
HttpHandler, associated with the context.
-
getContainer
Gets the application container, associated with the context.- Returns:
- the application container, associated with the context.
-