Contents

Changes from Version 0.2-3

Here is a (not necessarily complete) list of changes and new features since Version 0.2-3. For more information see the rest of the documentation.

Upgrading from Version 0.2-3

There have been some changes which prevent V0.3 from being plug-in compatible with V0.2-X. However, these changes are mostly syntactical, and upgrading to V0.3 should be fairly straightforward and easy.

To ease the transition from Version 0.2-3 you can run the following sed script over your files. It won't do all the work, but it might help. If anybody wants to write a Windoze equivalent I'll put it up here. You can also download it directly.

#!/bin/sh
#
# Tries to upgrade methods from V0.2-3 to V0.3
#
# Those methods that have changed their signature are marked with the
# comment /* NEEDS WORK */
#
# Usage: upgrade < OldCode.java > NewCode.java
#

sed -e '
    s/\<AuthTypeNotImplementedException\>/AuthSchemeNotImplException/g
    s/\<ProtocolNotSupportedException\>/ProtocolNotSuppException/g
    s/\<Codecs.getParameter\>/Util.getParameter/g
    s/\<socksHost\>/HTTPClient.&/g
    s/\<socksPort\>/HTTPClient.&/g
    s/\<socksVersion\>/HTTPClient.&/g
    s/\<HTTPConnection\.addAuthorizationInfo\>/AuthorizationInfo\.addAuthorizationInfo \/* NEEDS WORK *\/ /g
    s/\<AuthorizationInfo\.setAuthHandler(null)/HTTPConnection\.setDefaultAllowUserInteraction(false)/g
'

# the end

[HTTPClient]


Ronald Tschalär / 30. January 1998 / ronald@innovation.ch.