public interface HTTPTransport extends Transport
Modifier and Type | Interface and Description |
---|---|
static class |
HTTPTransport.HTTP_VERSION
HTTP version identifier.
|
Modifier and Type | Method and Description |
---|---|
String |
getHeaderValue(String name)
Gets the first value of the header with the given name.
|
String |
getHTTPMethod()
Gets the HTTP method (POST, GET, etc) used.
|
String |
getParameterValue(String name)
Gets the first value of the named parameter.
|
List<String> |
getParameterValues(String name)
Gets the values of the named parameter.
|
int |
getStatusCode()
Gets the status code of the request.
|
HTTPTransport.HTTP_VERSION |
getVersion()
Gets the HTTP version used to receive the message.
|
getAttribute, getCharacterEncoding, getLocalCredential, getPeerCredential, isAuthenticated, isConfidential, isIntegrityProtected, setAuthenticated, setConfidential, setIntegrityProtected
String getHeaderValue(String name)
name
- header nameString getHTTPMethod()
int getStatusCode()
String getParameterValue(String name)
name
- parameter nameList<String> getParameterValues(String name)
name
- parameter nameHTTPTransport.HTTP_VERSION getVersion()
Copyright © 2018 JBoss by Red Hat. All rights reserved.