public interface HTTPOutTransport extends OutTransport, HTTPTransport
HTTPTransport.HTTP_VERSION
Modifier and Type | Method and Description |
---|---|
void |
addParameter(String name,
String value)
Sets the given parameter with the given value.
|
void |
sendRedirect(String location)
Sends an HTTP 3XX redirect message back to the client.
|
void |
setHeader(String name,
String value)
Sets the given header with the given value.
|
void |
setStatusCode(int code)
Sets the status code for this transport.
|
void |
setVersion(HTTPTransport.HTTP_VERSION version)
Sets the HTTP version to use for outgoing messages.
|
getOutgoingStream, setAttribute, setCharacterEncoding
getHeaderValue, getHTTPMethod, getParameterValue, getParameterValues, getStatusCode, getVersion
getAttribute, getCharacterEncoding, getLocalCredential, getPeerCredential, isAuthenticated, isConfidential, isIntegrityProtected, setAuthenticated, setConfidential, setIntegrityProtected
void setVersion(HTTPTransport.HTTP_VERSION version)
version
- HTTP version to use for outgoing messagesvoid setHeader(String name, String value)
name
- header namevalue
- header valuevoid addParameter(String name, String value)
name
- parameter namevalue
- parameter valuevoid setStatusCode(int code)
code
- status code for this transportvoid sendRedirect(String location)
location
- location to redirect the client toCopyright © 2018 JBoss by Red Hat. All rights reserved.