public static class Response.Builder
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
Response | 
make()  | 
Response.Builder | 
setCacheControl(java.lang.String cacheControl)
Set the cache control for this call. 
 | 
Response.Builder | 
setRedirection(java.lang.String redirection)  | 
Response.Builder | 
setTrace(Trace trace)
Set the trace for this call. 
 | 
@Nonnull public Response.Builder setTrace(@Nonnull Trace trace)
trace - the trace of this call.@Nonnull public Response.Builder setRedirection(@Nullable java.lang.String redirection)
@Nonnull public Response.Builder setCacheControl(@Nonnull java.lang.String cacheControl)
cacheControl - the cache control.@Nonnull public Response make() throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.