public abstract class BytesSerializerRender extends Object implements org.noear.solon.core.handle.Render
| 构造器和说明 |
|---|
BytesSerializerRender() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName()
获取渲染器名字
|
abstract ContextSerializer<byte[]> |
getSerializer()
获取序列化器
|
boolean |
matched(org.noear.solon.core.handle.Context ctx,
String accept)
匹配检测
|
void |
render(Object data,
org.noear.solon.core.handle.Context ctx)
渲染并输出
|
String |
renderAndReturn(Object data,
org.noear.solon.core.handle.Context ctx)
渲染并返回
|
public abstract ContextSerializer<byte[]> getSerializer()
public String getName()
getName 在接口中 org.noear.solon.core.handle.Renderpublic boolean matched(org.noear.solon.core.handle.Context ctx,
String accept)
matched 在接口中 org.noear.solon.core.handle.Renderpublic String renderAndReturn(Object data, org.noear.solon.core.handle.Context ctx) throws Throwable
renderAndReturn 在接口中 org.noear.solon.core.handle.RenderThrowableCopyright © 2024. All rights reserved.