public final class HttpPayload extends Object
Constructor and Description |
---|
HttpPayload(InputStream in,
boolean body,
InputInfo info,
MainOptions options)
Constructor.
|
public HttpPayload(InputStream in, boolean body, InputInfo info, MainOptions options)
in
- input streambody
- create bodyinfo
- input infooptions
- database optionspublic HashMap<String,Value> multiForm(String ext) throws IOException, QueryException
ext
- content type extension (may be null
)null
IOException
- I/O exceptionQueryException
- query exceptionpublic static Value value(IO in, MainOptions opts, String ctype, String ext) throws IOException, QueryException
in
- input sourceopts
- database optionsctype
- content typeext
- content type extension (may be null
)IOException
- I/O exceptionQueryException
- query exceptionCopyright © 2005–2015 BaseX Team. All rights reserved.