public interface ResponseWriter
AuthenticationException
responses for different media types.
Implementations should be thread-safe.Modifier and Type | Method and Description |
---|---|
Collection<com.google.common.net.MediaType> |
handles()
Which media types can this handler handle.
|
String |
toString()
A short but useful description of this response writer.
|
void |
write(MessageContext context,
AuthenticationException exception)
Write the details of the exception out, and set the content type of the response.
|
Collection<com.google.common.net.MediaType> handles()
void write(MessageContext context, AuthenticationException exception)
context
- The MessageContext
containing the response to write the details to.exception
- The AuthenticationException
to be written.Copyright © 2010-2018, ForgeRock All Rights Reserved.