A URLConnectionImpl is an abstract class that holds a URL and its connection state, and input and/or output streams
![]() | ~URLConnectionImpl () Destructor |
![]() | getURL () const Returns the url |
![]() | setDoInput (bool doInput) Sets the connection to do input |
![]() | getDoInput () const Returns an indication if this connection can be used for input |
![]() | setDoOutput (bool doOutput) Sets the connection to do output |
![]() | getDoOutput () const Returns an indication if this connection can be used for output |
![]() | isConnected () const Determines if there is a connection or not |
![]() | connect () Establishs a connection by calling the subclass doOpen method |
![]() | close () Closes the connection by calling doClose in the subclass |
![]() | getInputStream () Returns the input stream |
![]() | getOutputStream () Returns the output stream |
![]() | getContent () Returns the content of the input stream by calling the subclass method doGetContent that know how to read for this type of protocol |
![]() | paramString () const Returns a string representation for URLConnectionImpl which is used for debugging purposes |
![]() | URLConnectionImpl (const URL& url) Create this object |
![]() | doOpen () To open the connection |
![]() | doGetContent (InputStream &is) To get the content from the input stream |
![]() | doClose () Closes the connection |
![]() | doGetInputStream () Returns the input stream Must be implemented by the subclasses |
![]() | doGetOutputStream () Returns the output stream |
A URLConnectionImpl is an abstract class that holds a URL and its connection state, and input and/or output streams. The open, close, getInputSream, getOutputStream and getContent calls are implmented by the protocol-specific ConnectionImpls which are implemented in the same files as the protocol-specific URLHandlerImpls.
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de