public class SseRender extends Object implements org.noear.solon.core.handle.Render
| Constructor and Description |
|---|
SseRender() |
| Modifier and Type | Method and Description |
|---|---|
static SseRender |
getInstance() |
boolean |
matched(org.noear.solon.core.handle.Context ctx,
String mime) |
static void |
pushSseHeaders(org.noear.solon.core.handle.Context ctx) |
void |
render(Object data,
org.noear.solon.core.handle.Context ctx) |
String |
renderAndReturn(Object data,
org.noear.solon.core.handle.Context ctx) |
public static SseRender getInstance()
public boolean matched(org.noear.solon.core.handle.Context ctx,
String mime)
matched in interface org.noear.solon.core.handle.Renderpublic String renderAndReturn(Object data, org.noear.solon.core.handle.Context ctx) throws Throwable
renderAndReturn in interface org.noear.solon.core.handle.RenderThrowablepublic static void pushSseHeaders(org.noear.solon.core.handle.Context ctx)
Copyright © 2025. All rights reserved.