public class AsyncIOInterceptorAdapter extends Object implements AsyncIOInterceptor
AsyncIOInterceptor.| Constructor and Description |
|---|
AsyncIOInterceptorAdapter() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
error(AtmosphereResponse response,
int statusCode,
String reasonPhrase) |
void |
postPayload(AtmosphereResponse response,
byte[] data,
int offset,
int length) |
void |
prePayload(AtmosphereResponse response,
byte[] data,
int offset,
int length) |
void |
redirect(AtmosphereResponse response,
String location) |
byte[] |
transformPayload(AtmosphereResponse response,
byte[] responseDraft,
byte[] data) |
public void prePayload(AtmosphereResponse response, byte[] data, int offset, int length)
prePayload in interface AsyncIOInterceptorpublic byte[] transformPayload(AtmosphereResponse response, byte[] responseDraft, byte[] data) throws IOException
transformPayload in interface AsyncIOInterceptorIOExceptionpublic void postPayload(AtmosphereResponse response, byte[] data, int offset, int length)
postPayload in interface AsyncIOInterceptorpublic byte[] error(AtmosphereResponse response, int statusCode, String reasonPhrase)
error in interface AsyncIOInterceptorpublic void redirect(AtmosphereResponse response, String location)
redirect in interface AsyncIOInterceptorCopyright © 2016. All rights reserved.