public interface IoCallback<T>
| Modifier and Type | Field and Description |
|---|---|
static IoCallback |
END_EXCHANGE
A default callback that simply ends the exchange.
|
static org.jboss.logging.Logger |
log |
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete(HttpExchange exchange,
T context) |
default void |
onException(HttpExchange exchange,
T context,
IOException exception) |
static final org.jboss.logging.Logger log
static final IoCallback END_EXCHANGE
void onComplete(HttpExchange exchange, T context)
default void onException(HttpExchange exchange, T context, IOException exception)
Copyright © 2020 JBoss by Red Hat. All rights reserved.