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
Constructor Summary |
JSONPTransport(boolean commented,
java.lang.String jsonp)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
__DEFAULT_CALLBACK
public static final java.lang.String __DEFAULT_CALLBACK
- See Also:
- Constant Field Values
JSONPTransport
public JSONPTransport(boolean commented,
java.lang.String jsonp)
send
public void send(org.cometd.Message message)
throws java.io.IOException
- Throws:
java.io.IOException
complete
public void complete()
throws java.io.IOException
- Throws:
java.io.IOException
resumePoll
public boolean resumePoll()
getJsonp
public java.lang.String getJsonp()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
isJSONCommented
public boolean isJSONCommented()
- Returns:
- the commented
setJSONCommented
public void setJSONCommented(boolean commented)
- Parameters:
commented
- the commented to set
Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.