public abstract class AbstractView extends Object
| 构造器和说明 |
|---|
AbstractView() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected ByteArrayOutputStream |
createTemporaryOutputStream() |
protected boolean |
generatesDownloadContent() |
String |
getContentType() |
protected abstract void |
renderOutputModel(Map<String,Object> model,
org.noear.solon.core.handle.Context ctx) |
void |
setContentType(String contentType) |
protected void |
writeToResponse(org.noear.solon.core.handle.Context ctx,
ByteArrayOutputStream baos) |
protected abstract void renderOutputModel(Map<String,Object> model, org.noear.solon.core.handle.Context ctx) throws Throwable
Throwableprotected boolean generatesDownloadContent()
protected ByteArrayOutputStream createTemporaryOutputStream()
protected void writeToResponse(org.noear.solon.core.handle.Context ctx,
ByteArrayOutputStream baos)
throws IOException
IOExceptionpublic void setContentType(String contentType)
public String getContentType()
Copyright © 2024. All rights reserved.