|
|
Class: URL
Object
|
+--URL
- Package:
- stx:libhtml
- Category:
- Net-Communication-Support
- Version:
- rev:
1.40
date: 2009/11/12 12:29:54
- user: mb
- file: URL.st directory: libhtml
- module: stx stc-classLibrary: libhtml
- Author:
- Claus Gittinger
(for now) only a holder for the parse URL info.
Will takeover more functionality in the near future.
Late note: is going to be obsoleted by URI.
Compatibility-Squeak
-
schemeNameForString: urlString
-
instance creation
-
classForScheme: schemeString
-
-
fromString: aString
-
-
fromURLString: aStringIn
-
self oldFromURLString:'checkout.stt'.
self fromURLString:'checkout.stt'.
-
method: methodString host: hostString port: portNumber path: pathString
-
-
method: methodString path: pathString
-
-
new
-
-
scheme: schemeString host: hostString port: portNumber path: pathString
-
-
scheme: schemeString path: pathString
-
utilities
-
constructPath: path1 with: path2
-
Compatibility-Squeak
-
authority
-
-
fullPath
-
-
retrieveContents
-
squeak compatibility
-
retrieveContentsAccept: mimeType
-
squeak compatibility
-
retrieveContentsArgs: args
-
squeak compatibility
-
retrieveContentsArgs: args accept: mimeType
-
squeak compatibility
** This method raises an error - it must be redefined in concrete classes **
-
withoutFragment
-
what does it do ?
accessing
-
anchor
-
return the value of the instance variable 'anchor' (automatically generated)
-
anchor: something
-
set the value of the instance variable 'anchor' (automatically generated)
-
file
-
return the value of the instance variable 'file' (automatically generated)
-
file: something
-
set the value of the instance variable 'file' (automatically generated)
-
fragmentPart
-
-
fragmentPart: aString
-
-
host
-
return the value of the instance variable 'host' (automatically generated)
-
host: something
-
set the value of the instance variable 'host' (automatically generated)
-
method
-
return the value of the instance variable 'method' (automatically generated)
-
method: something
-
set the value of the instance variable 'method' (automatically generated)
-
otherPart
-
-
path
-
return the value of the instance variable 'path' (automatically generated)
-
path: something
-
set the value of the instance variable 'path' (automatically generated)
-
port
-
return the value of the instance variable 'port' (automatically generated)
-
port: something
-
set the value of the instance variable 'port' (automatically generated)
-
rest
-
return the value of the instance variable 'rest' (automatically generated)
-
rest: something
-
set the value of the instance variable 'rest' (automatically generated)
-
scheme
-
-
scheme: aString
-
comparing
-
= anURL
-
-
copyWithoutFragmentPart
-
-
copyWithoutOtherPart
-
-
hash
-
-
postCopy
-
conversion
-
asURL
-
return an URL-object from myself - thats me.
parsing
-
parseFromString: urlString
-
parse URL contained in a string and set my inst vars
printing & storing
-
displayString
-
-
printOn: aStream
-
-
urlPrintString
-
the printString of the full url (incl. method, host and port)
private
-
clearFragmentPart
-
-
clearOtherPart
-
-
flag
-
-
hasFragmentPartBitMask
-
-
hasPostDataBitMask
-
-
hasSearchPartBitMask
-
-
initialize
-
-
setOtherPart: aString flag: anInteger
-
queries
-
canCache
-
-
fullRequestString
-
-
hasFragmentPart
-
-
hasFragmentPart: aBoolean
-
-
hasPostData
-
-
hasPostData: aBoolean
-
-
hasSearchPart
-
-
hasSearchPart: aBoolean
-
-
isFileScheme
-
-
isFragmentOnly
-
-
isHostRelativePath
-
-
isRelativePath
-
-
isValidMethod: aMethod
-
mhmh - is this a good idea (isn't it the task of a url-user to decide, which
methods it supports. The URL does not really know...
-
newsGroup
-
If the receiver is an nntp url, return the news group.
-
postData
-
-
postData: aString
-
-
requestString
-
-
searchPart
-
-
searchPart: aString
-
utilities
-
/ aString
-
answer a new instance with aString concatenated to my path.
We simply append aString to the end of the path.
Look at construct for a more enhanced
-
construct: anUrlOrString
-
-
pathSuffix
-
answer the suffix of may path.
for '/part1/part2/part3.suffix' this is '.suffix'
|