public final class SimpleHttpRequest
extends org.apache.hc.core5.http.message.HttpRequestWrapper
| Constructor and Description |
|---|
SimpleHttpRequest(org.apache.hc.core5.http.HttpRequest head,
String body,
org.apache.hc.core5.http.ContentType contentType) |
SimpleHttpRequest(String method,
org.apache.hc.core5.http.HttpHost host,
String path,
String body,
org.apache.hc.core5.http.ContentType contentType) |
SimpleHttpRequest(String method,
URI requestUri,
String body,
org.apache.hc.core5.http.ContentType contentType) |
| Modifier and Type | Method and Description |
|---|---|
static SimpleHttpRequest |
delete(org.apache.hc.core5.http.HttpHost host,
String path) |
static SimpleHttpRequest |
delete(String requestUri) |
static SimpleHttpRequest |
delete(URI requestUri) |
static SimpleHttpRequest |
get(org.apache.hc.core5.http.HttpHost host,
String path) |
static SimpleHttpRequest |
get(String requestUri) |
static SimpleHttpRequest |
get(URI requestUri) |
String |
getBody() |
org.apache.hc.core5.http.ContentType |
getContentType() |
static SimpleHttpRequest |
head(org.apache.hc.core5.http.HttpHost host,
String path) |
static SimpleHttpRequest |
head(String requestUri) |
static SimpleHttpRequest |
head(URI requestUri) |
static SimpleHttpRequest |
options(org.apache.hc.core5.http.HttpHost host,
String path) |
static SimpleHttpRequest |
options(String requestUri) |
static SimpleHttpRequest |
options(URI requestUri) |
static SimpleHttpRequest |
patch(org.apache.hc.core5.http.HttpHost host,
String path,
String body,
org.apache.hc.core5.http.ContentType contentType) |
static SimpleHttpRequest |
patch(String requestUri,
String body,
org.apache.hc.core5.http.ContentType contentType) |
static SimpleHttpRequest |
patch(URI requestUri,
String body,
org.apache.hc.core5.http.ContentType contentType) |
static SimpleHttpRequest |
post(org.apache.hc.core5.http.HttpHost host,
String path,
String body,
org.apache.hc.core5.http.ContentType contentType) |
static SimpleHttpRequest |
post(String requestUri,
String body,
org.apache.hc.core5.http.ContentType contentType) |
static SimpleHttpRequest |
post(URI requestUri,
String body,
org.apache.hc.core5.http.ContentType contentType) |
static SimpleHttpRequest |
put(org.apache.hc.core5.http.HttpHost host,
String path,
String body,
org.apache.hc.core5.http.ContentType contentType) |
static SimpleHttpRequest |
put(String requestUri,
String body,
org.apache.hc.core5.http.ContentType contentType) |
static SimpleHttpRequest |
PUT(URI requestUri,
String body,
org.apache.hc.core5.http.ContentType contentType) |
static SimpleHttpRequest |
trace(org.apache.hc.core5.http.HttpHost host,
String path) |
static SimpleHttpRequest |
trace(String requestUri) |
static SimpleHttpRequest |
trace(URI requestUri) |
getAuthority, getMethod, getPath, getRequestUri, getScheme, getUri, setAuthority, setPath, setSchemeaddHeader, addHeader, containsHeader, containsHeaders, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getSingleHeader, getVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setVersion, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic SimpleHttpRequest(org.apache.hc.core5.http.HttpRequest head,
String body,
org.apache.hc.core5.http.ContentType contentType)
public SimpleHttpRequest(String method, org.apache.hc.core5.http.HttpHost host, String path, String body, org.apache.hc.core5.http.ContentType contentType)
public static SimpleHttpRequest get(URI requestUri)
public static SimpleHttpRequest get(String requestUri)
public static SimpleHttpRequest get(org.apache.hc.core5.http.HttpHost host, String path)
public static SimpleHttpRequest head(URI requestUri)
public static SimpleHttpRequest head(String requestUri)
public static SimpleHttpRequest head(org.apache.hc.core5.http.HttpHost host, String path)
public static SimpleHttpRequest post(URI requestUri, String body, org.apache.hc.core5.http.ContentType contentType)
public static SimpleHttpRequest post(String requestUri, String body, org.apache.hc.core5.http.ContentType contentType)
public static SimpleHttpRequest post(org.apache.hc.core5.http.HttpHost host, String path, String body, org.apache.hc.core5.http.ContentType contentType)
public static SimpleHttpRequest PUT(URI requestUri, String body, org.apache.hc.core5.http.ContentType contentType)
public static SimpleHttpRequest put(String requestUri, String body, org.apache.hc.core5.http.ContentType contentType)
public static SimpleHttpRequest put(org.apache.hc.core5.http.HttpHost host, String path, String body, org.apache.hc.core5.http.ContentType contentType)
public static SimpleHttpRequest delete(URI requestUri)
public static SimpleHttpRequest delete(String requestUri)
public static SimpleHttpRequest delete(org.apache.hc.core5.http.HttpHost host, String path)
public static SimpleHttpRequest trace(URI requestUri)
public static SimpleHttpRequest trace(String requestUri)
public static SimpleHttpRequest trace(org.apache.hc.core5.http.HttpHost host, String path)
public static SimpleHttpRequest options(URI requestUri)
public static SimpleHttpRequest options(String requestUri)
public static SimpleHttpRequest options(org.apache.hc.core5.http.HttpHost host, String path)
public static SimpleHttpRequest patch(URI requestUri, String body, org.apache.hc.core5.http.ContentType contentType)
public static SimpleHttpRequest patch(String requestUri, String body, org.apache.hc.core5.http.ContentType contentType)
public static SimpleHttpRequest patch(org.apache.hc.core5.http.HttpHost host, String path, String body, org.apache.hc.core5.http.ContentType contentType)
public String getBody()
public org.apache.hc.core5.http.ContentType getContentType()
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.