Package akka.http.scaladsl.model
Class StatusCodes.Informational
- java.lang.Object
-
- akka.http.javadsl.model.StatusCode
-
- akka.http.scaladsl.model.StatusCode
-
- akka.http.scaladsl.model.StatusCodes.HttpSuccess
-
- akka.http.scaladsl.model.StatusCodes.Informational
-
- All Implemented Interfaces:
LazyValueBytesRenderable,Renderable,java.io.Serializable,scala.Equals,scala.Product
- Enclosing class:
- StatusCodes
public static final class StatusCodes.Informational extends StatusCodes.HttpSuccess implements scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Informational(int intValue, java.lang.String reason, java.lang.String defaultMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowsEntity()Returns if a response with this status-code is allowed to be accompanied with a non-empty entity.java.lang.StringdefaultMessage()Returns the default message to be included as the content of an Http response with this status-code.intintValue()Returns the numeric code of this status code.booleanisRedirection()Returns if the status-code is a redirection status code.java.lang.Stringreason()Returns the reason message for this status code.-
Methods inherited from class akka.http.scaladsl.model.StatusCodes.HttpSuccess
isFailure, isSuccess
-
Methods inherited from class akka.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 akka.http.impl.util.LazyValueBytesRenderable
render, toString, valueBytes
-
-
-
-
Method Detail
-
intValue
public int intValue()
Description copied from class:StatusCodeReturns the numeric code of this status code.- Specified by:
intValuein classStatusCode
-
reason
public java.lang.String reason()
Description copied from class:StatusCodeReturns the reason message for this status code.- Specified by:
reasonin classStatusCode
-
defaultMessage
public java.lang.String defaultMessage()
Description copied from class:StatusCodeReturns the default message to be included as the content of an Http response with this status-code.- Specified by:
defaultMessagein classStatusCode
-
allowsEntity
public boolean allowsEntity()
Description copied from class:StatusCodeReturns if a response with this status-code is allowed to be accompanied with a non-empty entity.- Specified by:
allowsEntityin classStatusCode
-
isRedirection
public boolean isRedirection()
Description copied from class:StatusCodeReturns if the status-code is a redirection status code.- Specified by:
isRedirectionin classStatusCode
-
-