org.mortbay.cometd
Class JSONPTransport
java.lang.Object
org.mortbay.cometd.AbstractTransport
org.mortbay.cometd.JSONPTransport
- All Implemented Interfaces:
- Transport
public class JSONPTransport
- extends AbstractTransport
- Author:
- aabeling, gregw
__DEFAULT_CALLBACK
public static final String __DEFAULT_CALLBACK
- See Also:
- Constant Field Values
JSONPTransport
public JSONPTransport(boolean commented,
String jsonp)
send
public void send(Message message)
throws IOException
- Throws:
IOException
complete
public void complete()
throws IOException
- Throws:
IOException
alwaysResumePoll
public boolean alwaysResumePoll()
getJsonp
public String getJsonp()
toString
public String toString()
- Overrides:
toString
in class Object
isJSONCommented
public boolean isJSONCommented()
- Returns:
- the commented
setJSONCommented
public void setJSONCommented(boolean commented)
- Parameters:
commented
- the commented to set
Copyright © 2008 Mort Bay Consulting. All Rights Reserved.