private static final class DefaultServerResponseBuilder.BodyInserterResponse<T> extends DefaultServerResponseBuilder.AbstractServerResponse
ServerResponse.BodyBuilder, ServerResponse.Context, ServerResponse.HeadersBuilder<B extends ServerResponse.HeadersBuilder<B>>
Modifier and Type | Field and Description |
---|---|
private BodyInserter<T,? super ServerHttpResponse> |
inserter |
hints, statusCode
Constructor and Description |
---|
BodyInserterResponse(int statusCode,
HttpHeaders headers,
MultiValueMap<java.lang.String,ResponseCookie> cookies,
BodyInserter<T,? super ServerHttpResponse> body,
java.util.Map<java.lang.String,java.lang.Object> hints) |
Modifier and Type | Method and Description |
---|---|
protected <any> |
writeToInternal(ServerWebExchange exchange,
ServerResponse.Context context) |
cookies, headers, statusCode, writeTo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accepted, badRequest, created, from, noContent, notFound, ok, permanentRedirect, seeOther, status, status, temporaryRedirect, unprocessableEntity
private final BodyInserter<T,? super ServerHttpResponse> inserter
public BodyInserterResponse(int statusCode, HttpHeaders headers, MultiValueMap<java.lang.String,ResponseCookie> cookies, BodyInserter<T,? super ServerHttpResponse> body, java.util.Map<java.lang.String,java.lang.Object> hints)
protected <any> writeToInternal(ServerWebExchange exchange, ServerResponse.Context context)
writeToInternal
in class DefaultServerResponseBuilder.AbstractServerResponse