public interface Request
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(String name,
String value) |
void |
enableAuthentication(HTTPAuthenticator authenticator) |
void |
enableHTTP10() |
void |
execute() |
Map<String,String> |
getCookies() |
org.apache.axiom.mime.Header[] |
getRequestHeaders() |
InputStream |
getResponseContent() |
String |
getResponseHeader(String name) |
org.apache.axiom.mime.Header[] |
getResponseHeaders() |
int |
getStatusCode() |
String |
getStatusText() |
void |
releaseConnection() |
void |
setConnectionTimeout(int timeout) |
void |
setHeader(String name,
String value) |
void |
setSocketTimeout(int timeout) |
void enableHTTP10()
org.apache.axiom.mime.Header[] getRequestHeaders()
void enableAuthentication(HTTPAuthenticator authenticator)
void setConnectionTimeout(int timeout)
void setSocketTimeout(int timeout)
void execute()
throws IOException
IOExceptionint getStatusCode()
String getStatusText()
org.apache.axiom.mime.Header[] getResponseHeaders()
InputStream getResponseContent() throws IOException
IOExceptionvoid releaseConnection()
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.