com.quadrique.jbuildingblocks.core.io.socket.server
Class JbbConnectionHandlerHttp

java.lang.Object
  extended by java.lang.Thread
      extended by com.quadrique.jbuildingblocks.core.io.socket.server.JbbConnectionHandler
          extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
JbbConnectionHandlerHttp()
          Constructor
 
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 com.quadrique.jbuildingblocks.core.io.socket.server.JbbConnectionHandler
processRequest, run, stopExecution
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JbbConnectionHandlerHttp

public JbbConnectionHandlerHttp()
Constructor

Method Detail

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.