Class LastEventId

All Implemented Interfaces:
Renderable, ToStringRenderable
Direct Known Subclasses:

public abstract class LastEventId extends HttpHeader
The Last-Event-ID header is sent by a client to the server to signal the ID of the last sever-sent event received.
  • Constructor Details

    • LastEventId

      public LastEventId()
  • Method Details

    • create

      public static LastEventId create(String id)
      Creates a Last-Event-ID header.
      id - ID of the last event, encoded as UTF-8 string
      See Also:
    • id

      public abstract String id()