com.sun.grizzly.cometd
Class CometdResponse<T>
java.lang.Object
com.sun.grizzly.cometd.CometdResponse<T>
public abstract class CometdResponse<T>
- extends Object
A wrapper providing a common view of a response for use by cometd;
- Author:
- Jeanfrancois Arcand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
response
protected T response
CometdResponse
public CometdResponse(T response)
getResponse
public T getResponse()
setResponse
public void setResponse(T response)
write
public abstract void write(String s)
throws IOException
- Throws:
IOException
flush
public abstract void flush()
throws IOException
- Throws:
IOException
setContentType
public abstract void setContentType(String s)
Copyright © 2009 SUN Microsystems. All Rights Reserved.