public class VertxAsyncIOWriter
extends org.atmosphere.cpr.AtmosphereInterceptorWriter
| Constructor and Description |
|---|
VertxAsyncIOWriter(org.vertx.java.core.http.HttpServerRequest request) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.atmosphere.cpr.AtmosphereResponse r) |
boolean |
isClosed() |
long |
lastTick() |
protected byte[] |
transform(org.atmosphere.cpr.AtmosphereResponse response,
byte[] b,
int offset,
int length) |
org.atmosphere.cpr.AsyncIOWriter |
write(org.atmosphere.cpr.AtmosphereResponse r,
byte[] data) |
org.atmosphere.cpr.AsyncIOWriter |
write(org.atmosphere.cpr.AtmosphereResponse r,
byte[] data,
int offset,
int length) |
org.atmosphere.cpr.AsyncIOWriter |
write(org.atmosphere.cpr.AtmosphereResponse r,
String data) |
org.atmosphere.cpr.AsyncIOWriter |
writeError(org.atmosphere.cpr.AtmosphereResponse r,
int errorCode,
String message) |
public VertxAsyncIOWriter(org.vertx.java.core.http.HttpServerRequest request)
public boolean isClosed()
public org.atmosphere.cpr.AsyncIOWriter writeError(org.atmosphere.cpr.AtmosphereResponse r,
int errorCode,
String message)
throws IOException
writeError in interface org.atmosphere.cpr.AsyncIOWriterwriteError in class org.atmosphere.cpr.AtmosphereInterceptorWriterIOExceptionpublic org.atmosphere.cpr.AsyncIOWriter write(org.atmosphere.cpr.AtmosphereResponse r,
String data)
throws IOException
write in interface org.atmosphere.cpr.AsyncIOWriterwrite in class org.atmosphere.cpr.AtmosphereInterceptorWriterIOExceptionpublic org.atmosphere.cpr.AsyncIOWriter write(org.atmosphere.cpr.AtmosphereResponse r,
byte[] data)
throws IOException
write in interface org.atmosphere.cpr.AsyncIOWriterwrite in class org.atmosphere.cpr.AtmosphereInterceptorWriterIOExceptionprotected byte[] transform(org.atmosphere.cpr.AtmosphereResponse response,
byte[] b,
int offset,
int length)
throws IOException
IOExceptionpublic org.atmosphere.cpr.AsyncIOWriter write(org.atmosphere.cpr.AtmosphereResponse r,
byte[] data,
int offset,
int length)
throws IOException
write in interface org.atmosphere.cpr.AsyncIOWriterwrite in class org.atmosphere.cpr.AtmosphereInterceptorWriterIOExceptionpublic long lastTick()
public void close(org.atmosphere.cpr.AtmosphereResponse r)
throws IOException
close in interface org.atmosphere.cpr.AsyncIOWriterclose in class org.atmosphere.cpr.AtmosphereInterceptorWriterIOExceptionCopyright © 2015. All Rights Reserved.