public abstract class AbstractHttpHandler extends java.lang.Object implements HttpHandler
| Constructor and Description |
|---|
AbstractHttpHandler() |
| Modifier and Type | Method and Description |
|---|---|
HttpContext |
getHttpContext() |
java.lang.String |
getName()
Get the name of the handler.
|
void |
handleTrace(HttpRequest request,
HttpResponse response) |
void |
initialize(HttpContext context)
Initialize with a HttpContext.
|
boolean |
isStarted() |
void |
setName(java.lang.String name) |
void |
start()
Start the LifeCycle.
|
void |
stop()
Stop the LifeCycle.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithandlepublic void setName(java.lang.String name)
public java.lang.String getName()
HttpHandlergetName in interface HttpHandlerpublic HttpContext getHttpContext()
getHttpContext in interface HttpHandlerpublic void initialize(HttpContext context)
initialize in interface HttpHandlercontext - Must be the HttpContext of the handlerpublic void start()
throws java.lang.Exception
LifeCyclepublic void stop()
throws java.lang.InterruptedException
LifeCyclepublic boolean isStarted()
public java.lang.String toString()
toString in class java.lang.Objectpublic void handleTrace(HttpRequest request, HttpResponse response) throws java.io.IOException
java.io.IOExceptionCopyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.