public class GrizzlyHttpContainerProvider extends Object implements ContainerProvider
HttpHandler
.Constructor and Description |
---|
GrizzlyHttpContainerProvider() |
Modifier and Type | Method and Description |
---|---|
<T> T |
createContainer(Class<T> type,
javax.ws.rs.core.Application application)
Create an container of a given type.
|
public <T> T createContainer(Class<T> type, javax.ws.rs.core.Application application) throws javax.ws.rs.ProcessingException
ContainerProvider
createContainer
in interface ContainerProvider
T
- the type of the container.type
- the type of the container.application
- JAX-RS / Jersey application.null
if the provider does not support the requested type
.javax.ws.rs.ProcessingException
- if there is an error creating the container.Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.