jCookie v0.8b
A C D E F G H I M P R S T U

A

add(Object) - Method in class com.sonalb.net.http.Header
 
add(Object) - Method in class com.sonalb.net.http.cookie.CookieJar
 
add(String, String) - Method in class com.sonalb.net.http.Header
Adds the specified key-value pair to this Header.
addAll(Collection) - Method in class com.sonalb.net.http.cookie.CookieJar
 
addCookies(CookieJar) - Method in class com.sonalb.net.http.HTTPRedirectHandler
Adds some Cookies to the existing Cookies in an HTTPRedirectHandler.
allowedCookie(Cookie, URL) - Method in class com.sonalb.net.http.cookie.RFC2965CookieParser
 
allowedCookie(Cookie, URL) - Method in interface com.sonalb.net.http.cookie.CookieParser
Checks whether a request to the given URL is allowed to return the specified Cookie.

C

clear() - Method in class com.sonalb.net.http.cookie.CookieJar
 
Client - class com.sonalb.net.http.cookie.Client.
This class is used to invoke the cookie-handling logic of the jCookie Library.
Client() - Constructor for class com.sonalb.net.http.cookie.Client
Constructs an instance using the default CookieParser
clone() - Method in class com.sonalb.net.http.HeaderEntry
 
clone() - Method in class com.sonalb.net.http.Header
 
clone() - Method in class com.sonalb.net.http.cookie.Cookie
 
com.sonalb - package com.sonalb
Contains utility classes and other classes with a general scope.
com.sonalb.net.http - package com.sonalb.net.http
Contains classes related to the Hyper Text Transport Protocol (HTTP)
com.sonalb.net.http.cookie - package com.sonalb.net.http.cookie
[jCookie] Contains classes related to state management (cookie-handling) using HTTP.
commaFormatInteger(int) - Static method in class com.sonalb.Utils
Converts the input integer into a more readable comma-separated String.
compareTo(Object) - Method in class com.sonalb.net.http.cookie.Cookie
Compares one Cookie with another.
connect() - Method in class com.sonalb.net.http.HTTPRedirectHandler
Connects to initial HttpURLConnection (specified during construction), and initiates cookie-handling and redirect-handling.
contains(Object) - Method in class com.sonalb.net.http.cookie.CookieJar
 
containsAll(Collection) - Method in class com.sonalb.net.http.cookie.CookieJar
 
containsKey(String) - Method in class com.sonalb.net.http.Header
Checks whether any header entry exists with given key.
containsValue(String) - Method in class com.sonalb.net.http.Header
Checks whether any header entry exists with given value.
convertToHttpDate(Date) - Static method in class com.sonalb.Utils
Converts the input Date into a String formatted as specified by RFC 1123 of the IETF.
Cookie - class com.sonalb.net.http.cookie.Cookie.
The data structure representing a cookie.
Cookie(String, String, String, String) - Constructor for class com.sonalb.net.http.cookie.Cookie
Creates cookie instance.
Cookie(String, String, URL) - Constructor for class com.sonalb.net.http.cookie.Cookie
Creates cookie instance.
CookieJar - class com.sonalb.net.http.cookie.CookieJar.
Container for Cookie objects.
CookieJar() - Constructor for class com.sonalb.net.http.cookie.CookieJar
Creates an empty CookieJar.
CookieJar(Collection) - Constructor for class com.sonalb.net.http.cookie.CookieJar
Creates a CookieJar, and populates it with Cookies from input Collection.
CookieMatcher - interface com.sonalb.net.http.cookie.CookieMatcher.
Allows custom matching of Cookies.
CookieParser - interface com.sonalb.net.http.cookie.CookieParser.
Interface definition for cookie-parsing and specification implementations.
CookieUtils - class com.sonalb.net.http.cookie.CookieUtils.
Provides utility functions for internal consumption.
CookieUtils() - Constructor for class com.sonalb.net.http.cookie.CookieUtils
 
