public class TextResult extends Object implements ActionResult
| Modifier and Type | Field and Description |
|---|---|
protected String |
content |
protected String |
contentEncoding |
protected String |
contentType |
EMPTY| Constructor and Description |
|---|
TextResult(String content,
String contentType) |
TextResult(String content,
String contentType,
String contentEncoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
RequestContext requestContext) |
protected String content
protected String contentType
protected String contentEncoding
public void execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
RequestContext requestContext)
throws Exception
execute in interface ActionResultExceptionCopyright © 2021. All rights reserved.