Package org.glassfish.jersey.jetty
Class JettyHttpContainerProvider
java.lang.Object
org.glassfish.jersey.jetty.JettyHttpContainerProvider
- All Implemented Interfaces:
ContainerProvider
Container provider for containers based on Jetty Server
Handler
.- Author:
- Arul Dhesiaseelan (aruld@acm.org), Marek Potociar
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
createContainer
(Class<T> type, Application application) Create an container of a given type.<T> T
createContainer
(Class<T> type, Application application, Object parentContext)
-
Field Details
-
HANDLER_NAME
- See Also:
-
-
Constructor Details
-
JettyHttpContainerProvider
public JettyHttpContainerProvider()
-
-
Method Details
-
createContainer
Description copied from interface:ContainerProvider
Create an container of a given type.- Specified by:
createContainer
in 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
null
if the provider does not support the requestedtype
. - Throws:
ProcessingException
- if there is an error creating the container.
-
createContainer
public <T> T createContainer(Class<T> type, Application application, Object parentContext) throws ProcessingException - Throws:
ProcessingException
-