Package akka.http.scaladsl.model
Class StatusCodes.HttpSuccess
java.lang.Object
akka.http.javadsl.model.StatusCode
akka.http.scaladsl.model.StatusCode
akka.http.scaladsl.model.StatusCodes.HttpSuccess
- All Implemented Interfaces:
LazyValueBytesRenderable
,Renderable
- Direct Known Subclasses:
StatusCodes.Informational
,StatusCodes.Redirection
,StatusCodes.Success
- Enclosing class:
- StatusCodes
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class akka.http.scaladsl.model.StatusCode
allowsEntity, defaultMessage, int2StatusCode, intValue, isRedirection, reason, 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
-
Constructor Details
-
HttpSuccess
public HttpSuccess()
-
-
Method Details
-
isFailure
public boolean isFailure()Description copied from class:StatusCode
Returns if the status-code represents failure.- Specified by:
isFailure
in classStatusCode
-
isSuccess
public boolean isSuccess()Description copied from class:StatusCode
Returns if the status-code represents success.- Specified by:
isSuccess
in classStatusCode
-