Package org.hcjf.io.net.http
Interface RequestBodyDecoderLayer
-
- All Superinterfaces:
java.lang.reflect.InvocationHandler,LayerInterface
- All Known Implementing Classes:
FormUrlEncodedDecoder,MultipartFormDataDecoder
public interface RequestBodyDecoderLayer extends LayerInterface
This class defines the interface to write the http request body parser for each content type.- Author:
- javaito
-
-
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 interface org.hcjf.layers.LayerInterface
getImplName, getRegex, isDistributed, isPlugin, isStateful
-
-
-
-
Method Detail
-
decode
java.util.Map<java.lang.String,java.lang.Object> decode(HttpRequest request)
Returns a map with the parameters parsed from the request body.- Parameters:
request- Http request instance.- Returns:
- Map with all the parameters.
-
-