com.quadrique.jbuildingblocks.core.io.socket.server
Class JbbConnectionHandlerHttp
java.lang.Object
java.lang.Thread
com.quadrique.jbuildingblocks.core.io.socket.server.JbbConnectionHandler
com.quadrique.jbuildingblocks.core.io.socket.server.JbbConnectionHandlerHttp
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- JbbConnectionHandlerHttpDumpAndEchoReceivedRequest, JbbConnectionHandlerHttpDumpAndEchoReceivedRequestWithContentLength, JbbConnectionHandlerHttpDumpAndEchoReceivedRequestWithContentLengthAndMultiplePartResponse, JbbConnectionHandlerHttpDumpAndEchoReceivedRequestWithMultiplePartResponse
public abstract class JbbConnectionHandlerHttp
- extends JbbConnectionHandler
This is the base class of all the specialized HTTP connection handler.
It provides all the common generic services.
- Version:
- 1.0.0
- Author:
- Hervé Rivere
|
Method Summary |
void |
reportException(Exception zException)
report the given exception to the caller if possible. |
void |
validate()
Determine if the request is valid |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
JbbConnectionHandlerHttp
public JbbConnectionHandlerHttp()
- Constructor
validate
public void validate()
throws Exception
- Determine if the request is valid
- Throws:
Exception
reportException
public void reportException(Exception zException)
- report the given exception to the caller if possible. If not, the exception is dumped on System.out
Copyright © 2001-2008 Quadrique Corporation. All Rights Reserved.