public class JdkHttpHeadCallResult extends HeadCallResult
| Modifier and Type | Field and Description |
|---|---|
protected HttpURLConnection |
_connection |
_contentLength_fail, _server, _status| Constructor and Description |
|---|
JdkHttpHeadCallResult(CallFailure fail) |
JdkHttpHeadCallResult(HttpURLConnection connection,
CallFailure fail) |
JdkHttpHeadCallResult(HttpURLConnection connection,
ClusterServerNode server,
int status,
long contentLength) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHeaderValue(String key) |
static JdkHttpHeadCallResult |
notFound(ClusterServerNode server) |
getContentLength, hasContentLengthfailed, getFailure, getServer, getStatus, succeededprotected final HttpURLConnection _connection
public JdkHttpHeadCallResult(HttpURLConnection connection, ClusterServerNode server, int status, long contentLength)
public JdkHttpHeadCallResult(HttpURLConnection connection, CallFailure fail)
public JdkHttpHeadCallResult(CallFailure fail)
public static JdkHttpHeadCallResult notFound(ClusterServerNode server)
public String getHeaderValue(String key)
getHeaderValue in class HeadCallResultCopyright © 2012-2014 fasterxml.com. All Rights Reserved.