| Package | Description |
|---|---|
| com.linecorp.armeria.client |
Client core.
|
| com.linecorp.armeria.common |
Common types.
|
| com.linecorp.armeria.server.annotation |
Annotations for building a RESTful service.
|
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
WebClient.execute(AggregatedHttpRequest aggregatedReq)
Sends the specified HTTP request.
|
| Modifier and Type | Method and Description |
|---|---|
static AggregatedHttpRequest |
AggregatedHttpRequest.of(HttpMethod method,
String path)
Creates a new HTTP request with empty content.
|
static AggregatedHttpRequest |
AggregatedHttpRequest.of(HttpMethod method,
String path,
MediaType mediaType,
byte[] content)
Creates a new HTTP request.
|
static AggregatedHttpRequest |
AggregatedHttpRequest.of(HttpMethod method,
String path,
MediaType mediaType,
CharSequence content)
Creates a new HTTP request.
|
static AggregatedHttpRequest |
AggregatedHttpRequest.of(HttpMethod method,
String path,
MediaType mediaType,
HttpData content)
Creates a new HTTP request.
|
static AggregatedHttpRequest |
AggregatedHttpRequest.of(HttpMethod method,
String path,
MediaType mediaType,
HttpData content,
HttpHeaders trailers)
Creates a new HTTP request.
|
static AggregatedHttpRequest |
AggregatedHttpRequest.of(HttpMethod method,
String path,
MediaType mediaType,
String content)
Creates a new HTTP request.
|
static AggregatedHttpRequest |
AggregatedHttpRequest.of(HttpMethod method,
String path,
MediaType mediaType,
String format,
Object... args)
Creates a new HTTP request.
|
static AggregatedHttpRequest |
AggregatedHttpRequest.of(RequestHeaders headers)
Creates a new HTTP request with empty content.
|
static AggregatedHttpRequest |
AggregatedHttpRequest.of(RequestHeaders headers,
HttpData content)
Creates a new HTTP request.
|
static AggregatedHttpRequest |
AggregatedHttpRequest.of(RequestHeaders headers,
HttpData content,
HttpHeaders trailers)
Creates a new HTTP request.
|
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<AggregatedHttpRequest> |
HttpRequest.aggregate()
Aggregates this request.
|
default CompletableFuture<AggregatedHttpRequest> |
HttpRequest.aggregate(io.netty.util.concurrent.EventExecutor executor)
Aggregates this request.
|
default CompletableFuture<AggregatedHttpRequest> |
HttpRequest.aggregateWithPooledObjects(io.netty.buffer.ByteBufAllocator alloc)
Aggregates this request.
|
default CompletableFuture<AggregatedHttpRequest> |
HttpRequest.aggregateWithPooledObjects(io.netty.util.concurrent.EventExecutor executor,
io.netty.buffer.ByteBufAllocator alloc)
Aggregates this request.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpRequest |
HttpRequest.of(AggregatedHttpRequest request)
Deprecated.
Use
toHttpRequest(). |
| Modifier and Type | Method and Description |
|---|---|
Object |
StringRequestConverterFunction.convertRequest(ServiceRequestContext ctx,
AggregatedHttpRequest request,
Class<?> expectedResultType)
Converts the specified
AggregatedHttpRequest to a String. |
Object |
RequestConverterFunction.convertRequest(ServiceRequestContext ctx,
AggregatedHttpRequest request,
Class<?> expectedResultType)
Converts the specified
request to an object of expectedResultType. |
Object |
JacksonRequestConverterFunction.convertRequest(ServiceRequestContext ctx,
AggregatedHttpRequest request,
Class<?> expectedResultType)
Converts the specified
AggregatedHttpRequest to an object of expectedResultType. |
Object |
ByteArrayRequestConverterFunction.convertRequest(ServiceRequestContext ctx,
AggregatedHttpRequest request,
Class<?> expectedResultType)
Converts the specified
AggregatedHttpRequest to an object of expectedResultType. |
Copyright © 2020 LeanCloud. All rights reserved.