countInstances(String, char) - Static method in class com.sonalb.Utils
Counts the number of times the specified character appears in the input String.
countInstances(String, String) - Static method in class com.sonalb.Utils
Counts the number of times the specified String appears in the input String.
csvStringToArray(String) - Static method in class com.sonalb.Utils
Tokenizes the argument String into several constituent Strings, separated by commas, and returns the tokens as an array.

D

delimitedStringToArray(String, String) - Static method in class com.sonalb.Utils
Tokenizes the argument String into several constituent Strings, separated by specified delimiters, and returns the tokens as an array.
domainMatch(URL, String) - Static method in class com.sonalb.net.http.cookie.RFC2965CookieParser
Performs "domain matching" of URL host/domain to cookie domain, for Version 1 cookies as specified by RFC 2965.
doMatch(Cookie) - Method in interface com.sonalb.net.http.cookie.CookieMatcher
Checks whether the given Cookie satisfies the custom criteria.

E

EnhancedException - exception com.sonalb.EnhancedException.
Convenience implementation of IEnhancedException interface, and subclass of Exception.
EnhancedException() - Constructor for class com.sonalb.EnhancedException
Constructs a "plain vanilla" EnhancedException.
EnhancedException(Exception) - Constructor for class com.sonalb.EnhancedException
Constructs an EnhancedException with the specified causal Exception.
EnhancedException(String) - Constructor for class com.sonalb.EnhancedException
Constructs an EnhancedException with a short detail message.
EnhancedException(String, Exception) - Constructor for class com.sonalb.EnhancedException
Constructs an EnhancedException with the specified detail message and causal Exception.
EnhancedException(String, Exception, String, Object, String) - Constructor for class com.sonalb.EnhancedException
Constructs an EnhancedException with a detail message, causal Exception, error code, class and method of origin.
EnhancedException(String, Object, String) - Constructor for class com.sonalb.EnhancedException
Constructs an EnhancedException with an error code and, class and method of origin.
EnhancedException(String, String, Object, String) - Constructor for class com.sonalb.EnhancedException
Constructs an EnhancedException with a detail message, error code, class and method of origin.
EnhancedIOException - exception com.sonalb.EnhancedIOException.
Convenience implementation of IEnhancedException interface, and subclass of java.io.IOException.
EnhancedIOException() - Constructor for class com.sonalb.EnhancedIOException
Constructs a "plain vanilla" EnhancedIOException.
EnhancedIOException(Exception) - Constructor for class com.sonalb.EnhancedIOException
Constructs an EnhancedIOException with the specified causal Exception.
EnhancedIOException(String) - Constructor for class com.sonalb.EnhancedIOException
Constructs an EnhancedIOException with a short detail message.
EnhancedIOException(String, Exception) - Constructor for class com.sonalb.EnhancedIOException
Constructs an EnhancedIOException with the specified detail message and causal Exception.
EnhancedIOException(String, Exception, String, Object, String) - Constructor for class com.sonalb.EnhancedIOException
Constructs an EnhancedIOException with a detail message, causal Exception, error code, class and method of origin.
EnhancedIOException(String, Object, String) - Constructor for class com.sonalb.EnhancedIOException
Constructs an EnhancedIOException with an error code and, class and method of origin.
EnhancedIOException(String, String, Object, String) - Constructor for class com.sonalb.EnhancedIOException
Constructs an EnhancedIOException with a detail message, error code, class and method of origin.
EnhancedRuntimeException - exception com.sonalb.EnhancedRuntimeException.
Convenience implementation of IEnhancedException interface, and subclass of RuntimeException.
EnhancedRuntimeException() - Constructor for class com.sonalb.EnhancedRuntimeException
Constructs a "plain vanilla" EnhancedRuntimeException.
EnhancedRuntimeException(Exception) - Constructor for class com.sonalb.EnhancedRuntimeException
Constructs an EnhancedRuntimeException with the specified causal Exception.
EnhancedRuntimeException(String) - Constructor for class com.sonalb.EnhancedRuntimeException
Constructs an EnhancedRuntimeException with a short detail message.
EnhancedRuntimeException(String, Exception) - Constructor for class com.sonalb.EnhancedRuntimeException
Constructs an EnhancedRuntimeException with the specified detail message and causal Exception.
EnhancedRuntimeException(String, Exception, String, Object, String) - Constructor for class com.sonalb.EnhancedRuntimeException
Constructs an EnhancedRuntimeException with a detail message, causal Exception, error code, class and method of origin.
EnhancedRuntimeException(String, Object, String) - Constructor for class com.sonalb.EnhancedRuntimeException
Constructs an EnhancedRuntimeException with an error code and, class and method of origin.
EnhancedRuntimeException(String, String, Object, String) - Constructor for class com.sonalb.EnhancedRuntimeException
Constructs an EnhancedRuntimeException with a detail message, error code, class and method of origin.
equals(Object) - Method in class com.sonalb.net.http.HeaderEntry
 
