You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Sean C. Sullivan" <se...@seansullivan.com> on 2002/09/08 07:49:17 UTC

[httpclient] HttpConnection class - getResponseInputStream

class: HttpConnection

Why does the getResponseInputStream method have 
an HttpMethod parameter?

It appears that the parameter is not used.

Details below.

-Sean

public InputStream getResponseInputStream(HttpMethod method) 
throws IOException, IllegalStateException {

log.trace("enter HttpConnection.getRequestOutputStream(HttpMethod)");
assertOpen();
return _input;

}



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [httpclient] HttpConnection class - getResponseInputStream

Posted by di...@multitask.com.au.
Ya got me....looks unused :)
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers


"Sean C. Sullivan" <se...@seansullivan.com> wrote on 08/09/2002 03:49:17 
PM:

> class: HttpConnection
> 
> Why does the getResponseInputStream method have 
> an HttpMethod parameter?
> 
> It appears that the parameter is not used.
> 
> Details below.
> 
> -Sean
> 
> public InputStream getResponseInputStream(HttpMethod method) 
> throws IOException, IllegalStateException {
> 
> log.trace("enter HttpConnection.getRequestOutputStream(HttpMethod)");
> assertOpen();
> return _input;
> 
> }
> 
> 
> 
> --
> To unsubscribe, e-mail: 
<ma...@jakarta.apache.org>
> For additional commands, e-mail: 
<ma...@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>