com.sun.jersey.server.impl.container.httpserver
Class HttpHandlerContainerProvider
java.lang.Object
com.sun.jersey.server.impl.container.httpserver.HttpHandlerContainerProvider
- All Implemented Interfaces:
- ContainerProvider<com.sun.net.httpserver.HttpHandler>
public final class HttpHandlerContainerProvider
- extends Object
- implements ContainerProvider<com.sun.net.httpserver.HttpHandler>
HTTP handler container provider.
- Author:
- Paul.Sandoz@Sun.Com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpHandlerContainerProvider
public HttpHandlerContainerProvider()
createContainer
public com.sun.net.httpserver.HttpHandler createContainer(Class<com.sun.net.httpserver.HttpHandler> type,
ResourceConfig resourceConfig,
WebApplication application)
throws ContainerException
- Description copied from interface:
ContainerProvider
- Create an container of type T.
The container provider SHOULD NOT initiate the Web application. The container
provider MAY modify the resource configuraton.
- Specified by:
createContainer
in interface ContainerProvider<com.sun.net.httpserver.HttpHandler>
- Parameters:
type
- the type of the container.resourceConfig
- the resource configuration.application
- the Web application the container delegates to for
the handling of HTTP requests.
- Returns:
- the container, otherwise null if the provider does not support
the requested
type
.
- Throws:
ContainerException
- if there is an error creating the container.
Copyright © 2013 Oracle Corporation. All Rights Reserved.