public interface IHTTPLocalServer
| Modifier and Type | Method and Description |
|---|---|
boolean |
processRequest(int id,
IHTTPProxyConnection connection,
IHTTPRequestMessage request,
IHTTPProxyTranscoder transcoder)
Check if the request is target of this implementation.
|
boolean processRequest(int id,
IHTTPProxyConnection connection,
IHTTPRequestMessage request,
IHTTPProxyTranscoder transcoder)
throws InterruptedException,
IOException
IHTTPResponseMessage and return it
by using sendResponse method of IHTTPProxyConnection. Further
process of the proxy will be canceled.id - id of requestconnection - target IHTTPProxyConnectionrequest - target IHTTPRequestMessagetranscoder - transcoder set to the proxy. Local server may use this
transcoder to process the resulting message.IHTTPLocalServer
implementationInterruptedExceptionIOException