Class ServerSentEventParser.Builder

  • Enclosing class:
    ServerSentEventParser

    public static final class ServerSentEventParser.Builder
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()  
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • appendData

        public void appendData​(java.lang.String value)
      • hasData

        public boolean hasData()
      • reset

        public void reset()
      • setId

        public void setId​(java.lang.String value)
      • setRetry

        public void setRetry​(int value,
                             int length)
      • setType

        public void setType​(java.lang.String value)
      • size

        public int size()