@Contract(threading=SAFE_CONDITIONAL) public final class ClientSessionEndpoint extends Object implements ModalCloseable
Constructor and Description |
---|
ClientSessionEndpoint(IOSession ioSession) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
close(CloseMode closeMode) |
void |
execute(AsyncClientExchangeHandler exchangeHandler,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
HttpContext context) |
void |
execute(AsyncClientExchangeHandler exchangeHandler,
HttpContext context) |
<T> Future<T> |
execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
FutureCallback<T> callback) |
<T> Future<T> |
execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
HandlerFactory<AsyncPushConsumer> pushHandlerFactory,
HttpContext context,
FutureCallback<T> callback) |
<T> Future<T> |
execute(AsyncRequestProducer requestProducer,
AsyncResponseConsumer<T> responseConsumer,
HttpContext context,
FutureCallback<T> callback) |
void |
execute(Command command,
Command.Priority priority) |
boolean |
isOpen() |
String |
toString() |
public ClientSessionEndpoint(IOSession ioSession)
public void execute(Command command, Command.Priority priority)
public void execute(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context)
public void execute(AsyncClientExchangeHandler exchangeHandler, HttpContext context)
public <T> Future<T> execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context, FutureCallback<T> callback)
public <T> Future<T> execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, HttpContext context, FutureCallback<T> callback)
public <T> Future<T> execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, FutureCallback<T> callback)
public boolean isOpen()
public void close(CloseMode closeMode)
close
in interface ModalCloseable
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.