|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jason.core.AbstractService | +--jason.core.ThreadableService | +--jason.core.TaskableService | +--jason.core.SocketService | +--jason.core.ProcessableService | +--jason.core.HTTPService | +--jason.service.http1_0.HTTPService
Main class for HTTP. When a client is connected, the HostHandling object is allocated and receives the Socket connection object.
IntHttpCode
,
HostHandling
,
SocketService
,
Serialized FormField Summary | |
static java.lang.String |
TYPE
|
Fields inherited from class jason.core.SocketService |
port, serverSocket, traceRequest |
Fields inherited from class jason.core.ThreadableService |
activeThread |
Fields inherited from class jason.core.AbstractService |
INITIALIZED, name, NOSTATE, serviceContext, STARTED, STOPPED |
Fields inherited from interface jason.service.http1_0.framework.IntHttpCode |
CO_BAD_REQUEST, CO_INTERNAL_SERVER_ERROR, CO_NOT_FOUND, CO_NOT_IMPLEMENTED, CO_OK |
Fields inherited from interface jason.core.Service |
ERROR_MESSAGE, INFORMATION_MESSAGE, VERBOSE_MESSAGE, WARNING_MESSAGE |
Constructor Summary | |
HTTPService()
|
Method Summary | |
protected Task |
getTaskForSocket(java.net.Socket host)
|
void |
start()
Start the service. |
Methods inherited from class jason.core.HTTPService |
getHostRequestFromInputStream |
Methods inherited from class jason.core.ProcessableService |
fireSocketAccept, notifyBadPort, setLoadBalancingMax |
Methods inherited from class jason.core.SocketService |
beforeRun, fireConflictDetected, getSocketTimeout, notifyData, notifyInitReady, run, setBacklog, setSocketTimeout, setTraceRequest |
Methods inherited from class jason.core.TaskableService |
notifyTask |
Methods inherited from class jason.core.ThreadableService |
actionForStart, enableServiceForThread, getThreadLoopDelay, isThreadLoopMode, isThreadStarted, isWaiting, notifyThreadRunning, runThread, setPriority, setThreadLoopDelay, setThreadLoopMode, threadNotify, threadWait |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String TYPE
Constructor Detail |
public HTTPService()
Method Detail |
public void start()
AbstractService
run
method
start
in interface Service
start
in class SocketService
protected Task getTaskForSocket(java.net.Socket host) throws ServiceException
getTaskForSocket
in class HTTPService
ServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |