Home » struts-2.1.8.1-src » org.apache » struts2 » rest » handler » [javadoc | source]
org.apache.struts2.rest.handler
public class: FormUrlEncodedHandler [javadoc | source]
java.lang.Object
   org.apache.struts2.rest.handler.FormUrlEncodedHandler

All Implemented Interfaces:
    ContentTypeHandler

Handles the default content type for requests that originate from a browser's HTML form content-type: application/x-www-form-urlencoded 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.FormUrlEncodedHandler 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.FormUrlEncodedHandler 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