public class HttpStack
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LOCAL_RESOURCE_NAME
The resource associated with the local resources behavior.
|
| Constructor and Description |
|---|
HttpStack(int httpPort)
Instantiates a new http stack on the requested port.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doReceiveMessage(Request request) |
RequestHandler |
getRequestHandler() |
boolean |
isWaitingRequest(Request request)
Checks if a thread is waiting for the arrive of a specific response.
|
void |
setRequestHandler(RequestHandler requestHandler) |
public static final java.lang.String LOCAL_RESOURCE_NAME
public HttpStack(int httpPort)
throws java.io.IOException
httpPort - the http portjava.io.IOException - Signals that an I/O exception has occurred.public boolean isWaitingRequest(Request request)
request - the requestpublic void doReceiveMessage(Request request)
public RequestHandler getRequestHandler()
public void setRequestHandler(RequestHandler requestHandler)