Package org.hcjf.io.net.http
Class FormUrlEncodedDecoder
- java.lang.Object
-
- org.hcjf.layers.Layer
-
- org.hcjf.io.net.http.FormUrlEncodedDecoder
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler,RequestBodyDecoderLayer,LayerInterface
public class FormUrlEncodedDecoder extends Layer implements RequestBodyDecoderLayer
This layer implementation contains the logic to decode a body using the form url encoding standard method, that correspond with the content type header 'application/x-www-form-urlencoded'- Author:
- javaito
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hcjf.layers.Layer
Layer.Access, Layer.LayerAgent, Layer.LayerAgentMBean
-
-
Constructor Summary
Constructors Constructor Description FormUrlEncodedDecoder()
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>decode(HttpRequest request)Decodes the request body that must be encoding with url encoding method.-
Methods inherited from class org.hcjf.layers.Layer
checkAccess, getAliases, getImplName, getLayer, getProxy, getSession, getTarget, invoke, isOverwritable, isPlugin, isStateful
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hcjf.layers.LayerInterface
getImplName, getRegex, isDistributed, isPlugin, isStateful
-
-
-
-
Method Detail
-
decode
public java.util.Map<java.lang.String,java.lang.Object> decode(HttpRequest request)
Decodes the request body that must be encoding with url encoding method.- Specified by:
decodein interfaceRequestBodyDecoderLayer- Parameters:
request- Http request instance.- Returns:
- Returns the map with all the decoded parameters.
-
-