Modifier and Type | Method and Description |
---|---|
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 |
---|---|
protected OperationKey |
ClusterDataSetDeleteHandlers.ClusterDataSetDeleteTriggerHandler.createOperationKey(HandlerRequest<EmptyRequestBody,ClusterDataSetDeleteTriggerMessageParameters> request) |
protected OperationKey |
ClusterDataSetDeleteHandlers.ClusterDataSetDeleteStatusHandler.getOperationKey(HandlerRequest<EmptyRequestBody,ClusterDataSetDeleteStatusMessageParameters> request) |
protected CompletableFuture<ClusterDataSetListResponseBody> |
ClusterDataSetListHandler.handleRequest(HandlerRequest<EmptyRequestBody,EmptyMessageParameters> request,
ResourceManagerGateway gateway) |
protected CompletableFuture<Void> |
ClusterDataSetDeleteHandlers.ClusterDataSetDeleteTriggerHandler.triggerOperation(HandlerRequest<EmptyRequestBody,ClusterDataSetDeleteTriggerMessageParameters> request,
RestfulGateway gateway) |
Modifier and Type | Method and Description |
---|---|
protected CompletableFuture<ClientCoordinationResponseBody> |
ClientCoordinationHandler.handleRequest(HandlerRequest<ClientCoordinationRequestBody,ClientCoordinationMessageParameters> request,
RestfulGateway gateway) |
Modifier and Type | Method and Description |
---|---|
protected abstract CompletableFuture<P> |
AbstractResourceManagerHandler.handleRequest(HandlerRequest<R,M> request,
ResourceManagerGateway gateway) |
protected CompletableFuture<P> |
AbstractResourceManagerHandler.handleRequest(HandlerRequest<R,M> request,
T 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 |
---|---|
static <R extends JarRequestBody> |
JarHandlerUtils.JarHandlerContext.fromRequest(HandlerRequest<R,?> request,
Path jarDir,
org.slf4j.Logger log) |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.