public class GrizzlyContainerProvider extends Object implements ContainerProvider<org.glassfish.grizzly.http.server.HttpHandler>
| Constructor and Description |
|---|
GrizzlyContainerProvider()
Default constructor ensures that HttpRequestProcessor class is loaded.
|
| Modifier and Type | Method and Description |
|---|---|
GrizzlyContainer |
createContainer(Class<org.glassfish.grizzly.http.server.HttpHandler> type,
ResourceConfig resourceConfig,
WebApplication application)
Create an container of type T.
|
public GrizzlyContainerProvider()
public GrizzlyContainer createContainer(Class<org.glassfish.grizzly.http.server.HttpHandler> type, ResourceConfig resourceConfig, WebApplication application) throws ContainerException
The container provider SHOULD NOT initiate the Web application. The container provider MAY modify the resource configuraton.
createContainer in interface ContainerProvider<org.glassfish.grizzly.http.server.HttpHandler>type - the type of the container.resourceConfig - the resource configuration.application - the Web application the container delegates to for
the handling of HTTP requests.type.ContainerException - if there is an error creating the container.Copyright © 2016 Oracle Corporation. All rights reserved.