public class Connection extends Object
| Constructor and Description |
|---|
Connection(org.apache.http.client.HttpClient client,
HosebirdMessageProcessor processor) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.http.StatusLine |
connect(org.apache.http.client.methods.HttpUriRequest request) |
boolean |
processResponse() |
public Connection(org.apache.http.client.HttpClient client,
HosebirdMessageProcessor processor)
public org.apache.http.StatusLine connect(org.apache.http.client.methods.HttpUriRequest request)
throws IOException
IOExceptionpublic boolean processResponse()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void close()
Copyright © 2014. All Rights Reserved.