| java.lang.Object HTTPClient.ResponseHandler
ResponseHandler | final class ResponseHandler implements GlobalConstants(Code) | | This holds various information about an active response. Used by the
StreamDemultiplexor and RespInputStream.
version: 0.3-2 18/06/1999 author: Ronald Tschalär since: V0.2 |
eof | boolean eof(Code) | | signals that the demux has closed the response stream, and that
therefore no more data can be read
|
exception | IOException exception(Code) | | this is non-null if the stream has an exception pending
|
ResponseHandler | ResponseHandler(Response resp, Request request, StreamDemultiplexor demux)(Code) | | Creates a new handler. This also allocates the response input
stream.
Parameters: resp - the reponse Parameters: request - the request Parameters: demux - our stream demultiplexor. |
getEndBoundary | byte[] getEndBoundary(ExtBufferedInputStream MasterStream) throws IOException, ParseException(Code) | | return the boundary string for this response. Set's up the
InputStream buffer if neccessary.
Parameters: MasterStream - the input stream from which the stream demuxis reading. the boundary string. |
getEndCompiled | int[] getEndCompiled(ExtBufferedInputStream MasterStream) throws IOException, ParseException(Code) | | return the compilation of the boundary string for this response.
Set's up the InputStream buffer if neccessary.
Parameters: MasterStream - the input stream from which the stream demuxis reading. the compiled boundary string. |
|
|