Package org.apache.juneau.rest.client
Class ResponseStatusLine
java.lang.Object
org.apache.juneau.rest.client.ResponseStatusLine
- All Implemented Interfaces:
- StatusLine
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedResponseStatusLine(RestResponse response, StatusLine inner) Constructor.
- 
Method Summary
- 
Constructor Details- 
ResponseStatusLineConstructor.- Parameters:
- response- The response that created this object.
- inner- The status line returned by the underlying client.
 
 
- 
- 
Method Details- 
getProtocolVersion- Specified by:
- getProtocolVersionin interface- StatusLine
 
- 
getStatusCode- Specified by:
- getStatusCodein interface- StatusLine
 
- 
getReasonPhrase- Specified by:
- getReasonPhrasein interface- StatusLine
 
- 
assertValueProvides the ability to perform fluent-style assertions on this response status line.Examples:// Validates the content type header is provided. client .get(URI ) .run() .getStatusLine().assertValue().asCode().is(200);- Returns:
- A new fluent assertion object.
 
- 
responseReturns the response that created this object.- Returns:
- The response that created this object.
 
- 
toString
 
-