com.sun.jersey.simple.impl.container
Class SimpleContainer
java.lang.Object
com.sun.jersey.simple.impl.container.SimpleContainer
- All Implemented Interfaces:
- ContainerListener, ReloadListener, org.simpleframework.http.core.Container
public final class SimpleContainer
- extends Object
- implements org.simpleframework.http.core.Container, ContainerListener
This is the container that handles all HTTP requests. Requests are adapted
for the enclosed WebApplication
instances. This container can
service both HTTP and HTTPS traffic transparently, when created using the
factory methods of com.sun.jersey.api.simple.container.SimpleServerFactory
or when instantiating it and making a direct connection to the container.
- Author:
- Marc.Hadley@Sun.Com
Method Summary |
void |
handle(org.simpleframework.http.Request request,
org.simpleframework.http.Response response)
|
void |
onReload()
Called when reloading of the container is requested. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleContainer
public SimpleContainer(WebApplication application)
throws ContainerException
- Throws:
ContainerException
handle
public void handle(org.simpleframework.http.Request request,
org.simpleframework.http.Response response)
- Specified by:
handle
in interface org.simpleframework.http.core.Container
onReload
public void onReload()
- Description copied from interface:
ContainerListener
- Called when reloading of the container is requested.
- Specified by:
onReload
in interface ContainerListener
- Specified by:
onReload
in interface ReloadListener
Copyright © 2013 Oracle Corporation. All Rights Reserved.