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, toObject
public String fromObject(ActionInvocation invocation, Object obj, String resultCode, Writer out) throws IOException
IOException
public void toObject(ActionInvocation invocation, Reader in, Object target)
public String getExtension()
ContentTypeHandler
public String getContentType()
ContentTypeHandler
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.