|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpRequestDispatcher
Implementations of this interface may choose to handle compressed responses
by adding an Accept-Encoding header to the request sent to the server, and by
ensuring that the InputStream returned by dispatch(HttpRequest)
has
been inflated.
Thread safety: any general-purpose implementation of this interface must be safe for use by multiple concurrent threads. However, thread safety is not necessary if you're making your own implementation and can be sure that any code that uses it (including any code that uses a RequestProcessor
that uses it) will only be called from a single thread.
Method Summary | |
---|---|
HttpResponseStream |
dispatch(HttpRequest request)
Calling code is responsible for closing the stream that this returns. |
Method Detail |
---|
HttpResponseStream dispatch(HttpRequest request) throws TransportException
TransportException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |