| Package | Description |
|---|---|
| com.linecorp.armeria.common |
Common types.
|
| com.linecorp.armeria.internal.server |
Various classes used internally.
|
| com.linecorp.armeria.server |
Server core.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultHttpResponse
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpResponseWriter |
HttpResponse.streaming()
Creates a new HTTP response that can stream an arbitrary number of
HttpObject to the client. |
| Modifier and Type | Method and Description |
|---|---|
static HttpResponseWriter |
ResponseConversionUtil.aggregateFrom(org.reactivestreams.Publisher<?> publisher,
ResponseHeaders headers,
HttpHeaders trailers,
Function<Object,HttpData> contentConverter)
Returns a new
HttpResponseWriter which has a content converted from the collected objects. |
static HttpResponseWriter |
ResponseConversionUtil.aggregateFrom(Stream<?> stream,
ResponseHeaders headers,
HttpHeaders trailers,
Function<Object,HttpData> contentConverter,
Executor executor)
Returns a new
HttpResponseWriter which has a content converted from the collected objects. |
static <T> HttpResponseWriter |
ResponseConversionUtil.streamingFrom(org.reactivestreams.Publisher<T> publisher,
ResponseHeaders headers,
HttpHeaders trailers,
Function<T,HttpData> contentConverter)
Returns a new
HttpResponseWriter which sends a streaming response from the specified
Publisher. |
static <T> HttpResponseWriter |
ResponseConversionUtil.streamingFrom(Stream<T> stream,
ResponseHeaders headers,
HttpHeaders trailers,
Function<T,HttpData> contentConverter,
Executor executor)
Returns a new
HttpResponseWriter which sends a streaming response from the specified
Stream. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractHttpService.doDelete(ServiceRequestContext ctx,
HttpRequest req,
HttpResponseWriter res)
Deprecated.
|
protected void |
AbstractHttpService.doGet(ServiceRequestContext ctx,
HttpRequest req,
HttpResponseWriter res)
Deprecated.
|
protected void |
AbstractHttpService.doHead(ServiceRequestContext ctx,
HttpRequest req,
HttpResponseWriter res)
Deprecated.
|
protected void |
AbstractHttpService.doOptions(ServiceRequestContext ctx,
HttpRequest req,
HttpResponseWriter res)
Deprecated.
|
protected void |
AbstractHttpService.doPatch(ServiceRequestContext ctx,
HttpRequest req,
HttpResponseWriter res)
Deprecated.
|
protected void |
AbstractHttpService.doPost(ServiceRequestContext ctx,
HttpRequest req,
HttpResponseWriter res)
Deprecated.
|
protected void |
AbstractHttpService.doPut(ServiceRequestContext ctx,
HttpRequest req,
HttpResponseWriter res)
Deprecated.
|
protected void |
AbstractHttpService.doTrace(ServiceRequestContext ctx,
HttpRequest req,
HttpResponseWriter res)
Deprecated.
|
Copyright © 2020 LeanCloud. All rights reserved.