Home » struts- » org.apache » struts2 » rest » handler » [javadoc | source]
public class: MultipartFormDataHandler [javadoc | source]

All Implemented Interfaces:

Handles the default content type for requests that originate from a browser's HTML form with a file upload and multipart/from-data encoding content-type: multipart/form-data This handler is intended for requests only, not for responses http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4
Field Summary
public static final  String CONTENT_TYPE     
Method from org.apache.struts2.rest.handler.MultipartFormDataHandler Summary:
fromObject,   getContentType,   getExtension,   toObject
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.struts2.rest.handler.MultipartFormDataHandler Detail:
 public String fromObject(Object obj,
    String resultCode,
    Writer out) throws IOException 
 public String getContentType() 
 public String getExtension() 
    The extension is not used by this handler
 public  void toObject(Reader in,
    Object target) 
    No transformation is required as the framework handles this data