Modifier and Type | Method and Description |
---|---|
CompletableFuture<R> |
LegacyRestHandler.handleRequest(HandlerRequest<EmptyRequestBody,M> request,
T gateway) |
protected CompletableFuture<R> |
LegacyRestHandlerAdapter.handleRequest(HandlerRequest<EmptyRequestBody,M> request,
T gateway) |
protected abstract CompletableFuture<P> |
AbstractRestHandler.handleRequest(HandlerRequest<R,M> request,
T gateway)
This method is called for every incoming request and returns a
CompletableFuture containing a the response. |
protected CompletableFuture<Void> |
AbstractRestHandler.respondToRequest(org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandlerContext ctx,
org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpRequest httpRequest,
HandlerRequest<R,M> handlerRequest,
T gateway) |
protected abstract CompletableFuture<Void> |
AbstractHandler.respondToRequest(org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandlerContext ctx,
org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpRequest httpRequest,
HandlerRequest<R,M> handlerRequest,
T gateway)
Respond to the given
HandlerRequest . |
Modifier and Type | Method and Description |
---|---|
protected abstract K |
AbstractAsynchronousOperationHandlers.TriggerHandler.createOperationKey(HandlerRequest<B,M> request)
Create the operation key under which the result future of the asynchronous operation will
be stored.
|
protected abstract K |
AbstractAsynchronousOperationHandlers.StatusHandler.getOperationKey(HandlerRequest<EmptyRequestBody,M> request)
Extract the operation key under which the operation result future is stored.
|
CompletableFuture<TriggerResponse> |
AbstractAsynchronousOperationHandlers.TriggerHandler.handleRequest(HandlerRequest<B,M> request,
T gateway) |
CompletableFuture<AsynchronousOperationResult<V>> |
AbstractAsynchronousOperationHandlers.StatusHandler.handleRequest(HandlerRequest<EmptyRequestBody,M> request,
T gateway) |
protected abstract CompletableFuture<R> |
AbstractAsynchronousOperationHandlers.TriggerHandler.triggerOperation(HandlerRequest<B,M> request,
T gateway)
Trigger the asynchronous operation and return its future result.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<DashboardConfiguration> |
DashboardConfigHandler.handleRequest(HandlerRequest<EmptyRequestBody,EmptyMessageParameters> request,
RestfulGateway gateway) |
protected CompletableFuture<ClusterConfigurationInfo> |
ClusterConfigHandler.handleRequest(HandlerRequest<EmptyRequestBody,EmptyMessageParameters> request,
RestfulGateway gateway) |
protected CompletableFuture<EmptyResponseBody> |
ShutdownHandler.handleRequest(HandlerRequest<EmptyRequestBody,EmptyMessageParameters> request,
RestfulGateway gateway) |
CompletableFuture<ClusterOverviewWithVersion> |
ClusterOverviewHandler.handleRequest(HandlerRequest<EmptyRequestBody,EmptyMessageParameters> request,
RestfulGateway gateway) |
Modifier and Type | Method and Description |
---|---|
protected AsynchronousJobOperationKey |
RescalingHandlers.RescalingTriggerHandler.createOperationKey(HandlerRequest<EmptyRequestBody,RescalingTriggerMessageParameters> request) |
protected AsynchronousJobOperationKey |
RescalingHandlers.RescalingStatusHandler.getOperationKey(HandlerRequest<EmptyRequestBody,RescalingStatusMessageParameters> request) |
protected CompletableFuture<Acknowledge> |
RescalingHandlers.RescalingTriggerHandler.triggerOperation(HandlerRequest<EmptyRequestBody,RescalingTriggerMessageParameters> request,
RestfulGateway gateway) |
Modifier and Type | Method and Description |
---|---|
protected CompletableFuture<TaskManagersInfo> |
TaskManagersHandler.handleRequest(HandlerRequest<EmptyRequestBody,EmptyMessageParameters> request,
ResourceManagerGateway gateway) |
protected CompletableFuture<TaskManagerDetailsInfo> |
TaskManagerDetailsHandler.handleRequest(HandlerRequest<EmptyRequestBody,TaskManagerMessageParameters> request,
ResourceManagerGateway gateway) |
protected CompletableFuture<Void> |
AbstractTaskManagerFileHandler.respondToRequest(org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandlerContext ctx,
org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpRequest httpRequest,
HandlerRequest<EmptyRequestBody,M> handlerRequest,
RestfulGateway gateway) |
Modifier and Type | Method and Description |
---|---|
static <X,P extends MessageQueryParameter<X>,R extends RequestBody,M extends MessageParameters> |
HandlerRequestUtils.getQueryParameter(HandlerRequest<R,M> request,
Class<P> queryParameterClass)
Returns the value of a query parameter, or
null if the query parameter is not set. |
static <X,P extends MessageQueryParameter<X>,R extends RequestBody,M extends MessageParameters> |
HandlerRequestUtils.getQueryParameter(HandlerRequest<R,M> request,
Class<P> queryParameterClass,
X defaultValue) |
Modifier and Type | Method and Description |
---|---|
protected CompletableFuture<JarListInfo> |
JarListHandler.handleRequest(HandlerRequest<EmptyRequestBody,EmptyMessageParameters> request,
RestfulGateway gateway) |
protected CompletableFuture<JarUploadResponseBody> |
JarUploadHandler.handleRequest(HandlerRequest<EmptyRequestBody,EmptyMessageParameters> request,
RestfulGateway gateway) |
protected CompletableFuture<EmptyResponseBody> |
JarDeleteHandler.handleRequest(HandlerRequest<EmptyRequestBody,JarDeleteMessageParameters> request,
RestfulGateway gateway) |
protected CompletableFuture<JobPlanInfo> |
JarPlanHandler.handleRequest(HandlerRequest<EmptyRequestBody,JarPlanMessageParameters> request,
RestfulGateway gateway) |
protected CompletableFuture<JarRunResponseBody> |
JarRunHandler.handleRequest(HandlerRequest<JarRunRequestBody,JarRunMessageParameters> request,
DispatcherGateway gateway) |
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.