public class JarPlanHandler extends org.apache.flink.runtime.rest.handler.AbstractRestHandler<org.apache.flink.runtime.webmonitor.RestfulGateway,org.apache.flink.runtime.rest.messages.EmptyRequestBody,org.apache.flink.runtime.rest.messages.JobPlanInfo,JarPlanMessageParameters>
Constructor and Description |
---|
JarPlanHandler(CompletableFuture<String> localRestAddress,
org.apache.flink.runtime.webmonitor.retriever.GatewayRetriever<? extends org.apache.flink.runtime.webmonitor.RestfulGateway> leaderRetriever,
org.apache.flink.api.common.time.Time timeout,
Map<String,String> responseHeaders,
org.apache.flink.runtime.rest.messages.MessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,org.apache.flink.runtime.rest.messages.JobPlanInfo,JarPlanMessageParameters> messageHeaders,
Path jarDir,
org.apache.flink.configuration.Configuration configuration,
Executor executor) |
Modifier and Type | Method and Description |
---|---|
protected CompletableFuture<org.apache.flink.runtime.rest.messages.JobPlanInfo> |
handleRequest(org.apache.flink.runtime.rest.handler.HandlerRequest<org.apache.flink.runtime.rest.messages.EmptyRequestBody,JarPlanMessageParameters> request,
org.apache.flink.runtime.webmonitor.RestfulGateway gateway) |
getMessageHeaders, respondToRequest
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public JarPlanHandler(CompletableFuture<String> localRestAddress, org.apache.flink.runtime.webmonitor.retriever.GatewayRetriever<? extends org.apache.flink.runtime.webmonitor.RestfulGateway> leaderRetriever, org.apache.flink.api.common.time.Time timeout, Map<String,String> responseHeaders, org.apache.flink.runtime.rest.messages.MessageHeaders<org.apache.flink.runtime.rest.messages.EmptyRequestBody,org.apache.flink.runtime.rest.messages.JobPlanInfo,JarPlanMessageParameters> messageHeaders, Path jarDir, org.apache.flink.configuration.Configuration configuration, Executor executor)
protected CompletableFuture<org.apache.flink.runtime.rest.messages.JobPlanInfo> handleRequest(@Nonnull org.apache.flink.runtime.rest.handler.HandlerRequest<org.apache.flink.runtime.rest.messages.EmptyRequestBody,JarPlanMessageParameters> request, @Nonnull org.apache.flink.runtime.webmonitor.RestfulGateway gateway) throws org.apache.flink.runtime.rest.handler.RestHandlerException
handleRequest
in class org.apache.flink.runtime.rest.handler.AbstractRestHandler<org.apache.flink.runtime.webmonitor.RestfulGateway,org.apache.flink.runtime.rest.messages.EmptyRequestBody,org.apache.flink.runtime.rest.messages.JobPlanInfo,JarPlanMessageParameters>
org.apache.flink.runtime.rest.handler.RestHandlerException
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.