equals(Object) - Method in class com.sonalb.net.http.cookie.Cookie
Checks whether two cookies are equal.
extractHeaders(URLConnection) - Static method in class com.sonalb.net.http.HeaderUtils
Extracts the headers from the input URLConnection, and populates them in a Header instance.

F

findMax(Comparable[], int) - Static method in class com.sonalb.Utils
Returns the nth largest object in the input array.
findMax(int[], int) - Static method in class com.sonalb.Utils
Returns the nth largest number in the input array.
findMax(Object[], int, Comparator) - Static method in class com.sonalb.Utils
Returns the nth largest object in the input array.
findMin(Comparable[], int) - Static method in class com.sonalb.Utils
Returns the nth smallest object in the input array.
findMin(int[], int) - Static method in class com.sonalb.Utils
Returns the nth smallest number in the input array.
findMin(Object[], int, Comparator) - Static method in class com.sonalb.Utils
Returns the nth smallest object in the input array.
findOrderedMax(Comparable[], int) - Static method in class com.sonalb.Utils
Returns the object which would be in the nth place if the input array were sorted in descending order.
findOrderedMax(int[], int) - Static method in class com.sonalb.Utils
Returns the number which would be in the nth place if the input array were sorted in descending order.
findOrderedMax(Object[], int, Comparator) - Static method in class com.sonalb.Utils
Returns the object which would be in the nth place if the input array were sorted in descending order.
findOrderedMin(Comparable[], int) - Static method in class com.sonalb.Utils
Returns the object which would be in the nth place if the input array were sorted in ascending order.
findOrderedMin(int[], int) - Static method in class com.sonalb.Utils
Returns the number which would be in the nth place if the input array were sorted in ascending order.
findOrderedMin(Object[], int, Comparator) - Static method in class com.sonalb.Utils
Returns the object which would be in the nth place if the input array were sorted in ascending order.

G

getCausalException() - Method in class com.sonalb.EnhancedRuntimeException
 
getCausalException() - Method in interface com.sonalb.IEnhancedException
Returns the underlying Exception (if any) for this instance.
getCausalException() - Method in class com.sonalb.EnhancedException
 
getCausalException() - Method in class com.sonalb.EnhancedIOException
 
getCode() - Method in class com.sonalb.EnhancedRuntimeException
 
getCode() - Method in interface com.sonalb.IEnhancedException
Returns the application-specific error code associated with this instance.
getCode() - Method in class com.sonalb.EnhancedException
 
getCode() - Method in class com.sonalb.EnhancedIOException
 
getCode() - Method in class com.sonalb.net.http.cookie.MalformedCookieException
 
getComment() - Method in class com.sonalb.net.http.cookie.Cookie
Gets the comment for this cookie.
getCommentURL() - Method in class com.sonalb.net.http.cookie.Cookie
Gets the comment URL for this cookie.
getConnection() - Method in class com.sonalb.net.http.HTTPRedirectHandler
Gets the HttpURLConnection for the final successful response.
getCookieHeaders(CookieJar) - Method in class com.sonalb.net.http.cookie.RFC2965CookieParser
 
