@Internal public final class RequestExecutionCommand extends ExecutableCommand
Command.Priority| 构造器和说明 |
|---|
RequestExecutionCommand(AsyncClientExchangeHandler exchangeHandler,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
CancellableDependency cancellableDependency,
HttpContext context) |
RequestExecutionCommand(AsyncClientExchangeHandler exchangeHandler,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
HttpContext context) |
RequestExecutionCommand(AsyncClientExchangeHandler exchangeHandler,
HttpContext context) |
| 限定符和类型 | 方法和说明 |
|---|---|
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()
public HttpContext getContext()
public void failed(Exception ex)
failed 在类中 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 © 2023. All rights reserved.