@Internal public final class RequestExecutionCommand extends ExecutableCommand
Command.Priority
Constructor and Description |
---|
RequestExecutionCommand(AsyncClientExchangeHandler exchangeHandler,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
CancellableDependency cancellableDependency,
HttpContext context) |
RequestExecutionCommand(AsyncClientExchangeHandler exchangeHandler,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
HttpContext context) |
RequestExecutionCommand(AsyncClientExchangeHandler exchangeHandler,
HttpContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel()
Cancels the ongoing operation or process.
|
void |
failed(Exception ex) |
CancellableDependency |
getCancellableDependency() |
HttpContext |
getContext() |
AsyncClientExchangeHandler |
getExchangeHandler() |
HandlerFactory<AsyncPushConsumer> |
getPushHandlerFactory() |
public RequestExecutionCommand(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, CancellableDependency cancellableDependency, HttpContext context)
public RequestExecutionCommand(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context)
public RequestExecutionCommand(AsyncClientExchangeHandler exchangeHandler, HttpContext context)
public AsyncClientExchangeHandler getExchangeHandler()
public HandlerFactory<AsyncPushConsumer> getPushHandlerFactory()
public CancellableDependency getCancellableDependency()
getCancellableDependency
in class ExecutableCommand
public HttpContext getContext()
public void failed(Exception ex)
failed
in class ExecutableCommand
public boolean cancel()
Cancellable
true
if the operation or process has been cancelled as a result of
this method call or false
if it has already been cancelled or not started.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.