Class GrizzlyHttpContainer

java.lang.Object
org.glassfish.grizzly.http.server.HttpHandler
org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer
All Implemented Interfaces:
Container

public final class GrizzlyHttpContainer extends org.glassfish.grizzly.http.server.HttpHandler implements Container
Jersey Container implementation based on Grizzly HttpHandler.
Author:
Jakub Podlesak, Libor Kramolis, Marek Potociar
  • Method Details

    • start

      public void start()
      Overrides:
      start in class org.glassfish.grizzly.http.server.HttpHandler
    • service

      public void service(org.glassfish.grizzly.http.server.Request request, org.glassfish.grizzly.http.server.Response response)
      Specified by:
      service in class org.glassfish.grizzly.http.server.HttpHandler
    • getConfiguration

      public ResourceConfig getConfiguration()
      Description copied from interface: Container
      Return an immutable representation of the current configuration.
      Specified by:
      getConfiguration in interface Container
      Returns:
      current configuration of the hosted Jersey application.
    • reload

      public void reload()
      Description copied from interface: Container
      Reload the hosted Jersey application using the current configuration.
      Specified by:
      reload in interface Container
    • reload

      public void reload(ResourceConfig configuration)
      Description copied from interface: Container
      Reload the hosted Jersey application using a new configuration.
      Specified by:
      reload in interface Container
      Parameters:
      configuration - new configuration used for the reload.
    • getApplicationHandler

      public ApplicationHandler getApplicationHandler()
      Description copied from interface: Container
      Get the Jersey server-side application handler associated with the container.
      Specified by:
      getApplicationHandler in interface Container
      Returns:
      Jersey server-side application handler associated with the container.
    • destroy

      public void destroy()
      Overrides:
      destroy in class org.glassfish.grizzly.http.server.HttpHandler