public final class HttpResponse extends Object
<http:response/>
element.Constructor and Description |
---|
HttpResponse(InputInfo info,
MainOptions options)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ValueIter |
getResponse(HttpURLConnection conn,
boolean body,
String mtype)
Constructs http:response element and reads HTTP response content.
|
public HttpResponse(InputInfo info, MainOptions options)
info
- input infooptions
- database optionspublic ValueIter getResponse(HttpURLConnection conn, boolean body, String mtype) throws IOException, QueryException
conn
- HTTP connectionbody
- also return bodymtype
- media type provided by the user (can be null
)IOException
- I/O ExceptionQueryException
- query exceptionCopyright © 2005–2015 BaseX Team. All rights reserved.