Uses of Class
org.apache.flink.runtime.rest.handler.RestHandlerException
Packages that use RestHandlerException
Package
Description
-
Uses of RestHandlerException in org.apache.flink.runtime.rest
Subclasses of RestHandlerException in org.apache.flink.runtime.restModifier and TypeClassDescriptionclassA special exception that indicates that an element was not found and that the request should be answered with a404return code. -
Uses of RestHandlerException in org.apache.flink.runtime.rest.handler
Methods in org.apache.flink.runtime.rest.handler that throw RestHandlerExceptionModifier and TypeMethodDescriptionprotected abstract CompletableFuture<P>AbstractRestHandler.handleRequest(HandlerRequest<R> request, T gateway) This method is called for every incoming request and returns aCompletableFuturecontaining a the response.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> handlerRequest, T gateway) Respond to the givenHandlerRequest. -
Uses of RestHandlerException in org.apache.flink.runtime.rest.handler.async
Methods in org.apache.flink.runtime.rest.handler.async that throw RestHandlerExceptionModifier and TypeMethodDescriptionAbstractAsynchronousOperationHandlers.StatusHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, T gateway) AbstractAsynchronousOperationHandlers.TriggerHandler.handleRequest(HandlerRequest<B> request, T gateway) protected abstract CompletableFuture<R>AbstractAsynchronousOperationHandlers.TriggerHandler.triggerOperation(HandlerRequest<B> request, T gateway) Trigger the asynchronous operation and return its future result. -
Uses of RestHandlerException in org.apache.flink.runtime.rest.handler.cluster
Methods in org.apache.flink.runtime.rest.handler.cluster that throw RestHandlerExceptionModifier and TypeMethodDescriptionprotected CompletableFuture<ConfigurationInfo>ClusterConfigHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected CompletableFuture<EnvironmentInfo>JobManagerEnvironmentHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected CompletableFuture<LogListInfo>JobManagerLogListHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected CompletableFuture<ProfilingInfo>JobManagerProfilingHandler.handleRequest(HandlerRequest<ProfilingRequestBody> request, RestfulGateway gateway) protected CompletableFuture<ProfilingInfoList>JobManagerProfilingListHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected CompletableFuture<ThreadDumpInfo>JobManagerThreadDumpHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected CompletableFuture<EmptyResponseBody>ShutdownHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) -
Uses of RestHandlerException in org.apache.flink.runtime.rest.handler.dataset
Methods in org.apache.flink.runtime.rest.handler.dataset that throw RestHandlerExceptionModifier and TypeMethodDescriptionprotected CompletableFuture<ClusterDataSetListResponseBody>ClusterDataSetListHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, ResourceManagerGateway gateway) ClusterDataSetDeleteHandlers.ClusterDataSetDeleteTriggerHandler.triggerOperation(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) -
Uses of RestHandlerException in org.apache.flink.runtime.rest.handler.job
Methods in org.apache.flink.runtime.rest.handler.job that throw RestHandlerExceptionModifier and TypeMethodDescriptionprotected abstract RAbstractAccessExecutionGraphHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionGraph executionGraph) protected RAbstractAccessExecutionGraphHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, ExecutionGraphInfo executionGraphInfo) protected abstract RAbstractExecutionGraphHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, ExecutionGraphInfo executionGraphInfo) Called for each request after the correspondingExecutionGraphInfohas been retrieved from theExecutionGraphCache.protected CompletableFuture<R>AbstractExecutionGraphHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected RAbstractJobVertexHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionGraph executionGraph) protected abstract RAbstractJobVertexHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionJobVertex jobVertex) Called for each request after the correspondingAccessExecutionJobVertexhas been retrieved from theAccessExecutionGraph.protected abstract RAbstractSubtaskAttemptHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecution execution) Called for each request after the correspondingAccessExecutionhas been retrieved from theAccessExecutionVertex.protected RAbstractSubtaskAttemptHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionVertex executionVertex) protected RAbstractSubtaskHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionJobVertex jobVertex) protected abstract RAbstractSubtaskHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionVertex executionVertex) Called for each request after the correspondingAccessExecutionVertexhas been retrieved from theAccessExecutionJobVertex.protected JobAccumulatorsInfoJobAccumulatorsHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionGraph graph) JobCancellationHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) JobClientHeartbeatHandler.handleRequest(HandlerRequest<JobClientHeartbeatRequestBody> request, RestfulGateway gateway) protected JobDetailsInfoJobDetailsHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionGraph executionGraph) protected CompletableFuture<JobExecutionResultResponseBody>JobExecutionResultHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected CompletableFuture<JobIdsWithStatusOverview>JobIdsHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected CompletableFuture<ConfigurationInfo>JobManagerJobConfigurationHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected CompletableFuture<EnvironmentInfo>JobManagerJobEnvironmentHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected JobPlanInfoJobPlanHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionGraph executionGraph) protected CompletableFuture<JobResourceRequirementsBody>JobResourceRequirementsHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected CompletableFuture<EmptyResponseBody>JobResourceRequirementsUpdateHandler.handleRequest(HandlerRequest<JobResourceRequirementsBody> request, RestfulGateway gateway) protected CompletableFuture<MultipleJobsDetails>JobsOverviewHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected CompletableFuture<JobStatusInfo>JobStatusHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected CompletableFuture<JobSubmitResponseBody>JobSubmitHandler.handleRequest(HandlerRequest<JobSubmitRequestBody> request, DispatcherGateway gateway) protected JobVertexAccumulatorsInfoJobVertexAccumulatorsHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionJobVertex jobVertex) protected CompletableFuture<JobVertexBackPressureInfo>JobVertexBackPressureHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected VertexFlameGraphJobVertexFlameGraphHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionJobVertex jobVertex) protected JobVertexTaskManagersInfoJobVertexTaskManagersHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionGraph executionGraph) protected SubtaskExecutionAttemptDetailsInfoSubtaskCurrentAttemptDetailsHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionVertex executionVertex) protected SubtaskExecutionAttemptAccumulatorsInfoSubtaskExecutionAttemptAccumulatorsHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecution execution) protected SubtaskExecutionAttemptDetailsInfoSubtaskExecutionAttemptDetailsHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecution execution) protected SubtasksAllAccumulatorsInfoSubtasksAllAccumulatorsHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionJobVertex jobVertex) -
Uses of RestHandlerException in org.apache.flink.runtime.rest.handler.job.checkpoints
Methods in org.apache.flink.runtime.rest.handler.job.checkpoints that throw RestHandlerExceptionModifier and TypeMethodDescriptionprotected abstract RAbstractCheckpointHandler.handleCheckpointRequest(HandlerRequest<EmptyRequestBody> request, AbstractCheckpointStats checkpointStats) Called for each request with the correspondingAbstractCheckpointStatsinstance.TaskCheckpointStatisticDetailsHandler.handleCheckpointRequest(HandlerRequest<EmptyRequestBody> request, AbstractCheckpointStats checkpointStats) protected RAbstractCheckpointHandler.handleCheckpointStatsRequest(HandlerRequest<EmptyRequestBody> request, CheckpointStatsSnapshot checkpointStatsSnapshot) protected abstract RAbstractCheckpointStatsHandler.handleCheckpointStatsRequest(HandlerRequest<EmptyRequestBody> request, CheckpointStatsSnapshot checkpointStatsSnapshot) protected CheckpointingStatisticsCheckpointingStatisticsHandler.handleCheckpointStatsRequest(HandlerRequest<EmptyRequestBody> request, CheckpointStatsSnapshot checkpointStatsSnapshot) protected CompletableFuture<R>AbstractCheckpointStatsHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected CheckpointConfigInfoCheckpointConfigHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionGraph executionGraph) CheckpointHandlers.CheckpointStatusHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected CompletableFuture<TriggerResponse>CheckpointHandlers.CheckpointTriggerHandler.handleRequest(HandlerRequest<CheckpointTriggerRequestBody> request, RestfulGateway gateway) -
Uses of RestHandlerException in org.apache.flink.runtime.rest.handler.job.coordination
Methods in org.apache.flink.runtime.rest.handler.job.coordination that throw RestHandlerExceptionModifier and TypeMethodDescriptionprotected CompletableFuture<ClientCoordinationResponseBody>ClientCoordinationHandler.handleRequest(HandlerRequest<ClientCoordinationRequestBody> request, RestfulGateway gateway) -
Uses of RestHandlerException in org.apache.flink.runtime.rest.handler.job.metrics
Methods in org.apache.flink.runtime.rest.handler.job.metrics that throw RestHandlerExceptionModifier and TypeMethodDescriptionprotected CompletableFuture<AggregatedMetricsResponseBody>AbstractAggregatingMetricsHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected final CompletableFuture<MetricCollectionResponseBody>AbstractMetricsHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected MetricCollectionResponseBodyJobVertexWatermarksHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, AccessExecutionJobVertex jobVertex) -
Uses of RestHandlerException in org.apache.flink.runtime.rest.handler.job.rescaling
Methods in org.apache.flink.runtime.rest.handler.job.rescaling that throw RestHandlerExceptionModifier and TypeMethodDescriptionRescalingHandlers.RescalingStatusHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) RescalingHandlers.RescalingTriggerHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) -
Uses of RestHandlerException in org.apache.flink.runtime.rest.handler.job.savepoints
Methods in org.apache.flink.runtime.rest.handler.job.savepoints that throw RestHandlerExceptionModifier and TypeMethodDescriptionSavepointHandlers.SavepointStatusHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, RestfulGateway gateway) protected CompletableFuture<Acknowledge>SavepointDisposalHandlers.SavepointDisposalTriggerHandler.triggerOperation(HandlerRequest<SavepointDisposalRequest> request, RestfulGateway gateway) protected CompletableFuture<Acknowledge>SavepointHandlers.SavepointTriggerHandler.triggerOperation(HandlerRequest<SavepointTriggerRequestBody> request, AsynchronousJobOperationKey operationKey, RestfulGateway gateway) protected CompletableFuture<Acknowledge>SavepointHandlers.StopWithSavepointHandler.triggerOperation(HandlerRequest<StopWithSavepointRequestBody> request, AsynchronousJobOperationKey operationKey, RestfulGateway gateway) -
Uses of RestHandlerException in org.apache.flink.runtime.rest.handler.legacy.files
Methods in org.apache.flink.runtime.rest.handler.legacy.files that throw RestHandlerExceptionModifier and TypeMethodDescriptionstatic voidStaticFileServerHandler.checkFileValidity(File file, File rootPath, org.slf4j.Logger logger) Checks various conditions for file access. -
Uses of RestHandlerException in org.apache.flink.runtime.rest.handler.resourcemanager
Methods in org.apache.flink.runtime.rest.handler.resourcemanager that throw RestHandlerExceptionModifier and TypeMethodDescriptionstatic ResourceManagerGatewayAbstractResourceManagerHandler.getResourceManagerGateway(GatewayRetriever<ResourceManagerGateway> resourceManagerGatewayRetriever) protected abstract CompletableFuture<P>AbstractResourceManagerHandler.handleRequest(HandlerRequest<R> request, ResourceManagerGateway gateway) protected CompletableFuture<P>AbstractResourceManagerHandler.handleRequest(HandlerRequest<R> request, T gateway) -
Uses of RestHandlerException in org.apache.flink.runtime.rest.handler.taskmanager
Methods in org.apache.flink.runtime.rest.handler.taskmanager that throw RestHandlerExceptionModifier and TypeMethodDescriptionprotected CompletableFuture<TaskManagerDetailsInfo>TaskManagerDetailsHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, ResourceManagerGateway gateway) protected CompletableFuture<LogListInfo>TaskManagerLogListHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, ResourceManagerGateway gateway) protected CompletableFuture<ProfilingInfo>TaskManagerProfilingHandler.handleRequest(HandlerRequest<ProfilingRequestBody> request, ResourceManagerGateway gateway) protected CompletableFuture<ProfilingInfoList>TaskManagerProfilingListHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, ResourceManagerGateway gateway) protected CompletableFuture<TaskManagersInfo>TaskManagersHandler.handleRequest(HandlerRequest<EmptyRequestBody> request, ResourceManagerGateway gateway) protected CompletableFuture<ThreadDumpInfo>TaskManagerThreadDumpHandler.handleRequest(HandlerRequest<EmptyRequestBody> 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> handlerRequest, RestfulGateway gateway) -
Uses of RestHandlerException in org.apache.flink.runtime.rest.handler.util
Method parameters in org.apache.flink.runtime.rest.handler.util with type arguments of type RestHandlerExceptionModifier and TypeMethodDescriptionstatic <T> THandlerRequestUtils.fromRequestBodyOrQueryParameter(T requestValue, org.apache.flink.util.function.SupplierWithException<T, RestHandlerException> queryParameterExtractor, T defaultValue, org.slf4j.Logger log) ReturnsrequestValueif it is not null, otherwise returns the query parameter value if it is not null, otherwise returns the default value.Methods in org.apache.flink.runtime.rest.handler.util that throw RestHandlerExceptionModifier and TypeMethodDescriptionstatic <T> THandlerRequestUtils.fromRequestBodyOrQueryParameter(T requestValue, org.apache.flink.util.function.SupplierWithException<T, RestHandlerException> queryParameterExtractor, T defaultValue, org.slf4j.Logger log) ReturnsrequestValueif it is not null, otherwise returns the query parameter value if it is not null, otherwise returns the default value.static <X,P extends MessageQueryParameter<X>, R extends RequestBody, M extends MessageParameters>
XHandlerRequestUtils.getQueryParameter(HandlerRequest<R> request, Class<P> queryParameterClass) Returns the value of a query parameter, ornullif the query parameter is not set.static <X,P extends MessageQueryParameter<X>, R extends RequestBody, M extends MessageParameters>
XHandlerRequestUtils.getQueryParameter(HandlerRequest<R> request, Class<P> queryParameterClass, X defaultValue)