public static class RequestBuilding.RequestBuilder
extends java.lang.Object
Constructor and Description |
---|
RequestBuilder(HttpMethod method) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
apply() |
HttpRequest |
apply(java.lang.String uri) |
<T> HttpRequest |
apply(java.lang.String uri,
scala.Option<T> content,
Marshaller<T,RequestEntity> m,
scala.concurrent.ExecutionContext ec) |
HttpRequest |
apply(java.lang.String uri,
RequestEntity entity) |
<T> HttpRequest |
apply(java.lang.String uri,
T content,
Marshaller<T,RequestEntity> m,
scala.concurrent.ExecutionContext ec) |
HttpRequest |
apply(Uri uri) |
<T> HttpRequest |
apply(Uri uri,
scala.Option<T> content,
Marshaller<T,RequestEntity> m,
org.apache.pekko.util.Timeout timeout,
scala.concurrent.ExecutionContext ec) |
HttpRequest |
apply(Uri uri,
RequestEntity entity) |
<T> HttpRequest |
apply(Uri uri,
T content,
Marshaller<T,RequestEntity> m,
scala.concurrent.ExecutionContext ec) |
HttpMethod |
method() |
public RequestBuilder(HttpMethod method)
public HttpRequest apply()
public HttpRequest apply(java.lang.String uri)
public <T> HttpRequest apply(java.lang.String uri, T content, Marshaller<T,RequestEntity> m, scala.concurrent.ExecutionContext ec)
public <T> HttpRequest apply(java.lang.String uri, scala.Option<T> content, Marshaller<T,RequestEntity> m, scala.concurrent.ExecutionContext ec)
public HttpRequest apply(java.lang.String uri, RequestEntity entity)
public HttpRequest apply(Uri uri)
public <T> HttpRequest apply(Uri uri, T content, Marshaller<T,RequestEntity> m, scala.concurrent.ExecutionContext ec)
public <T> HttpRequest apply(Uri uri, scala.Option<T> content, Marshaller<T,RequestEntity> m, org.apache.pekko.util.Timeout timeout, scala.concurrent.ExecutionContext ec)
public HttpRequest apply(Uri uri, RequestEntity entity)
public HttpMethod method()