public final class Response extends Message<Response>
Constructor and Description |
---|
Response()
Creates a new response.
|
Modifier and Type | Method and Description |
---|---|
String |
getReason()
Returns the response status reason.
|
Integer |
getStatus()
Returns the response status code.
|
Response |
setReason(String reason)
Sets the response status reason.
|
Response |
setStatus(Integer status)
Sets the response status code.
|
close, getEntity, getHeaders, getVersion, setEntity, setVersion
public Response()
public String getReason()
public Integer getStatus()
public Response setReason(String reason)
reason
- The response status reason.Copyright © 2014 ForgeRock AS. All rights reserved.