Class RetryAfter
java.lang.Object
org.apache.pekko.http.javadsl.model.HttpHeader
org.apache.pekko.http.scaladsl.model.HttpHeader
org.apache.pekko.http.javadsl.model.headers.RetryAfter
- All Implemented Interfaces:
- Renderable,- ToStringRenderable
- Direct Known Subclasses:
- Retry$minusAfter
Model for the `Retry-After` header. Specification:
 //https://tools.ietf.org/html/rfc7231#section-7.1.3
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.HttpHeaderHttpHeader.ParsingResult, HttpHeader.ParsingResult$
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic RetryAfterstatic RetryAfterprotected abstract scala.Option<DateTime>dateTime()protected abstract scala.Option<Long>the date for the retry attempt, if availablenumber of seconds for the retry attempt, if availableMethods inherited from class org.apache.pekko.http.scaladsl.model.HttpHeaderfastFind, is, isNot, lowercaseName, name, parse, unapply, unsafeToString, valueMethods inherited from class org.apache.pekko.http.javadsl.model.HttpHeaderparse, renderInRequests, renderInResponsesMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.http.impl.util.RenderablerenderMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderabletoString
- 
Constructor Details- 
RetryAfterpublic RetryAfter()
 
- 
- 
Method Details- 
delaySeconds
- 
dateTime
- 
getDelaySecondsnumber of seconds for the retry attempt, if available
- 
getDateTimethe date for the retry attempt, if available
- 
create
- 
create
 
-