public class AsyncListenerImpl extends Object implements org.noear.solon.core.handle.ContextAsyncListener
| Constructor and Description |
|---|
AsyncListenerImpl(SseEmitterHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete(org.noear.solon.core.handle.Context ctx) |
void |
onError(org.noear.solon.core.handle.Context ctx,
Throwable e) |
void |
onStart(org.noear.solon.core.handle.Context ctx) |
void |
onTimeout(org.noear.solon.core.handle.Context ctx) |
public AsyncListenerImpl(SseEmitterHandler handler)
public void onStart(org.noear.solon.core.handle.Context ctx)
onStart in interface org.noear.solon.core.handle.ContextAsyncListenerpublic void onComplete(org.noear.solon.core.handle.Context ctx)
throws IOException
onComplete in interface org.noear.solon.core.handle.ContextAsyncListenerIOExceptionpublic void onTimeout(org.noear.solon.core.handle.Context ctx)
throws IOException
onTimeout in interface org.noear.solon.core.handle.ContextAsyncListenerIOExceptionpublic void onError(org.noear.solon.core.handle.Context ctx,
Throwable e)
throws IOException
onError in interface org.noear.solon.core.handle.ContextAsyncListenerIOExceptionCopyright © 2025. All rights reserved.