public class HttpConnectionUtil extends Object
| Constructor and Description |
|---|
HttpConnectionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.http.impl.client.DefaultHttpClient |
getClient()
Returns a client with all our selected properties / params.
|
int |
getConnectionTimeout() |
static void |
handleError(org.apache.http.HttpResponse response)
Logs details about the request error.
|
void |
setConnectionTimeout(int connectionTimeout) |
public static final org.apache.http.impl.client.DefaultHttpClient getClient()
public static void handleError(org.apache.http.HttpResponse response)
throws org.apache.http.ParseException,
IOException
response - IOExceptionorg.apache.http.ParseExceptionpublic int getConnectionTimeout()
public void setConnectionTimeout(int connectionTimeout)
connectionTimeout - the connectionTimeout to setCopyright © 2006-2012 The Red5 Project