org.eclipse.jetty.http.spi
Class JettyHttpServer
java.lang.Object
com.sun.net.httpserver.HttpServer
org.eclipse.jetty.http.spi.JettyHttpServer
public class JettyHttpServer
- extends com.sun.net.httpserver.HttpServer
Jetty implementation of HttpServer
.
Methods inherited from class com.sun.net.httpserver.HttpServer |
create, create |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JettyHttpServer
public JettyHttpServer(Server server,
boolean shared)
bind
public void bind(InetSocketAddress addr,
int backlog)
throws IOException
- Specified by:
bind
in class com.sun.net.httpserver.HttpServer
- Throws:
IOException
getAddress
public InetSocketAddress getAddress()
- Specified by:
getAddress
in class com.sun.net.httpserver.HttpServer
start
public void start()
- Specified by:
start
in class com.sun.net.httpserver.HttpServer
setExecutor
public void setExecutor(Executor executor)
- Specified by:
setExecutor
in class com.sun.net.httpserver.HttpServer
getExecutor
public Executor getExecutor()
- Specified by:
getExecutor
in class com.sun.net.httpserver.HttpServer
stop
public void stop(int delay)
- Specified by:
stop
in class com.sun.net.httpserver.HttpServer
createContext
public com.sun.net.httpserver.HttpContext createContext(String path,
com.sun.net.httpserver.HttpHandler httpHandler)
- Specified by:
createContext
in class com.sun.net.httpserver.HttpServer
createContext
public com.sun.net.httpserver.HttpContext createContext(String path)
- Specified by:
createContext
in class com.sun.net.httpserver.HttpServer
removeContext
public void removeContext(String path)
throws IllegalArgumentException
- Specified by:
removeContext
in class com.sun.net.httpserver.HttpServer
- Throws:
IllegalArgumentException
removeContext
public void removeContext(com.sun.net.httpserver.HttpContext context)
- Specified by:
removeContext
in class com.sun.net.httpserver.HttpServer
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.