Class LastEventId
java.lang.Object
org.apache.pekko.http.javadsl.model.HttpHeader
org.apache.pekko.http.scaladsl.model.HttpHeader
org.apache.pekko.http.javadsl.model.headers.LastEventId
- All Implemented Interfaces:
- Renderable,- ToStringRenderable
- Direct Known Subclasses:
- Last$minusEvent$minusID
The Last-Event-ID header is sent by a client to the server to signal the ID of the last
 sever-sent event received.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.HttpHeaderHttpHeader.ParsingResult, HttpHeader.ParsingResult$
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic LastEventIdCreates a Last-Event-ID header.abstract Stringid()Methods 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- 
LastEventIdpublic LastEventId()
 
- 
- 
Method Details- 
createCreates a Last-Event-ID header.- Parameters:
- id- ID of the last event, encoded as UTF-8 string
- See Also:
 
- 
id
 
-