org.glassfish.jersey.jdkhttp
Class JdkHttpHandlerContainer

java.lang.Object
  extended by org.glassfish.jersey.jdkhttp.JdkHttpHandlerContainer
All Implemented Interfaces:
com.sun.net.httpserver.HttpHandler, Container

public class JdkHttpHandlerContainer
extends Object
implements com.sun.net.httpserver.HttpHandler, Container

Container adapter between JDK HttpServer and Jersey application.

Author:
Miroslav Fuksa (miroslav.fuksa at oracle.com)

Method Summary
 ResourceConfig getConfiguration()
           
 void handle(com.sun.net.httpserver.HttpExchange exchange)
           
 void reload()
           
 void reload(ResourceConfig configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

handle

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

getConfiguration

public ResourceConfig getConfiguration()
Specified by:
getConfiguration in interface Container

reload

public void reload()
Specified by:
reload in interface Container

reload

public void reload(ResourceConfig configuration)
Specified by:
reload in interface Container


Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.