public class VertxAsyncIOWriter
extends org.atmosphere.cpr.AtmosphereInterceptorWriter
| Constructor and Description |
|---|
VertxAsyncIOWriter(io.vertx.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,
java.lang.String data) |
org.atmosphere.cpr.AsyncIOWriter |
writeError(org.atmosphere.cpr.AtmosphereResponse r,
int errorCode,
java.lang.String message) |
public VertxAsyncIOWriter(io.vertx.core.http.HttpServerRequest request)
public boolean isClosed()
public org.atmosphere.cpr.AsyncIOWriter writeError(org.atmosphere.cpr.AtmosphereResponse r,
int errorCode,
java.lang.String message)
throws java.io.IOException
writeError in interface org.atmosphere.cpr.AsyncIOWriterwriteError in class org.atmosphere.cpr.AtmosphereInterceptorWriterjava.io.IOExceptionpublic org.atmosphere.cpr.AsyncIOWriter write(org.atmosphere.cpr.AtmosphereResponse r,
java.lang.String data)
throws java.io.IOException
write in interface org.atmosphere.cpr.AsyncIOWriterwrite in class org.atmosphere.cpr.AtmosphereInterceptorWriterjava.io.IOExceptionpublic org.atmosphere.cpr.AsyncIOWriter write(org.atmosphere.cpr.AtmosphereResponse r,
byte[] data)
throws java.io.IOException
write in interface org.atmosphere.cpr.AsyncIOWriterwrite in class org.atmosphere.cpr.AtmosphereInterceptorWriterjava.io.IOExceptionprotected byte[] transform(org.atmosphere.cpr.AtmosphereResponse response,
byte[] b,
int offset,
int length)
throws java.io.IOException
java.io.IOExceptionpublic org.atmosphere.cpr.AsyncIOWriter write(org.atmosphere.cpr.AtmosphereResponse r,
byte[] data,
int offset,
int length)
throws java.io.IOException
write in interface org.atmosphere.cpr.AsyncIOWriterwrite in class org.atmosphere.cpr.AtmosphereInterceptorWriterjava.io.IOExceptionpublic long lastTick()
public void close(org.atmosphere.cpr.AtmosphereResponse r)
throws java.io.IOException
close in interface org.atmosphere.cpr.AsyncIOWriterclose in class org.atmosphere.cpr.AtmosphereInterceptorWriterjava.io.IOExceptionCopyright © 2018. All Rights Reserved.