Class GrizzlyHttpContainerProvider
java.lang.Object
org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainerProvider
- All Implemented Interfaces:
ContainerProvider
Container provider for containers based on Grizzly
HttpHandler.- Author:
- Jakub Podlesak, Marek Potociar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TcreateContainer(Class<T> type, Application application) Create an container of a given type.
-
Constructor Details
-
GrizzlyHttpContainerProvider
public GrizzlyHttpContainerProvider()
-
-
Method Details
-
createContainer
Description copied from interface:ContainerProviderCreate an container of a given type.- Specified by:
createContainerin interfaceContainerProvider- Type Parameters:
T- the type of the container.- Parameters:
type- the type of the container.application- JAX-RS / Jersey application.- Returns:
- the container, otherwise
nullif the provider does not support the requestedtype. - Throws:
ProcessingException- if there is an error creating the container.
-