Package com.linecorp.armeria.common
Class EmptyHttpResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.armeria.common.EmptyHttpResponseException
- All Implemented Interfaces:
Serializable
An exception which is thrown when an
HttpResponse
without any headers
or body is attempted to be sent over the wire.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic EmptyHttpResponseException
get()
Returns aEmptyHttpResponseException
which may be a singleton or a new instance, depending onFlags.verboseExceptionSampler()
's decision.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
get
Returns aEmptyHttpResponseException
which may be a singleton or a new instance, depending onFlags.verboseExceptionSampler()
's decision.
-