getCookieHeaders(CookieJar) - Method in interface com.sonalb.net.http.cookie.CookieParser
Converts the Cookies in the CookieJar to a set of headers suitable to be sent along with an HTTP request.
getCookieJar() - Method in class com.sonalb.net.http.HTTPRedirectHandler
Gets the CookieJar containing any pre-existing Cookies, as well as new ones extracted during processing.
getCookieParser() - Method in class com.sonalb.net.http.cookie.Client
Gets the CookieParser implementation being used in this instance.
getCookies(CookieMatcher) - Method in class com.sonalb.net.http.cookie.CookieJar
Gets all Cookies that match the given CookieMatcher.
getCookies(String) - Method in class com.sonalb.net.http.cookie.CookieJar
Gets all Cookies with the given name.
getCookies(URLConnection) - Method in class com.sonalb.net.http.cookie.Client
Processes cookie headers from the given URLConnection.
getCookiesForURL(CookieJar, CookieParser, URL, boolean) - Static method in class com.sonalb.net.http.cookie.CookieUtils
Picks out the Cookies in a CookieJar that are eligible to be sent with a request to a particular URL.
getDataObject() - Method in class com.sonalb.EnhancedRuntimeException
 
getDataObject() - Method in interface com.sonalb.IEnhancedException
Returns the data object (if any) set by the originator.
getDataObject() - Method in class com.sonalb.EnhancedException
 
getDataObject() - Method in class com.sonalb.EnhancedIOException
 
getDefaultCookieParser() - Static method in class com.sonalb.net.http.cookie.Client
Returns the built-in CookieParser implementation.
getDomain() - Method in class com.sonalb.net.http.cookie.Cookie
Gets the domain in which this cookie is valid.
getEntriesForKey(String) - Method in class com.sonalb.net.http.Header
Returns a Header consisting of all HeaderEntries having given key.
getEntriesForValue(String) - Method in class com.sonalb.net.http.Header
Returns a Header consisting of all HeaderEntries having given value.
getEntryAt(int) - Method in class com.sonalb.net.http.Header
Returns the entry at specified index.
getEntryForKey(String, int) - Method in class com.sonalb.net.http.Header
Returns the HeaderEntry corresponding to the first occurrence of the given key, after specified index (non-inclusive).
getEntryForValue(String, int) - Method in class com.sonalb.net.http.Header
Returns the HeaderEntry corresponding to the first occurrence of the given value, after specified index (non-inclusive).
getExpires() - Method in class com.sonalb.net.http.cookie.Cookie
Gets the date-time when this cookie expires.
getFirstEntryForKey(String) - Method in class com.sonalb.net.http.Header
Returns the HeaderEntry corresponding to the first occurrence of the given key.
getFirstEntryForValue(String) - Method in class com.sonalb.net.http.Header
Returns the HeaderEntry corresponding to the first occurrence of the given value.
getHeaderField(int) - Method in class com.sonalb.net.http.Header
Returns the header value for entry at specified index.
getHeaderFieldKey(int) - Method in class com.sonalb.net.http.Header
Returns the header key for entry at specified index.
getInputStream() - Method in class com.sonalb.net.http.HTTPRedirectHandler
Gets the InputStream for the final successful response.
getKey() - Method in class com.sonalb.net.http.HeaderEntry
Gets the Key/Name.
getMaxAge() - Method in class com.sonalb.net.http.cookie.Cookie
Gets the amount of time this Cookie is valid, measured in seconds from the time the value was set.
getName() - Method in class com.sonalb.net.http.cookie.Cookie
Gets the name of this cookie.
getOriginClass() - Method in class com.sonalb.EnhancedRuntimeException
 
getOriginClass() - Method in interface com.sonalb.IEnhancedException
Returns the fully-qualified name of the class which constructed this instance.
getOriginClass() - Method in class com.sonalb.EnhancedException
 
getOriginClass() - Method in class com.sonalb.EnhancedIOException
 
getOriginMethod() - Method in class com.sonalb.EnhancedRuntimeException
 
