Package io.undertow.server
Interface DefaultResponseListener
public interface DefaultResponseListener
Listener interface for default response handlers. These are handlers that generate default content
such as error pages.
- Author:
- Stuart Douglas
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AttachmentKey<Throwable>
If the default response listener was invoked as a result of an exception being thrown then the exception will be available under this attachment key. -
Method Summary
-
Field Details
-
EXCEPTION
If the default response listener was invoked as a result of an exception being thrown then the exception will be available under this attachment key.
-
-
Method Details
-
handleDefaultResponse
- Parameters:
exchange
- The exchange- Returns:
- true if this listener is generating a default response.
-