| Package | Description |
|---|---|
| com.linecorp.armeria.common |
Common types.
|
| com.linecorp.armeria.unsafe |
Utilities for working with
ByteBuf in an unsafe way. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
HttpData
HTTP/2 data.
|
interface |
HttpHeaders
Immutable HTTP/2 headers.
|
interface |
RequestHeaders
Immutable HTTP/2 headers for an
HttpRequest. |
interface |
ResponseHeaders
Immutable HTTP/2 headers for an
HttpResponse. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractHttpData
Support APIs for creating well-behaved
HttpData objects. |
class |
DefaultHttpData
Deprecated.
Use the factory methods in
HttpData. |
| Modifier and Type | Method and Description |
|---|---|
static HttpResponse |
HttpResponse.of(HttpObject... objs)
Creates a new HTTP response of the specified objects.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpResponse |
HttpResponse.of(org.reactivestreams.Publisher<? extends HttpObject> publisher)
Creates a new HTTP response whose stream is produced from an existing
Publisher. |
static HttpRequest |
HttpRequest.of(RequestHeaders headers,
org.reactivestreams.Publisher<? extends HttpObject> publisher)
Creates a new instance from an existing
RequestHeaders and Publisher. |
| Modifier and Type | Class and Description |
|---|---|
class |
ByteBufHttpData
An
HttpData that is backed by a ByteBuf for optimizing certain internal use cases. |
Copyright © 2020 LeanCloud. All rights reserved.