Package com.robothy.netty.http
Class HttpRequest.HttpRequestBuilder
java.lang.Object
com.robothy.netty.http.HttpRequest.HttpRequestBuilder
- Enclosing class:
- HttpRequest
-
Method Summary
Modifier and TypeMethodDescriptionbody
(io.netty.buffer.ByteBuf body) build()
headers
(Map<CharSequence, String> headers) httpVersion
(io.netty.handler.codec.http.HttpVersion httpVersion) method
(io.netty.handler.codec.http.HttpMethod method) params
(Map<CharSequence, List<String>> params) toString()
-
Method Details
-
headers
- Returns:
this
.
-
params
- Returns:
this
.
-
path
- Returns:
this
.
-
uri
- Returns:
this
.
-
method
- Returns:
this
.
-
body
- Returns:
this
.
-
httpVersion
public HttpRequest.HttpRequestBuilder httpVersion(io.netty.handler.codec.http.HttpVersion httpVersion) - Returns:
this
.
-
build
-
toString
-