public static interface ReactiveRequest.Content extends org.reactivestreams.Publisher<ContentChunk>
| Modifier and Type | Method and Description |
|---|---|
static ReactiveRequest.Content |
fromPublisher(org.reactivestreams.Publisher<ContentChunk> publisher,
String contentType) |
static ReactiveRequest.Content |
fromPublisher(org.reactivestreams.Publisher<ContentChunk> publisher,
String mediaType,
Charset charset) |
static ReactiveRequest.Content |
fromString(String string,
String mediaType,
Charset charset) |
String |
getContentType() |
long |
getLength() |
long getLength()
String getContentType()
media_type[;charset=<charset>]static ReactiveRequest.Content fromString(String string, String mediaType, Charset charset)
static ReactiveRequest.Content fromPublisher(org.reactivestreams.Publisher<ContentChunk> publisher, String contentType)
static ReactiveRequest.Content fromPublisher(org.reactivestreams.Publisher<ContentChunk> publisher, String mediaType, Charset charset)
Copyright © 2017–2024 The Jetty Project. All rights reserved.