|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.atmosphere.cpr.AsyncIOWriterAdapter
public abstract class AsyncIOWriterAdapter
Adapter class for AsyncIOWriter.
| Constructor Summary | |
|---|---|
AsyncIOWriterAdapter()
|
|
| Method Summary | |
|---|---|
void |
close(AtmosphereResponse r)
No OPS |
AsyncIOWriter |
flush(AtmosphereResponse r)
No OPS |
AsyncIOWriter |
redirect(AtmosphereResponse r,
String location)
No OPS |
AsyncIOWriter |
write(AtmosphereResponse r,
byte[] data)
No OPS |
AsyncIOWriter |
write(AtmosphereResponse r,
byte[] data,
int offset,
int length)
No OPS |
AsyncIOWriter |
write(AtmosphereResponse r,
String data)
No OPS |
AsyncIOWriter |
writeError(AtmosphereResponse r,
int errorCode,
String message)
No OPS |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AsyncIOWriterAdapter()
| Method Detail |
|---|
public AsyncIOWriter redirect(AtmosphereResponse r,
String location)
throws IOException
redirect in interface AsyncIOWriterIOException
public AsyncIOWriter writeError(AtmosphereResponse r,
int errorCode,
String message)
throws IOException
writeError in interface AsyncIOWritererrorCode - the error code
IOException
public AsyncIOWriter write(AtmosphereResponse r,
String data)
throws IOException
write in interface AsyncIOWriterdata - the WebSocket message
IOException
public AsyncIOWriter write(AtmosphereResponse r,
byte[] data)
throws IOException
write in interface AsyncIOWriterdata - the WebSocket message
IOException
public AsyncIOWriter write(AtmosphereResponse r,
byte[] data,
int offset,
int length)
throws IOException
write in interface AsyncIOWriterdata - the WebSocket messageoffset - offset of the messagelength - length if the message
IOException
public void close(AtmosphereResponse r)
throws IOException
close in interface AsyncIOWriterIOException
public AsyncIOWriter flush(AtmosphereResponse r)
throws IOException
flush in interface AsyncIOWriterIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||