private class InterruptibleURLConnectionClientHandler.RequestTask extends Object implements Callable<com.sun.jersey.api.client.ClientResponse>, com.sun.jersey.client.urlconnection.HttpURLConnectionFactory
| Modifier and Type | Field and Description |
|---|---|
private List<HttpURLConnection> |
connections |
private com.sun.jersey.api.client.ClientRequest |
cr |
| Constructor and Description |
|---|
InterruptibleURLConnectionClientHandler.RequestTask(com.sun.jersey.api.client.ClientRequest cr) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.jersey.api.client.ClientResponse |
call() |
void |
close() |
HttpURLConnection |
getHttpURLConnection(URL url) |
private final List<HttpURLConnection> connections
private final com.sun.jersey.api.client.ClientRequest cr
public InterruptibleURLConnectionClientHandler.RequestTask(com.sun.jersey.api.client.ClientRequest cr)
public com.sun.jersey.api.client.ClientResponse call()
throws Exception
public HttpURLConnection getHttpURLConnection(URL url) throws IOException
getHttpURLConnection in interface com.sun.jersey.client.urlconnection.HttpURLConnectionFactoryIOExceptionpublic void close()
Copyright © 2014. All rights reserved.