getOriginMethod() - Method in interface com.sonalb.IEnhancedException
Returns the name of the method in which this instance was constructed.
getOriginMethod() - Method in class com.sonalb.EnhancedException
 
getOriginMethod() - Method in class com.sonalb.EnhancedIOException
 
getPath() - Method in class com.sonalb.net.http.cookie.Cookie
Gets the path for this cookie.
getPortList() - Method in class com.sonalb.net.http.cookie.Cookie
Gets the list of ports to which this cookie can be sent.
getTopLine() - Method in class com.sonalb.net.http.Header
Gets the top-line of this Header.
getValue() - Method in class com.sonalb.net.http.HeaderEntry
Gets the Value.
getValue() - Method in class com.sonalb.net.http.cookie.Cookie
Gets the value of this cookie.
getVersion() - Method in class com.sonalb.net.http.cookie.Cookie
Gets the version of this Cookie.
getVersionCookies(String) - Method in class com.sonalb.net.http.cookie.CookieJar
Gets all Cookies having given version.

H

handleCookies(boolean) - Method in class com.sonalb.net.http.HTTPRedirectHandler
Enables/Disables automated cookie-handling.
hasExpired() - Method in class com.sonalb.net.http.cookie.Cookie
Checks whether this cookie's lifetime has expired or not.
hasExpired(Date) - Method in class com.sonalb.net.http.cookie.Cookie
Checks whether this cookie's lifetime has expired or not.
Header - class com.sonalb.net.http.Header.
Represents the Header of an HTTP Message.
Header() - Constructor for class com.sonalb.net.http.Header
Creates an empty Header.
Header(Collection) - Constructor for class com.sonalb.net.http.Header
Creates a Header, and populates it with HeaderEntries from input Collection.
Header(String, Collection) - Constructor for class com.sonalb.net.http.Header
Creates a Header with given top-line, and populates it with HeaderEntries from input Collection.
HeaderEntry - class com.sonalb.net.http.HeaderEntry.
Represents a single name-value pair of an HTTP Header.
HeaderEntry(String, String) - Constructor for class com.sonalb.net.http.HeaderEntry
Creates a HeaderEntry with specified key and value.
HeaderUtils - class com.sonalb.net.http.HeaderUtils.
Utility class with methods relevant to HTTP Headers.
HTTPRedirectHandler - class com.sonalb.net.http.HTTPRedirectHandler.
Convenience class that combines cookie-handling and redirect-handling logic.
HTTPRedirectHandler(HttpURLConnection) - Constructor for class com.sonalb.net.http.HTTPRedirectHandler
Creates a handler for the input HttpURLConnection.

I

IEnhancedException - interface com.sonalb.IEnhancedException.
Allows implementing classes to contain an application-specific error code, the class and method of origin, a data Object, and any underlying (causal) Exception.
isConnected() - Method in class com.sonalb.net.http.HTTPRedirectHandler
Checks whether this handler has successfully connected.
isDiscardable() - Method in class com.sonalb.net.http.cookie.Cookie
Checks whether this cookie can be discarded once the session is over.
isEmpty() - Method in class com.sonalb.net.http.Header
 
isEmpty() - Method in class com.sonalb.net.http.cookie.CookieJar
 
isEmpty(String) - Static method in class com.sonalb.Utils
Returns true if argument is either null or it equals("").
isInArray(Object, Object[]) - Static method in class com.sonalb.Utils
Checks whether the specified Object exists in the given array.
isIPAddress(String) - Static method in class com.sonalb.Utils
Checks whether the input String is a valid IP address (quad).
isNullOrWhiteSpace(String) - Static method in class com.sonalb.Utils
Returns true if argument is either null or is full of whitespace.
isQuoted(String) - Static method in class com.sonalb.Utils
Determines whether the input String is enclosed in double-quotes.
isRFC2965CookieString(String) - Static method in class com.sonalb.net.http.cookie.RFC2965CookieParser
Determines whether a cookie string is for Version 0 or Version 1 cookie.
isSecure() - Method in class com.sonalb.net.http.cookie.Cookie
Checks whether this cookie will be sent over secure channels only.
iterator() - Method in class com.sonalb.net.http.Header
 
