|
Options |
Name |
Purpose |
|
|
CHARACTER Decode (character)
|
/* Decodes an encoded string
Uses OpenEdge.Net.HTTP.PercentEncoder:Decode() to perform the decoding
@param character An encoded string
@return character A decoded string */
|
|
|
CHARACTER Decode (character, character)
|
/** Attempts to decode a previously-encoded string.
@param character The string to decode
@param character The target codepage to encode into. Defaults to CPINTERNAL
@return character A decoded URL
@throws AppError If the encoding is malformed */
|
|
|
CHARACTER Encode (character, UriEncodingTypeEnum)
|
/** Encodes a string for a particular purpose. Usage of Encode<encoding-type> is recommended.
The method does NOT re-encode % characters.
@param character The string to encode
@param EncondingTypeEnum The type of encoding to apply
@return character the encoded string */
|
|
|
CHARACTER Encode (character, UriEncodingTypeEnum, logical)
|
/** Encodes a string for a particular purpose. Usage of Encode<encoding-type> is recommended,
unless the re-encoding of % characters is desired.
@param character The string to encode
@param EncondingTypeEnum The type of encoding to apply
@param logical TRUE if any percent characters should be encoded as %25
@return character the encoded string */
|
|
|
CHARACTER EncodeCookie (character)
|
/* Encodes a string per Cookie encoding rules. This method is here for historical reasons.
Cookie US-ASCII characters excluding CTLs, whitespace (32) DQUOTE (34), comma (44), semicolon (59), and backslash (92)
@param character A string to encode
@return character An encoded string */
|
|
|
CHARACTER EncodeCookie (String)
|
/* Encodes a string per Cookie encoding rules. This method is here for historical reasons.
Cookie US-ASCII characters excluding CTLs, whitespace (32) DQUOTE (34), comma (44), semicolon (59), and backslash (92)
@param String A string to encode
@return character An encoded string */
|
|
|
CHARACTER EncodeDefault (character)
|
/* Encodes a string per URI Default encoding rules
https://tools.ietf.org/html/rfc3986#page-11
Default = unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
@param character A string to encode
@return character An encoded string */
|
|
|
CHARACTER EncodeDefault (String)
|
/* Encodes a string per URI Default encoding rules
https://tools.ietf.org/html/rfc3986#page-11
Default = unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
@param String A string to encode
@return character An encoded string */
|
|
|
CHARACTER EncodeFragment (character)
|
/* Encodes a string per URI Fragment encoding rules
https://tools.ietf.org/html/rfc3986#page-11
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
Fragment : fragment = *( pchar / "/" / "?" )
@param character A string to encode
@return character An encoded string */
|
|
|
CHARACTER EncodeFragment (String)
|
/* Encodes a string per URI Fragment encoding rules
https://tools.ietf.org/html/rfc3986#page-11
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
Fragment : fragment = *( pchar / "/" / "?" )
@param String A string to encode
@return character An encoded string */
|
|
|
CHARACTER EncodeHost (character)
|
/* Encodes a string per URI Host encoding rules
https://tools.ietf.org/html/rfc3986#page-11
sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
Host = *( unreserved / pct-encoded / sub-delims )
@param character A string to encode
@return character An encoded string */
|
|
|
CHARACTER EncodeHost (longchar, logical)
|
/* Encodes a host value. This method knows how to deal with IPv6 hosts.
@parameter longchar The host name
@param logical TRUE if any % values should be encoded
@return character An encoded value. */
|
|
|
CHARACTER EncodeHost (String)
|
/* Encodes a string per URI Host encoding rules
https://tools.ietf.org/html/rfc3986#page-11
sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
Host = *( unreserved / pct-encoded / sub-delims )
@param String A string to encode
@return character An encoded string */
|
|
|
CHARACTER EncodePath (character)
|
/* Encodes a string per URI Path encoding rules
https://tools.ietf.org/html/rfc3986#page-11
sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
Path = 1*( unreserved / pct-encoded / sub-delims / "@" )
@param character A string to encode
@return character An encoded string */
|
|
|
CHARACTER EncodePath (String)
|
/* Encodes a string per URI Path encoding rules
https://tools.ietf.org/html/rfc3986#page-11
sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
Path = 1*( unreserved / pct-encoded / sub-delims / "@" )
@param String A string to encode
@return character An encoded string */
|
|
|
CHARACTER EncodeQuery (character)
|
/* Encodes a string per URI Query encoding rules
https://tools.ietf.org/html/rfc3986#page-11
sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
Query = *( pchar / "/" / "?" )
@param character A string to encode
@return character An encoded string */
|
|
|
CHARACTER EncodeQuery (IStringKeyedMap)
|
/* Encodes a URI's Query string per URI query encoding rules.
@param IStringKeyedMap
@return character An encoded query string */
|
|
|
CHARACTER EncodeQuery (IStringStringMap)
|
/* Encodes a URI's Query string per URI query encoding rules.
@param IStringStringMap
@return character An encoded query string */
|
|
|
CHARACTER EncodeQuery (String)
|
/* Encodes a string per URI Query encoding rules
https://tools.ietf.org/html/rfc3986#page-11
sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
Query = *( pchar / "/" / "?" )
@param String A string to encode
@return character An encoded string */
|
|
|
CHARACTER EncodeScheme (character)
|
/* Encodes a string per URI Scheme encoding rules
https://tools.ietf.org/html/rfc3986#page-11
Scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )
@param character A string to encode
@return character An encoded string */
|
|
|
CHARACTER EncodeScheme (String)
|
/* Encodes a string per URI Scheme encoding rules
https://tools.ietf.org/html/rfc3986#page-11
Scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )
@param String A string to encode
@return character An encoded string */
|
|
|
CHARACTER EncodeUserinfo (character)
|
/* Encodes a string per URI userinfo encoding rules
https://tools.ietf.org/html/rfc3986#page-11
sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
Host = *( unreserved / pct-encoded / sub-delims / ":" )
@param character A string to encode
@return character An encoded string */
|
|
|
CHARACTER EncodeUserinfo (String)
|
/* Encodes a string per URI userinfo encoding rules
https://tools.ietf.org/html/rfc3986#page-11
sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
Host = *( unreserved / pct-encoded / sub-delims / ":" )
@param String A string to encode
@return character An encoded string */
|
|
|
CHARACTER EncodeUserinfo (URI)
|
/* Encodes this uri's Host per URI Host encoding rules
@param URI The URI whose info to encode
@return character An encoded string */
|