org.mortbay.cometd
Class JSONTransport
java.lang.Object
org.mortbay.cometd.AbstractTransport
org.mortbay.cometd.JSONTransport
- All Implemented Interfaces:
- Transport
public class JSONTransport
- extends AbstractTransport
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_contentType
protected String _contentType
_start
protected String _start
_end
protected String _end
JSONTransport
public JSONTransport(boolean commented)
isJSONCommented
public boolean isJSONCommented()
- Returns:
- the commented
setJSONCommented
public void setJSONCommented(boolean commented)
- Parameters:
commented
- the commented to set
send
public void send(Message message)
throws IOException
- Throws:
IOException
complete
public void complete()
throws IOException
- Throws:
IOException
alwaysResumePoll
public boolean alwaysResumePoll()
Copyright © 2008 Mort Bay Consulting. All Rights Reserved.