Class ContextRootInfo

java.lang.Object
org.glassfish.grizzly.config.ContextRootInfo

public final class ContextRootInfo extends Object
Class represents context-root associated information
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    The interface, which is responsible for holding ContextRootInfo, which makes possible to initialize ContextRootInfo lazily.
  • Constructor Summary

    Constructors
    Constructor
    Description
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the application container, associated with the context.
    org.glassfish.grizzly.http.server.HttpHandler
    Gets the Grizzly HttpHandler, associated with the context.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ContextRootInfo

      public ContextRootInfo(org.glassfish.grizzly.http.server.HttpHandler handler, Object container)
      Create ContextRootInfo using prepared HttpHandler and application container parameters.
      Parameters:
      handler - Grizzly HttpHandler, associated with the context.
      container - application container, associated with the context.
    • ContextRootInfo

      public ContextRootInfo(ContextRootInfo.Holder holder)
      Create ContextRootInfo using passed ContextRootInfo.Holder object, which might be initialized lazily.
      Parameters:
      holder - context info ContextRootInfo.Holder.
  • Method Details

    • getHttpHandler

      public org.glassfish.grizzly.http.server.HttpHandler getHttpHandler()
      Gets the Grizzly HttpHandler, associated with the context.
      Returns:
      the Grizzly HttpHandler, associated with the context.
    • getContainer

      public Object getContainer()
      Gets the application container, associated with the context.
      Returns:
      the application container, associated with the context.