Public Class Methods : SstUrl
buildUrlFromString: schemeSpecificData scheme: scheme transport: givenTransport
"ACTION
Build a new instance of the receiver derived from @schemeSpecificData,
the scheme-specific component of a URL (as defined in RFC1738). The
receiver is free to parse @schemeSpecificData in any way. The scheme
given for this URL is given as @scheme. If @givenTransport is not nil
then it should be used as the transport identifier regardless of any possible
identifier derived from @schemeSpecificPart. Answer nil if @schemeSpecificData is
PARAMETERS
schemeSpecificPart : <String>
scheme : <String>
givenTransport : nil | <String>
RETURN VALUE
<IuSstUrl> | nil"
Categories
SST-API Developer
generateInternetUrlFrom: stream scheme: scheme defaultTransport: defaultTransport
"ACTION
Do the common parsing for an internet-style URL '//hostname/'
from the contents of @stream, but with allowing an SST extension
for a transport to be specified within the first two slashes
('/transport/hostname/'). If no such transport identifier is found,
then substitute @defaultTransport. Answer an instance of self
with the transport and address slots filled in, or nil if the URL is
not valid. @stream will be advanced past a trailing $/.
PARAMETERS
stream : <readablePositionableStream>
scheme : <String>
defaultTransport : <String>
RETURN VALUE
<instance of self> | nil"
Categories
SST-API Developer
new
"ACTION
Answer a new instance of the receiver.
RETURN VALUE
<instance of self>"
Categories
SST-API Developer
register: urlScheme as: urlParser
"ACTION
Register @urlParser as the parser to use to interpret URL
strings starting with @urlScheme.
PARAMETERS
urlScheme : <String>
urlParser : <Class>"
Categories
SST-API Developer
unregister: urlScheme
"ACTION
Unregister the parser for URL strings starting with @urlScheme.
PARAMETERS
urlScheme : <String>"
Categories
SST-API Developer
fromString: urlString
"ACTION
Answer a new instance of the receiver derived from @urlString
parsed as a URL of the form 'scheme:<scheme specific data>'
(see RFC 1738). Answer nil if @urlString is not a valid URL.
PARAMETERS
urlString : <String>
RETURN VALUE
<IuSstUrl> | nil"
Categories
SST-API User
[FIRST] [PREV] [NEXT] [LAST]