Top Description Fields Constructors Methods
io.undertow.io

public Class DefaultIoCallback

extends Object
implements IoCallback
Class Inheritance
All Implemented Interfaces
io.undertow.io.IoCallback
Imports
java.io.IOException, io.undertow.UndertowLogger, io.undertow.server.HttpServerExchange, org.xnio.IoUtils

A default callback implementation that simply ends the exchange
Author
Stuart Douglas
See Also
IoCallback#END_EXCHANGE

Field Summary

Modifier and TypeField and Description
private static final IoCallback

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public void
public void
onException(final HttpServerExchange exchange, final Sender sender, final IOException exception)

Implements io.undertow.io.IoCallback.onException.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CALLBACKback to summary
private static final IoCallback CALLBACK

Constructor Detail

DefaultIoCallbackback to summary
protected DefaultIoCallback()

Method Detail

onCompleteback to summary
public void onComplete(final HttpServerExchange exchange, final Sender sender)

Implements io.undertow.io.IoCallback.onComplete.

Annotations
@Override
onExceptionback to summary
public void onException(final HttpServerExchange exchange, final Sender sender, final IOException exception)

Implements io.undertow.io.IoCallback.onException.

Annotations
@Override