play.data.parsing
Class DataParser
java.lang.Object
play.data.parsing.DataParser
- Direct Known Subclasses:
- ApacheMultipartParser, JsonParser, UrlEncodedParser
public abstract class DataParser
- extends java.lang.Object
A data parser parse the HTTP request data to a Map
Method Summary |
abstract java.util.Map<java.lang.String,java.lang.String[]> |
parse(java.io.InputStream is)
|
static void |
putMapEntry(java.util.Map<java.lang.String,java.lang.String[]> map,
java.lang.String name,
java.lang.String value)
|
static java.util.Map<java.lang.String,java.lang.String[]> |
resolveAndParse(Http.Request request)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parsers
public static java.util.Map<java.lang.String,DataParser> parsers
DataParser
public DataParser()
resolveAndParse
public static java.util.Map<java.lang.String,java.lang.String[]> resolveAndParse(Http.Request request)
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
parse
public abstract java.util.Map<java.lang.String,java.lang.String[]> parse(java.io.InputStream is)
putMapEntry
public static void putMapEntry(java.util.Map<java.lang.String,java.lang.String[]> map,
java.lang.String name,
java.lang.String value)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly