Uses of Class
org.apache.flink.runtime.rest.messages.ErrorResponseBody
Packages that use ErrorResponseBody
-
Uses of ErrorResponseBody in org.apache.flink.runtime.rest.handler.util
Methods in org.apache.flink.runtime.rest.handler.util with parameters of type ErrorResponseBodyModifier and TypeMethodDescriptionstatic 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.