public class AsyncListenerImpl extends java.lang.Object implements ContextAsyncListener
| 构造器和说明 |
|---|
AsyncListenerImpl(SseEmitterHandler handler) |
public AsyncListenerImpl(SseEmitterHandler handler)
public void onStart(Context ctx)
ContextAsyncListeneronStart 在接口中 ContextAsyncListenerctx - 请求上下文public void onComplete(Context ctx) throws java.io.IOException
ContextAsyncListeneronComplete 在接口中 ContextAsyncListenerctx - 请求上下文java.io.IOExceptionpublic void onTimeout(Context ctx) throws java.io.IOException
ContextAsyncListeneronTimeout 在接口中 ContextAsyncListenerctx - 请求上下文java.io.IOExceptionpublic void onError(Context ctx, java.lang.Throwable e) throws java.io.IOException
ContextAsyncListeneronError 在接口中 ContextAsyncListenerctx - 请求上下文e - 异步java.io.IOException