iterator() - Method in class com.sonalb.net.http.cookie.CookieJar
 

M

MalformedCookieException - exception com.sonalb.net.http.cookie.MalformedCookieException.
Indicates some problem caused by a bad or malformed cookie.
MalformedCookieException() - Constructor for class com.sonalb.net.http.cookie.MalformedCookieException
 
MalformedCookieException(Exception) - Constructor for class com.sonalb.net.http.cookie.MalformedCookieException
 
MalformedCookieException(String) - Constructor for class com.sonalb.net.http.cookie.MalformedCookieException
 
MalformedCookieException(String, Exception) - Constructor for class com.sonalb.net.http.cookie.MalformedCookieException
 
MalformedCookieException(String, Exception, String, Object, String) - Constructor for class com.sonalb.net.http.cookie.MalformedCookieException
 
MalformedCookieException(String, Object, String) - Constructor for class com.sonalb.net.http.cookie.MalformedCookieException
 
MalformedCookieException(String, String, Object, String) - Constructor for class com.sonalb.net.http.cookie.MalformedCookieException
 
matchQuotes(String) - Static method in class com.sonalb.Utils
Determines whether every double-quote has its closing partner in the input String.

P

parseCookies(Header, URL) - Method in class com.sonalb.net.http.cookie.RFC2965CookieParser
 
parseCookies(Header, URL) - Method in interface com.sonalb.net.http.cookie.CookieParser
Converts the headers in an HTTP response into a CookieJar of Cookie objects.
parseHttpDateStringToDate(String) - Static method in class com.sonalb.Utils
Parses the input date String into a Date object.
parseSetCookieV0(Header, URL, boolean) - Static method in class com.sonalb.net.http.cookie.RFC2965CookieParser
Parses headers into Version 1 Cookies.
parseSetCookieV1(Header, URL, boolean) - Static method in class com.sonalb.net.http.cookie.RFC2965CookieParser
Parses headers into Version 1 Cookies.
parseSingleCookieV0(String, URL, boolean) - Static method in class com.sonalb.net.http.cookie.RFC2965CookieParser
Converts a single cookie-string into a Cookie object, for Version 0
parseSingleCookieV1(String, URL, boolean) - Static method in class com.sonalb.net.http.cookie.RFC2965CookieParser
Converts a single cookie-string into a Cookie object, for Version 1
pathMatch(URL, String) - Static method in class com.sonalb.net.http.cookie.RFC2965CookieParser
Performs "path matching" of URL to cookie path, as specified by RFC 2965.
portMatch(URL, String) - Static method in class com.sonalb.net.http.cookie.RFC2965CookieParser
Performs "port matching" of URL to cookie portlist, for Version 1 cookies, as specified by RFC 2965.

R

remove(Object) - Method in class com.sonalb.net.http.cookie.CookieJar
 
removeAll(Collection) - Method in class com.sonalb.net.http.cookie.CookieJar
 
removeCookies(CookieMatcher) - Method in class com.sonalb.net.http.cookie.CookieJar
Removes all cookies that match the given CookieMatcher.
removeDataObject() - Method in class com.sonalb.EnhancedRuntimeException
 
removeDataObject() - Method in interface com.sonalb.IEnhancedException
Removes the data object (if any) contained in this instance.
removeDataObject() - Method in class com.sonalb.EnhancedException
 
removeDataObject() - Method in class com.sonalb.EnhancedIOException
 
replaceAll(String, String, String, boolean) - Static method in class com.sonalb.Utils
Replaces all occurrences of a String in the input String with another String.
resetToDefaultCookieParser() - Method in class com.sonalb.net.http.cookie.Client
Resets the CookieParser implementation to be used for this instance, to the default (built-in) implementation.
retainAll(Collection) - Method in class com.sonalb.net.http.cookie.CookieJar
 
