| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--applications.webServer.HttpRequestHandler
Description of the Class
| Field Summary | |
final static String | DEFAULT_CONTENT_TYPEDescription of the Field |
private Socket | httpSocket |
(package private) static Category | Log |
private WebServer | parentWebServer |
| Fields inherited from class java.lang.Thread |
MIN_PRIORITY, NORM_PRIORITY, MAX_PRIORITY |
| Constructor Summary | |
HttpRequestHandler(Socket httpSocket, WebServer parentWebServer)Constructor for the HttpRequestHandler object | |
| Method Summary | |
protected void | handleGetDirectory(String directoryUri)Description of the Method |
protected void | handleGetFile(String requestedUri)Description of the Method |
protected void | handleMamServletRequest(HttpRequest httpRequest, String servletUri)Description of the Method |
protected void | handleNotFound()Description of the Method |
protected void | handleRequestGet(HttpRequest httpRequest)Description of the Method |
protected void | handleRequestPost(HttpRequest httpRequest)Description of the Method |
void | run()Main processing method for the HttpRequestHandler object |
| Methods inherited from class java.lang.Thread |
currentThread, yield, sleep, sleep, start, stop, stop, interrupt, interrupted, isInterrupted, destroy, isAlive, suspend, resume, setPriority, getPriority, setName, getName, getThreadGroup, activeCount, enumerate, countStackFrames, join, join, join, dumpStack, setDaemon, isDaemon, checkAccess, toString, getContextClassLoader, setContextClassLoader |
| Methods inherited from class java.lang.Object |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize |
| Field Detail |
public final static String DEFAULT_CONTENT_TYPE
private Socket httpSocket
static Category Log
private WebServer parentWebServer
| Constructor Detail |
public HttpRequestHandler(Socket httpSocket, WebServer parentWebServer)
| Method Detail |
protected void handleGetDirectory(String directoryUri)
protected void handleGetFile(String requestedUri)
protected void handleMamServletRequest(HttpRequest httpRequest, String servletUri)
protected void handleNotFound()
protected void handleRequestGet(HttpRequest httpRequest)
protected void handleRequestPost(HttpRequest httpRequest)
public void run()
| Association Links |
to Class java.net.Socket
to Class java.lang.String
to Class org.apache.log4j.Category
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||