Provides a convenient implementation of the
WebConnection interface that can be subclassed by developers
wishing to adapt a particular WebConnection.
This class implements the Wrapper or Decorator pattern. Methods default to calling through to the wrapped
web connection object.
version: $Revision: 2132 $ author: Marc Guillemot
WebConnectionWrapper(WebClient webClient) Constructs a WebConnection object wrapping the connection of the WebClient and places itself as
connection of the WebClient.
Constructs a WebConnection object wrapping provided WebConnection.
Parameters: webConnection - the webConnection that does the real work throws: IllegalArgumentException - if the connection is null
Constructs a WebConnection object wrapping the connection of the WebClient and places itself as
connection of the WebClient.
Parameters: webClient - the WebClient which WebConnection should be wrapped throws: IllegalArgumentException - if the WebClient is null