|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommunicationHandler
Method Summary | |
---|---|
void |
closeTcpConnection()
Closes the underlying TCP connection. |
InputStream |
doRequest(InputStream is)
Use HTTP post to send the request. |
void |
setGzip(boolean gzip)
Set to true if gzip should be used for the communication. |
boolean |
usesGzip()
|
Method Detail |
---|
InputStream doRequest(InputStream is) throws CommunicationException
is
- request's HTTP body
IOException
ProtocolException
CommunicationException
void setGzip(boolean gzip)
gzip
- boolean usesGzip()
void closeTcpConnection() throws CommunicationException
CommunicationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |