@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 ExecutableCommandpublic HttpContext getContext()
public void failed(Exception ex)
failed in class ExecutableCommandpublic boolean cancel()
Cancellabletrue 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.