Class StatusCodes.HttpSuccess
java.lang.Object
org.apache.pekko.http.javadsl.model.StatusCode
org.apache.pekko.http.scaladsl.model.StatusCode
org.apache.pekko.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 org.apache.pekko.http.scaladsl.model.StatusCode
allowsEntity, defaultMessage, int2StatusCode, intValue, isRedirection, reason, valueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.http.impl.util.LazyValueBytesRenderable
render, toString, valueBytes
-
Constructor Details
-
HttpSuccess
public HttpSuccess()
-
-
Method Details
-
isFailure
public boolean isFailure()Description copied from class:StatusCodeReturns if the status-code represents failure.- Specified by:
isFailurein classStatusCode
-
isSuccess
public boolean isSuccess()Description copied from class:StatusCodeReturns if the status-code represents success.- Specified by:
isSuccessin classStatusCode
-