Package | Description |
---|---|
org.apache.flink.runtime.rest.handler.util |
Modifier and Type | Method and Description |
---|---|
static CompletableFuture<Void> |
HandlerUtils.sendErrorResponse(org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandlerContext channelHandlerContext,
boolean keepAlive,
ErrorResponseBody errorMessage,
org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus statusCode,
Map<String,String> headers)
Sends the given error response and status code to the given channel.
|
static CompletableFuture<Void> |
HandlerUtils.sendErrorResponse(org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandlerContext channelHandlerContext,
org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpRequest httpRequest,
ErrorResponseBody errorMessage,
org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus statusCode,
Map<String,String> headers)
Sends the given error response and status code to the given channel.
|
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.