Class GrizzlyHttpContainerProvider

java.lang.Object
org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainerProvider
All Implemented Interfaces:
ContainerProvider

public class GrizzlyHttpContainerProvider extends Object implements ContainerProvider
Container provider for containers based on Grizzly HttpHandler.
Author:
Jakub Podlesak, Marek Potociar
  • Constructor Details

    • GrizzlyHttpContainerProvider

      public GrizzlyHttpContainerProvider()
  • Method Details

    • createContainer

      public <T> T createContainer(Class<T> type, Application application) throws ProcessingException
      Description copied from interface: ContainerProvider
      Create an container of a given type.
      Specified by:
      createContainer in interface ContainerProvider
      Type Parameters:
      T - the type of the container.
      Parameters:
      type - the type of the container.
      application - JAX-RS / Jersey application.
      Returns:
      the container, otherwise null if the provider does not support the requested type.
      Throws:
      ProcessingException - if there is an error creating the container.