public class EntityConverterDefault extends AbstractEntityConverter
| Constructor and Description |
|---|
EntityConverterDefault() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowRead() |
boolean |
allowWrite() |
boolean |
canRead(org.noear.solon.core.handle.Context ctx,
String mime) |
boolean |
canWrite(String mime,
org.noear.solon.core.handle.Context ctx) |
static org.noear.solon.core.handle.EntityConverter |
instance() |
void |
write(Object data,
org.noear.solon.core.handle.Context ctx) |
String |
writeAndReturn(Object data,
org.noear.solon.core.handle.Context ctx) |
readchangeBody, changeEntityDo, changeValue, changeValueDo, doRead, doReadArgumentpublic static org.noear.solon.core.handle.EntityConverter instance()
public boolean allowWrite()
public boolean canWrite(String mime, org.noear.solon.core.handle.Context ctx)
public String writeAndReturn(Object data, org.noear.solon.core.handle.Context ctx) throws Throwable
Throwablepublic void write(Object data, org.noear.solon.core.handle.Context ctx) throws Throwable
Throwablepublic boolean allowRead()
public boolean canRead(org.noear.solon.core.handle.Context ctx,
String mime)
Copyright © 2025. All rights reserved.