Package | Description |
---|---|
org.apache.mina.http | |
org.apache.mina.http.api |
Modifier and Type | Method and Description |
---|---|
HttpVersion |
HttpRequestImpl.getProtocolVersion()
The HTTP version of the message
|
Constructor and Description |
---|
HttpRequestImpl(HttpVersion version,
HttpMethod method,
String requestedPath,
String queryString,
Map<String,String> headers)
Creates a new HttpRequestImpl instance
|
Modifier and Type | Method and Description |
---|---|
static HttpVersion |
HttpVersion.fromString(String string)
Returns the
HttpVersion instance from the specified string. |
HttpVersion |
DefaultHttpResponse.getProtocolVersion()
The HTTP version of the message
|
HttpVersion |
HttpMessage.getProtocolVersion()
The HTTP version of the message
|
static HttpVersion |
HttpVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpVersion[] |
HttpVersion.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–2021 Apache MINA Project. All rights reserved.