Package org.hcjf.io.net.http
Class MultipartFormDataDecoder
- java.lang.Object
-
- org.hcjf.layers.Layer
-
- org.hcjf.io.net.http.MultipartFormDataDecoder
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler,RequestBodyDecoderLayer,LayerInterface
public class MultipartFormDataDecoder 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 'multipart/form-data'- 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 MultipartFormDataDecoder()
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>decode(HttpRequest request)Returns a map with the parameters parsed from the request body.-
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)
Description copied from interface:RequestBodyDecoderLayerReturns a map with the parameters parsed from the request body.- Specified by:
decodein interfaceRequestBodyDecoderLayer- Parameters:
request- Http request instance.- Returns:
- Map with all the parameters.
-
-