ibspan.tss.agents.pra.http
Class UserRequestHandler
java.lang.Object
ibspan.tss.agents.pra.http.UserRequestHandler
- All Implemented Interfaces:
- Runnable
public class UserRequestHandler
- extends Object
- implements Runnable
It is a thread that handles the user request. It parses querystring, creates
ExternalRequest, passes it to the PrA (uses SynchronousController), receives
ExternalResponse, sends the response to the client
- Author:
- Pawel Kaczmarek
Method Summary |
void |
run()
Parse request, create ExternalRequest, receive ExnternalResponse, send it
to the client. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNPROCESSABLE_BY_SYSTEM_URI
public static final String UNPROCESSABLE_BY_SYSTEM_URI
- See Also:
- Constant Field Values
UserRequestHandler
public UserRequestHandler(SynchronousController listener,
Socket socket,
String mediaType)
run
public void run()
- Parse request, create ExternalRequest, receive ExnternalResponse, send it
to the client.
- Specified by:
run
in interface Runnable