Package | Description |
---|---|
org.apache.flink.runtime.rest.handler.util |
Modifier and Type | Method and Description |
---|---|
static 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)
Sends the given error response and status code to the given channel.
|
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.