public static interface Response.Builder
| Modifier and Type | Method and Description |
|---|---|
B |
build() |
B |
setEntity(Entity entity) |
B |
setHeaders(Headers headers)
Copies the specified map of HTTP headers into this object.
|
Response.Builder |
setStatusCode(int statusCode)
Sets the status code of the response.
|
Response.Builder |
setStatusText(java.lang.String statusText)
Sets the status text of the response.
|
Response.Builder setStatusCode(int statusCode)
Response.Builder setStatusText(java.lang.String statusText)
B setEntity(Entity entity)
B setHeaders(Headers headers)
headers - A map of HTTP headersB build()
Copyright © 2012-2013 Atlassian. All Rights Reserved.