Package org.glassfish.jersey.jdkhttp
Class JdkHttpHandlerContainerProvider
java.lang.Object
org.glassfish.jersey.jdkhttp.JdkHttpHandlerContainerProvider
- All Implemented Interfaces:
ContainerProvider
Container provider for containers based on lightweight Java SE HTTP Server's
HttpHandler.- Author:
- Miroslav Fuksa
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TcreateContainer(Class<T> type, Application application) Create an container of a given type.
-
Constructor Details
-
JdkHttpHandlerContainerProvider
public JdkHttpHandlerContainerProvider()
-
-
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.
-