RFC2965CookieParser - class com.sonalb.net.http.cookie.RFC2965CookieParser.
Implementation for CookieParser that conforms to cookie specification RFC-2965.
RFC2965CookieParser() - Constructor for class com.sonalb.net.http.cookie.RFC2965CookieParser
 

S

sendCookieWithURL(Cookie, URL, boolean) - Method in class com.sonalb.net.http.cookie.RFC2965CookieParser
Determines whether a Cookie is eligible to be sent alongwith the request for a given URL.
sendCookieWithURL(Cookie, URL, boolean) - Method in interface com.sonalb.net.http.cookie.CookieParser
Checks whether the given Cookie can be sent alongwith a request for the given URL.
setCausalException(Exception) - Method in class com.sonalb.EnhancedRuntimeException
Sets the underlying (causal) Exception for this instance.
setCausalException(Exception) - Method in class com.sonalb.EnhancedException
Sets the underlying (causal) Exception for this instance.
setCausalException(Exception) - Method in class com.sonalb.EnhancedIOException
Sets the underlying (causal) Exception for this instance.
setClient(Client) - Method in class com.sonalb.net.http.HTTPRedirectHandler
Sets the Client to be used for this handler.
setCode(String) - Method in class com.sonalb.EnhancedRuntimeException
Sets the error-code which identifies the particular error condition that triggered this exception.
setCode(String) - Method in class com.sonalb.EnhancedException
Sets the error-code which identifies the particular error condition that triggered this exception.
setCode(String) - Method in class com.sonalb.EnhancedIOException
Sets the error-code which identifies the particular error condition that triggered this exception.
setComment(String) - Method in class com.sonalb.net.http.cookie.Cookie
Sets the comment for this cookie.
setCommentURL(URL) - Method in class com.sonalb.net.http.cookie.Cookie
Sets the comment URL for this cookie.
setCookieJar(CookieJar) - Method in class com.sonalb.net.http.HTTPRedirectHandler
Sets the CookieJar containing Cookies to be used during cookie-handling.
setCookieParser(CookieParser) - Method in class com.sonalb.net.http.cookie.Client
Sets the CookieParser implementation to be used in this instance.
setCookies(URLConnection, CookieJar) - Method in class com.sonalb.net.http.cookie.Client
Sets cookie headers on the given URLConnection, using Cookies in the CookieJar.
setDataObject(Object) - Method in class com.sonalb.EnhancedRuntimeException
Sets the data Object which will be passed up the call stack.
setDataObject(Object) - Method in class com.sonalb.EnhancedException
Sets the data Object which will be passed up the call stack.
setDataObject(Object) - Method in class com.sonalb.EnhancedIOException
Sets the data Object which will be passed up the call stack.
setDiscard(boolean) - Method in class com.sonalb.net.http.cookie.Cookie
Sets the discard status of this cookie.
setDomain(String) - Method in class com.sonalb.net.http.cookie.Cookie
Sets the domain for this Cookie.
setDomain(URL) - Method in class com.sonalb.net.http.cookie.Cookie
Sets the domain for this Cookie.
setExpires(Date) - Method in class com.sonalb.net.http.cookie.Cookie
Sets the date-time when this cookie expires.
setHeaders(URLConnection, Header) - Static method in class com.sonalb.net.http.HeaderUtils
Converts the Header input, into properties in the URLConnection.
setMaxAge(int) - Method in class com.sonalb.net.http.cookie.Cookie
Sets the lifetime of this Cookie.
setMaxAge(int, Date) - Method in class com.sonalb.net.http.cookie.Cookie
Sets the lifetime of this Cookie.
setMaxRedirects(int) - Method in class com.sonalb.net.http.HTTPRedirectHandler
Sets the maximum number of redirects that will be followed.
setName(String) - Method in class com.sonalb.net.http.cookie.Cookie
Sets the Cookie name.
setOriginClass(Object) - Method in class com.sonalb.EnhancedRuntimeException
Sets the class of origin for this instance.
setOriginClass(Object) - Method in class com.sonalb.EnhancedException
Sets the class of origin for this instance.
setOriginClass(Object) - Method in class com.sonalb.EnhancedIOException
Sets the class of origin for this instance.
setOriginMethod(String) - Method in class com.sonalb.EnhancedRuntimeException
Sets the method of origin for this instance.
setOriginMethod(String) - Method in class com.sonalb.EnhancedException
Sets the method of origin for this instance.
setOriginMethod(String) - Method in class com.sonalb.EnhancedIOException
Sets the method of origin for this instance.
setPath(String) - Method in class com.sonalb.net.http.cookie.Cookie
Sets the path for this Cookie.
setPath(URL) - Method in class com.sonalb.net.http.cookie.Cookie
Sets the path for this Cookie.
setPort(int) - Method in class com.sonalb.net.http.cookie.Cookie
Sets the port to which this cookie can be sent.
setPort(URL) - Method in class com.sonalb.net.http.cookie.Cookie
Sets the port to which this cookie can be sent.
setPortList(int[]) - Method in class com.sonalb.net.http.cookie.Cookie
Sets the list of ports to which this Cookie can be sent.
setSecure(boolean) - Method in class com.sonalb.net.http.cookie.Cookie
Sets whether this cookie should be sent only over secure channels.
setSuccessCode(int) - Method in class com.sonalb.net.http.HTTPRedirectHandler
Sets the HTTP response code designating a successful run.
setTopLine(String) - Method in class com.sonalb.net.http.Header
Sets the top-line of this Header.
setValue(String) - Method in class com.sonalb.net.http.cookie.Cookie
Sets the Cookie value.
setVersion(String) - Method in class com.sonalb.net.http.cookie.Cookie
Sets the Cookie version.
size() - Method in class com.sonalb.net.http.Header
 
