public class HtmlHandler extends AbstractContentTypeHandler
| Constructor and Description |
|---|
HtmlHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
fromObject(ActionInvocation invocation,
Object obj,
String resultCode,
Writer out) |
String |
getContentType()
Gets the content type for this handler
|
String |
getExtension()
Gets the extension this handler supports
|
void |
toObject(ActionInvocation invocation,
Reader in,
Object target) |
fromObject, toObjectpublic String fromObject(ActionInvocation invocation, Object obj, String resultCode, Writer out) throws IOException
IOExceptionpublic void toObject(ActionInvocation invocation, Reader in, Object target)
public String getExtension()
ContentTypeHandlerpublic String getContentType()
ContentTypeHandlerCopyright © 2000–2020 Apache Software Foundation. All rights reserved.