public interface NettyHttpRequestBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
isStream() |
io.netty.handler.codec.http.FullHttpRequest |
toFullHttpRequest()
Converts this object to a full http request.
|
io.netty.handler.codec.http.HttpRequest |
toHttpRequest()
Converts this object to the most appropriate http request type.
|
static io.netty.handler.codec.http.HttpRequest |
toHttpRequest(HttpRequest<?> request)
Convert the given request to a full http request.
|
StreamedHttpRequest |
toStreamHttpRequest()
Converts this object to a streamed http request.
|
@NonNull io.netty.handler.codec.http.FullHttpRequest toFullHttpRequest()
@NonNull StreamedHttpRequest toStreamHttpRequest()
@NonNull io.netty.handler.codec.http.HttpRequest toHttpRequest()
boolean isStream()
@NonNull static io.netty.handler.codec.http.HttpRequest toHttpRequest(@NonNull HttpRequest<?> request)
request
- The request