HttpSvc.IQueryResponse Interface
com.bea.ide.core
HttpSvc.IQueryResponse Interface
- public static interface HttpSvc.IQueryResponse
Represents the response from the server. It contains either a Reader or
an InputStream, depending on the contenttype response from the server. text/XXX
content is provided by a properly-encoded Reader, while binary data is provided
by the InputStream.
-
Enclosing class
-
HttpSvc
public InputStream |
-
getInputStream ()
- Returns the InputStream for this IQueryResponse, or null if the data is not available
as an InputStream but rather as a Reader.
|
public Reader |
-
getReader ()
- Returns the Reader for this IQueryResponse, or null if the data is not available
as a Reader but rather as an InputStream.
|
getInputStream() Method
public InputStream
getInputStream()
Returns the InputStream for this IQueryResponse, or null if the data is not available
as an InputStream but rather as a Reader.
Returns
- InputStream, or null if the content is character data.
getReader() Method
public Reader
getReader()
Returns the Reader for this IQueryResponse, or null if the data is not available
as a Reader but rather as an InputStream.
Returns
- Reader, or null if the content is binary.