public class HttpResponseStatusLine extends Object
| Modifier and Type | Field and Description |
|---|---|
static HttpResponseStatusLine |
BAD_REQUEST |
static HttpResponseStatusLine |
OK |
| Constructor and Description |
|---|
HttpResponseStatusLine(int statusCode,
String reasonPhrase) |
| Modifier and Type | Method and Description |
|---|---|
String |
getReasonPhrase() |
byte[] |
getReasonPhraseAsBytes() |
int |
getStatusCode() |
byte[] |
getStatusCodeAsBytes() |
String |
toString() |
public static final HttpResponseStatusLine OK
public static final HttpResponseStatusLine BAD_REQUEST
public HttpResponseStatusLine(int statusCode,
String reasonPhrase)
Copyright © 2021. All rights reserved.