org.webbitserver
Class EventSourceMessage

java.lang.Object
  extended by org.webbitserver.EventSourceMessage

public class EventSourceMessage
extends Object


Constructor Summary
EventSourceMessage()
           
EventSourceMessage(String data)
           
 
Method Summary
 String build()
           
 EventSourceMessage comment(String data)
           
 EventSourceMessage data(String data)
           
 EventSourceMessage event(String event)
           
 EventSourceMessage id(long id)
           
 EventSourceMessage id(String id)
           
 EventSourceMessage retry(Long reconnectionTimeMillis)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventSourceMessage

public EventSourceMessage()

EventSourceMessage

public EventSourceMessage(String data)
Method Detail

data

public EventSourceMessage data(String data)

comment

public EventSourceMessage comment(String data)

id

public EventSourceMessage id(long id)

id

public EventSourceMessage id(String id)

event

public EventSourceMessage event(String event)

retry

public EventSourceMessage retry(Long reconnectionTimeMillis)

build

public String build()


Copyright © 2013. All Rights Reserved.