public class MultipartFormDataHandler extends AbstractContentTypeHandler
| Modifier and Type | Field and Description | 
|---|---|
| static String | CONTENT_TYPE | 
| Constructor and Description | 
|---|
| MultipartFormDataHandler() | 
| 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)No transformation is required as the framework handles this data | 
fromObject, toObjectpublic static final String CONTENT_TYPE
public String fromObject(ActionInvocation invocation, Object obj, String resultCode, Writer out) throws IOException
IOExceptionpublic void toObject(ActionInvocation invocation, Reader in, Object target)
in - The input stream, usually the body of the requesttarget - The target, usually the action classpublic String getExtension()
ContentTypeHandlerpublic String getContentType()
ContentTypeHandlerCopyright © 2000–2025 Apache Software Foundation. All rights reserved.