org.qtunes.webcontrol
Class HttpParser
java.lang.Object
org.qtunes.auth.control.JSONParser
org.qtunes.webcontrol.HttpParser
- All Implemented Interfaces:
- ParamParser
public class HttpParser
- extends JSONParser
A ParamParser that takes its input in the form
"object/method?key=value[&key=value...]&session=sessionid",
ie the same way a request would typically be made via HTTP.
Complex values are encoded as JSON, eg
"object/method?array=[1,3,5,6]&map={'key':'value'}".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpParser
public HttpParser(ServiceContext context,
String prefix)
parse
public void parse(String in)
throws Exception
- Specified by:
parse
in interface ParamParser
- Overrides:
parse
in class JSONParser
- Throws:
Exception