| Package | Description |
|---|---|
| com.artipie.http |
Artipie HTTP layer.
|
| com.artipie.http.async |
Async implementations of
Slice, Response, etc. |
| com.artipie.http.auth |
Artipie authentication and authorization mecahnism.
|
| com.artipie.http.hm |
Hamcrest matchers.
|
| com.artipie.http.rs |
Responses.
|
| com.artipie.http.rt |
Slice routing.
|
| com.artipie.http.slice |
Slice objects.
|
| Modifier and Type | Field and Description |
|---|---|
static Response |
Response.EMPTY
Empty response.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
Slice.response(String line,
Iterable<Map.Entry<String,String>> headers,
org.reactivestreams.Publisher<ByteBuffer> body)
Respond to a http request.
|
Response |
Slice.Wrap.response(String line,
Iterable<Map.Entry<String,String>> headers,
org.reactivestreams.Publisher<ByteBuffer> body) |
| Modifier and Type | Class and Description |
|---|---|
class |
AsyncResponse
Async response from
CompletionStage. |
| Modifier and Type | Method and Description |
|---|---|
Response |
AsyncSlice.response(String line,
Iterable<Map.Entry<String,String>> headers,
org.reactivestreams.Publisher<ByteBuffer> body) |
| Constructor and Description |
|---|
AsyncResponse(CompletionStage<? extends Response> future)
Response from
CompletionStage. |
| Modifier and Type | Method and Description |
|---|---|
Response |
SliceAuth.response(String line,
Iterable<Map.Entry<String,String>> headers,
org.reactivestreams.Publisher<ByteBuffer> body) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RsHasHeaders.matchesSafely(Response item) |
boolean |
RsHasStatus.matchesSafely(Response item) |
boolean |
RsHasBody.matchesSafely(Response item) |
| Modifier and Type | Class and Description |
|---|---|
class |
RsFull
RsFull, response with status code, headers and body.
|
class |
RsWithBody
Response with body.
|
class |
RsWithHeaders
Response with additional headers.
|
class |
RsWithStatus
Response with status.
|
| Constructor and Description |
|---|
RsWithBody(Response origin,
ByteBuffer buf)
Decorates origin response body with byte buffer.
|
RsWithBody(Response origin,
org.reactivestreams.Publisher<ByteBuffer> body)
Decorates origin response body with publisher.
|
RsWithBody(Response origin,
String body,
Charset charset)
Decorates response with new text body.
|
RsWithHeaders(Response origin,
Iterable<Map.Entry<String,String>> headers)
Ctor.
|
RsWithHeaders(Response origin,
String name,
String value)
Ctor.
|
RsWithStatus(Response origin,
RsStatus status)
Override status code for response.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
SliceRoute.response(String line,
Iterable<Map.Entry<String,String>> headers,
org.reactivestreams.Publisher<ByteBuffer> body) |
| Modifier and Type | Method and Description |
|---|---|
Response |
LoggingSlice.response(String line,
Iterable<Map.Entry<String,String>> headers,
org.reactivestreams.Publisher<ByteBuffer> body) |
Response |
SliceSimple.response(String line,
Iterable<Map.Entry<String,String>> headers,
org.reactivestreams.Publisher<ByteBuffer> body) |
Response |
SliceUpload.response(String line,
Iterable<Map.Entry<String,String>> headers,
org.reactivestreams.Publisher<ByteBuffer> body) |
Response |
SliceDownload.response(String line,
Iterable<Map.Entry<String,String>> headers,
org.reactivestreams.Publisher<ByteBuffer> body) |
| Constructor and Description |
|---|
SliceSimple(Response response)
Response.
|
Copyright © 2012–2020 jcabi.com. All rights reserved.