org.kuali.common.http.model
Class HttpRequestResult
java.lang.Object
org.kuali.common.http.model.HttpRequestResult
public final class HttpRequestResult
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newHttpRequestResult
public static HttpRequestResult newHttpRequestResult(String statusText,
int statusCode,
com.google.common.base.Optional<String> responseBody,
long start)
newHttpRequestResult
public static HttpRequestResult newHttpRequestResult(IOException exception,
long start)
builder
public static HttpRequestResult.Builder builder(String statusText,
int statusCode,
com.google.common.base.Optional<String> responseBody,
long start)
builder
public static HttpRequestResult.Builder builder(IOException exception,
long start)
getResponseBody
public com.google.common.base.Optional<String> getResponseBody()
getStatusCode
public com.google.common.base.Optional<Integer> getStatusCode()
getStatusText
public String getStatusText()
getException
public com.google.common.base.Optional<IOException> getException()
getStart
public long getStart()
getStop
public long getStop()
getElapsed
public long getElapsed()
Copyright © 2014 The Kuali Foundation. All rights reserved.