Package | Description |
---|---|
org.apache.mina.http | |
org.apache.mina.http.api |
Constructor and Description |
---|
HttpException(HttpStatus statusCode)
Creates a new HttpException instance
|
HttpException(HttpStatus statusCode,
String message)
Creates a new HttpException instance
|
Modifier and Type | Method and Description |
---|---|
HttpStatus |
HttpResponse.getStatus()
The HTTP status code for the HTTP response (e.g. 200 for OK, 404 for not found, etc..)
|
HttpStatus |
DefaultHttpResponse.getStatus()
The HTTP status code for the HTTP response (e.g. 200 for OK, 404 for not found, etc..)
|
static HttpStatus |
HttpStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpStatus[] |
HttpStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
DefaultHttpResponse(HttpVersion version,
HttpStatus status,
Map<String,String> headers)
Creates a new DefaultHttpResponse instance
|
Copyright © 2004–2018 Apache MINA Project. All rights reserved.