Class HttpResponseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.armeria.server.HttpResponseException
All Implemented Interfaces:
Serializable

public final class HttpResponseException
extends RuntimeException
A RuntimeException that is raised to send an HTTP response with the content specified by a user. This class holds an HttpResponse which would be sent back to the client who sent the corresponding request.
See Also:
HttpStatusException, Serialized Form