private static final class DefaultServerResponseBuilder.WriterFunctionResponse extends DefaultServerResponseBuilder.AbstractServerResponse
ServerResponse.BodyBuilder, ServerResponse.Context, ServerResponse.HeadersBuilder<B extends ServerResponse.HeadersBuilder<B>>
Modifier and Type | Field and Description |
---|---|
private java.util.function.BiFunction<ServerWebExchange,ServerResponse.Context,<any>> |
writeFunction |
statusCode
Constructor and Description |
---|
WriterFunctionResponse(int statusCode,
HttpHeaders headers,
MultiValueMap<java.lang.String,ResponseCookie> cookies,
java.util.function.BiFunction<ServerWebExchange,ServerResponse.Context,<any>> writeFunction) |
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 java.util.function.BiFunction<ServerWebExchange,ServerResponse.Context,<any>> writeFunction
public WriterFunctionResponse(int statusCode, HttpHeaders headers, MultiValueMap<java.lang.String,ResponseCookie> cookies, java.util.function.BiFunction<ServerWebExchange,ServerResponse.Context,<any>> writeFunction)
protected <any> writeToInternal(ServerWebExchange exchange, ServerResponse.Context context)
writeToInternal
in class DefaultServerResponseBuilder.AbstractServerResponse