Class HttpStatusLine
- java.lang.Object
-
- software.amazon.spapi.models.pricing.v2022_05_01.HttpStatusLine
-
public class HttpStatusLine extends java.lang.Object
The HTTP status line associated with the response for an individual request within a batch. For more information, refer to [RFC 2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html).
-
-
Constructor Summary
Constructors Constructor Description HttpStatusLine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getReasonPhrase()
The HTTP response reason phrase.java.lang.Integer
getStatusCode()
The HTTP response status code.int
hashCode()
HttpStatusLine
reasonPhrase(java.lang.String reasonPhrase)
void
setReasonPhrase(java.lang.String reasonPhrase)
void
setStatusCode(java.lang.Integer statusCode)
HttpStatusLine
statusCode(java.lang.Integer statusCode)
java.lang.String
toString()
-
-
-
Method Detail
-
statusCode
public HttpStatusLine statusCode(java.lang.Integer statusCode)
-
getStatusCode
public java.lang.Integer getStatusCode()
The HTTP response status code. minimum: 100 maximum: 599- Returns:
- statusCode
-
setStatusCode
public void setStatusCode(java.lang.Integer statusCode)
-
reasonPhrase
public HttpStatusLine reasonPhrase(java.lang.String reasonPhrase)
-
getReasonPhrase
public java.lang.String getReasonPhrase()
The HTTP response reason phrase.- Returns:
- reasonPhrase
-
setReasonPhrase
public void setReasonPhrase(java.lang.String reasonPhrase)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-