|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.util.http.HTTPResponse
public final class HTTPResponse
HTTP response handler. Reads HTTP response and constructs the
<http:response/>
element.
Constructor Summary | |
---|---|
HTTPResponse(InputInfo ii,
Prop pr)
Constructor. |
Method Summary | |
---|---|
ValueIter |
getResponse(java.net.HttpURLConnection conn,
byte[] status,
java.lang.String utype)
Constructs http:response element and reads HTTP response content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTTPResponse(InputInfo ii, Prop pr)
ii
- input infopr
- database propertiesMethod Detail |
---|
public ValueIter getResponse(java.net.HttpURLConnection conn, byte[] status, java.lang.String utype) throws java.io.IOException, QueryException
conn
- HTTP connectionstatus
- indicates if content is requiredutype
- content type provided by the user to interpret the
response content
java.io.IOException
- I/O Exception
QueryException
- query exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |