Class StatusCodes.ClientError
java.lang.Object
org.apache.pekko.http.javadsl.model.StatusCode
org.apache.pekko.http.scaladsl.model.StatusCode
org.apache.pekko.http.scaladsl.model.StatusCodes.HttpFailure
org.apache.pekko.http.scaladsl.model.StatusCodes.ClientError
- All Implemented Interfaces:
Serializable
,LazyValueBytesRenderable
,Renderable
,scala.Equals
,scala.Product
- Enclosing class:
- StatusCodes
public static final class StatusCodes.ClientError
extends StatusCodes.HttpFailure
implements scala.Product, Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.pekko.http.scaladsl.model.StatusCodes.HttpFailure
allowsEntity, isFailure, isRedirection, isSuccess
Methods inherited from class org.apache.pekko.http.scaladsl.model.StatusCode
int2StatusCode, value
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface org.apache.pekko.http.impl.util.LazyValueBytesRenderable
render, toString, valueBytes
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
ClientError
-
-
Method Details
-
intValue
public int intValue()Description copied from class:StatusCode
Returns the numeric code of this status code.- Specified by:
intValue
in classStatusCode
-
reason
Description copied from class:StatusCode
Returns the reason message for this status code.- Specified by:
reason
in classStatusCode
-
defaultMessage
Description copied from class:StatusCode
Returns the default message to be included as the content of an Http response with this status-code.- Specified by:
defaultMessage
in classStatusCode
-