size() - Method in class com.sonalb.net.http.cookie.CookieJar
 
sortCookiesByPathSpecificity(CookieJar) - Static method in class com.sonalb.net.http.cookie.RFC2965CookieParser
Sorts the Cookies in the input CookieJar, with the cookie having most specific path attribute first.
stripQuotes(String) - Static method in class com.sonalb.Utils
Removes the outermost double-quotes pair from the input String.

T

tailMatch(URL, String) - Static method in class com.sonalb.net.http.cookie.RFC2965CookieParser
Performs "tail matching" of URL host/domain to cookie domain, for Version 0 cookies as specified by Netscape's draft.
toArray() - Method in class com.sonalb.net.http.cookie.CookieJar
 
toArray(Object[]) - Method in class com.sonalb.net.http.cookie.CookieJar
 
toCookieHeaderForm(Cookie, boolean) - Static method in class com.sonalb.net.http.cookie.RFC2965CookieParser
Converts a single Cookie to a form suitable for sending with a request, back to the server.
toString() - Method in class com.sonalb.EnhancedRuntimeException
Returns a short description of this instance.
toString() - Method in class com.sonalb.EnhancedException
Returns a short description of this instance.
toString() - Method in class com.sonalb.EnhancedIOException
Returns a short description of this instance.
toString() - Method in class com.sonalb.net.http.HeaderEntry
 
toString() - Method in class com.sonalb.net.http.Header
 
toString() - Method in class com.sonalb.net.http.cookie.CookieJar
 
toString() - Method in class com.sonalb.net.http.cookie.Cookie
 
trimLeftWS(String) - Static method in class com.sonalb.Utils
Returns the String obtained by removing any whitespace at the left hand side of the argument.
trimRightWS(String) - Static method in class com.sonalb.Utils
Returns the String obtained by removing any whitespace at the right hand side of the argument.
trimWhitespace(String) - Static method in class com.sonalb.Utils
Returns the String obtained by removing any whitespace at both ends of the argument.
trimWS(String) - Static method in class com.sonalb.Utils
Convenience synonym for trimWhitespace(String).

U

Utils - class com.sonalb.Utils.
Utility class containing several general-purpose methods for system-wide consumption.

A C D E F G H I M P R S T U
Copyright (c) 2001-2002 Sonal Bansal