public final class HTTPResponse
extends java.lang.Object
<http:response/> element.| Constructor and Description |
|---|
HTTPResponse(InputInfo ii,
Prop pr)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ValueIter |
getResponse(java.net.HttpURLConnection conn,
byte[] status,
byte[] mediaTypeOvr)
Constructs http:response element and reads HTTP response content.
|
public ValueIter getResponse(java.net.HttpURLConnection conn, byte[] status, byte[] mediaTypeOvr) throws java.io.IOException, QueryException
conn - HTTP connectionstatus - indicates if content is requiredmediaTypeOvr - content type provided by the user to interpret the
response contentjava.io.IOException - I/O ExceptionQueryException - query exception