public final class HttpOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HttpOptions.Builder |
Modifier and Type | Method and Description |
---|---|
static HttpOptions |
build() |
static HttpOptions.Builder |
builder() |
Charset |
getCharset() |
com.google.common.base.Optional<Integer> |
getConnectTimeoutMillis() |
com.google.common.base.Optional<String> |
getContentType() |
List<NameValue> |
getData() |
List<HeaderPair> |
getHeaders() |
com.google.common.collect.Range<Integer> |
getKeepTryingRange() |
com.google.common.base.Optional<Long> |
getMaxBytes() |
com.google.common.base.Optional<Integer> |
getMaxTimeMillis() |
HttpMethod |
getMethod() |
com.google.common.base.Optional<File> |
getOutputFile() |
HttpMethod |
getRequestMethod() |
com.google.common.base.Optional<Integer> |
getRetries() |
com.google.common.base.Optional<Integer> |
getRetryCount() |
com.google.common.base.Optional<Integer> |
getRetryDelayMillis() |
com.google.common.base.Optional<SecurityContext> |
getSecurity() |
com.google.common.base.Optional<com.google.common.io.ByteSource> |
getUpload() |
boolean |
isCacheResponseInMemory() |
boolean |
isFollowRedirects() |
boolean |
isIgnoreSecurity() |
boolean |
isPrintResponseToStdout() |
boolean |
isSilent() |
public static HttpOptions build()
public static HttpOptions.Builder builder()
public com.google.common.base.Optional<Integer> getMaxTimeMillis()
public com.google.common.base.Optional<Integer> getConnectTimeoutMillis()
public com.google.common.base.Optional<Integer> getRetries()
public com.google.common.base.Optional<Integer> getRetryDelayMillis()
public com.google.common.base.Optional<com.google.common.io.ByteSource> getUpload()
public boolean isFollowRedirects()
public HttpMethod getMethod()
public com.google.common.base.Optional<Integer> getRetryCount()
public HttpMethod getRequestMethod()
public com.google.common.base.Optional<Long> getMaxBytes()
public boolean isIgnoreSecurity()
public boolean isSilent()
public Charset getCharset()
public com.google.common.collect.Range<Integer> getKeepTryingRange()
public com.google.common.base.Optional<File> getOutputFile()
public boolean isCacheResponseInMemory()
public com.google.common.base.Optional<SecurityContext> getSecurity()
public boolean isPrintResponseToStdout()
public List<HeaderPair> getHeaders()
public com.google.common.base.Optional<String> getContentType()
Copyright © 2014–2015 The Kuali Foundation. All rights reserved.