com.sun.jersey.server.impl.container.httpserver
Class HttpHandlerContainer

java.lang.Object
  extended by com.sun.jersey.server.impl.container.httpserver.HttpHandlerContainer
All Implemented Interfaces:
ContainerListener, ReloadListener, com.sun.net.httpserver.HttpHandler

public class HttpHandlerContainer
extends java.lang.Object
implements com.sun.net.httpserver.HttpHandler, ContainerListener

A HttpHandler for a WebApplicationImpl.

Author:
[email protected]

Constructor Summary
HttpHandlerContainer(WebApplication app)
           
 
Method Summary
 void handle(com.sun.net.httpserver.HttpExchange exchange)
           
 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
 

Constructor Detail

HttpHandlerContainer

public HttpHandlerContainer(WebApplication app)
                     throws ContainerException
Throws:
ContainerException
Method Detail

handle

public void handle(com.sun.net.httpserver.HttpExchange exchange)
            throws java.io.IOException
Specified by:
handle in interface com.sun.net.httpserver.HttpHandler
Throws:
java.io.IOException

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.