Constructor and Description |
---|
ResponseBuilder() |
Modifier and Type | Method and Description |
---|---|
Response.ResponseBuilder |
accumulate(io.netty.handler.codec.http.HttpHeaders headers) |
Response.ResponseBuilder |
accumulate(HttpResponseBodyPart bodyPart) |
Response.ResponseBuilder |
accumulate(HttpResponseStatus status) |
Response |
build()
Build a
Response instance |
void |
reset()
Reset the internal state of this builder.
|
public Response.ResponseBuilder accumulate(HttpResponseStatus status)
public Response.ResponseBuilder accumulate(io.netty.handler.codec.http.HttpHeaders headers)
public Response.ResponseBuilder accumulate(HttpResponseBodyPart bodyPart)
bodyPart
- a body part (possibly empty, but will be filtered out)public void reset()
Copyright © 2017. All Rights Reserved.