public class HttpServerRequest<T> extends AbstractHttpContentHolder<T>
Observable as returned by AbstractHttpContentHolder.getContent() supports one and only one subscriber.AbstractHttpContentHolder.ignoreContent() or have atleast one subscription to AbstractHttpContentHolder.getContent()AbstractHttpContentHolder.getContent() after the configured timeout, will result in error on the subscriber.| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_CONTENT_SUBSCRIPTION_TIMEOUT_MS |
content| Modifier | Constructor and Description |
|---|---|
protected |
HttpServerRequest(io.netty.channel.Channel channel,
io.netty.handler.codec.http.HttpRequest nettyRequest,
UnicastContentSubject<T> content) |
|
HttpServerRequest(io.netty.handler.codec.http.HttpRequest nettyRequest,
UnicastContentSubject<T> content)
Deprecated.
This class will no longer be instantiable outside this package.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.util.Set<io.netty.handler.codec.http.Cookie>> |
getCookies() |
HttpRequestHeaders |
getHeaders() |
io.netty.handler.codec.http.HttpMethod |
getHttpMethod() |
io.netty.handler.codec.http.HttpVersion |
getHttpVersion() |
io.netty.channel.Channel |
getNettyChannel() |
java.lang.String |
getPath() |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getQueryParameters() |
java.lang.String |
getQueryString() |
java.lang.String |
getUri() |
getContent, ignoreContentpublic static final long DEFAULT_CONTENT_SUBSCRIPTION_TIMEOUT_MS
@Deprecated
public HttpServerRequest(io.netty.handler.codec.http.HttpRequest nettyRequest,
UnicastContentSubject<T> content)
protected HttpServerRequest(io.netty.channel.Channel channel,
io.netty.handler.codec.http.HttpRequest nettyRequest,
UnicastContentSubject<T> content)
public HttpRequestHeaders getHeaders()
public io.netty.handler.codec.http.HttpMethod getHttpMethod()
public io.netty.handler.codec.http.HttpVersion getHttpVersion()
public java.lang.String getUri()
public java.lang.String getPath()
public java.lang.String getQueryString()
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getQueryParameters()
public java.util.Map<java.lang.String,java.util.Set<io.netty.handler.codec.http.Cookie>> getCookies()
public io.netty.channel.Channel getNettyChannel()