A B C D E F G H I L M N O P Q R S T U V W

A

acceptCookie(Cookie, RoRequest, RoResponse) - Method in interface org.exoplatform.common.http.client.CookiePolicyHandler
This method is called for each cookie that a server tries to set via the Set-Cookie header.
ACCEPTED - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 202: Accepted.
addAuthorization(AuthorizationInfo) - Static method in class org.exoplatform.common.http.client.AuthorizationInfo
Adds an authorization entry to the list using the default context.
addAuthorization(AuthorizationInfo, Object) - Static method in class org.exoplatform.common.http.client.AuthorizationInfo
Adds an authorization entry to the list.
addAuthorization(String, int, String, String, String, NVPair[], Object) - Static method in class org.exoplatform.common.http.client.AuthorizationInfo
Adds an authorization entry to the list using the default context.
addAuthorization(String, int, String, String, String, NVPair[], Object, Object) - Static method in class org.exoplatform.common.http.client.AuthorizationInfo
Adds an authorization entry to the list.
addBasicAuthorization(String, int, String, String, String) - Static method in class org.exoplatform.common.http.client.AuthorizationInfo
Adds an authorization entry for the "Basic" authorization scheme to the list using the default context.
addBasicAuthorization(String, int, String, String, String, Object) - Static method in class org.exoplatform.common.http.client.AuthorizationInfo
Adds an authorization entry for the "Basic" authorization scheme to the list.
addBasicAuthorization(String, String, String) - Method in class org.exoplatform.common.http.client.HTTPConnection
Adds an authorization entry for the "basic" authorization scheme to the list.
addChild(HierarchicalProperty) - Method in class org.exoplatform.common.util.HierarchicalProperty
Adds prop as a children to this property.
addCookie(Cookie) - Static method in class org.exoplatform.common.http.client.CookieModule
Add the specified cookie to the list of cookies in the default context.
addCookie(Cookie, Object) - Static method in class org.exoplatform.common.http.client.CookieModule
Add the specified cookie to the list of cookies for the specified context.
addDefaultModule(Class, int) - Static method in class org.exoplatform.common.http.client.HTTPConnection
Adds a module to the default list.
addDigestAuthorization(String, int, String, String, String) - Static method in class org.exoplatform.common.http.client.AuthorizationInfo
Adds an authorization entry for the "Digest" authorization scheme to the list using the default context.
addDigestAuthorization(String, int, String, String, String, Object) - Static method in class org.exoplatform.common.http.client.AuthorizationInfo
Adds an authorization entry for the "Digest" authorization scheme to the list.
addDigestAuthorization(String, String, String) - Method in class org.exoplatform.common.http.client.HTTPConnection
Adds an authorization entry for the "digest" authorization scheme to the list.
addModule(Class, int) - Method in class org.exoplatform.common.http.client.HTTPConnection
Adds a module to the current list.
addPath(String) - Method in class org.exoplatform.common.http.client.AuthorizationInfo
Adds the path from the given resource to our path list.
ALL - Static variable in class org.exoplatform.common.http.client.Log
All the facilities - for use in setLogging (-1)
allowUI() - Method in class org.exoplatform.common.http.client.Request
 
allowUI() - Method in interface org.exoplatform.common.http.client.RoRequest
 
alphanumChar - Static variable in class org.exoplatform.common.http.client.URI
 
appendTo(StringBuffer) - Method in class org.exoplatform.common.http.client.HttpHeaderElement
Append this header element to the given buffer.
assembleHeader(Vector) - Static method in class org.exoplatform.common.http.client.Util
Assembles a Vector of HttpHeaderElements into a full header string.
attributes - Variable in class org.exoplatform.common.util.HierarchicalProperty
 
AUTH - Static variable in class org.exoplatform.common.http.client.Log
The Authorization facility (8)
AuthorizationHandler - Interface in org.exoplatform.common.http.client
This is the interface that an Authorization handler must implement.
AuthorizationInfo - Class in org.exoplatform.common.http.client
Holds the information for an authorization response.
AuthorizationInfo(String, int, String, String, NVPair[], Object) - Constructor for class org.exoplatform.common.http.client.AuthorizationInfo
Creates a new info structure for the specified host and port with the specified scheme, realm, params.
AuthorizationInfo(String, int, String, String, String) - Constructor for class org.exoplatform.common.http.client.AuthorizationInfo
Creates a new info structure for the specified host and port with the specified scheme, realm and cookie.
AuthorizationPrompter - Interface in org.exoplatform.common.http.client
This is the interface that a username/password prompter must implement.
AuthSchemeNotImplException - Exception in org.exoplatform.common.http.client
Signals that the handling of a authorization scheme is not implemented.
AuthSchemeNotImplException() - Constructor for exception org.exoplatform.common.http.client.AuthSchemeNotImplException
Constructs an AuthSchemeNotImplException with no detail message.
AuthSchemeNotImplException(String) - Constructor for exception org.exoplatform.common.http.client.AuthSchemeNotImplException
Constructs an AuthSchemeNotImplException class with the specified detail message.

B

BAD_GATEWAY - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 502: Bad Gateway.
BAD_METHOD - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 405: Method Not Allowed.
BAD_REQUEST - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 400: Bad Request.
base64Decode(String) - Static method in class org.exoplatform.common.http.client.Codecs
This method decodes the given string using the base64-encoding specified in RFC-2045 (Section 6.8).
base64Decode(byte[]) - Static method in class org.exoplatform.common.http.client.Codecs
This method decodes the given byte[] using the base64-encoding specified in RFC-2045 (Section 6.8).
base64Encode(String) - Static method in class org.exoplatform.common.http.client.Codecs
This method encodes the given string using the base64-encoding specified in RFC-2045 (Section 6.8).
base64Encode(byte[]) - Static method in class org.exoplatform.common.http.client.Codecs
This method encodes the given byte[] using the base64-encoding specified in RFC-2045 (Section 6.8).

C

canonicalizePath(String) - Static method in class org.exoplatform.common.http.client.URI
Remove all "/../" and "/./" from path, where possible.
children - Variable in class org.exoplatform.common.util.HierarchicalProperty
Child properties.
chunkedDecode(InputStream) - Static method in class org.exoplatform.common.http.client.Codecs
Decodes chunked data.
chunkedEncode(byte[], NVPair[], boolean) - Static method in class org.exoplatform.common.http.client.Codecs
Encodes data used the chunked encoding.
chunkedEncode(byte[], int, int, NVPair[], boolean) - Static method in class org.exoplatform.common.http.client.Codecs
Encodes data used the chunked encoding.
CLIENT_TIMEOUT - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 408: Request Time-Out.
clone() - Method in class org.exoplatform.common.http.client.AuthorizationInfo
 
clone() - Method in class org.exoplatform.common.http.client.Request
 
clone() - Method in class org.exoplatform.common.http.client.Response
 
close() - Method in class org.exoplatform.common.http.client.HttpOutputStream
Closes the stream and causes the data to be sent if it has not already been done so.
Codecs - Class in org.exoplatform.common.http.client
This class collects various encoders and decoders.
comment - Variable in class org.exoplatform.common.http.client.Cookie2
 
comment_url - Variable in class org.exoplatform.common.http.client.Cookie2
 
con - Variable in class org.exoplatform.common.http.client.HttpURLConnection
the current connection
CONFLICT - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 409: Conflict.
CONN - Static variable in class org.exoplatform.common.http.client.Log
The HTTPConnection facility (1)
connect() - Method in class org.exoplatform.common.http.client.HttpURLConnection
Connects to the server (if connection not still kept alive) and issues the request.
connections - Static variable in class org.exoplatform.common.http.client.HttpURLConnection
the cache of HTTPConnections
COOKI - Static variable in class org.exoplatform.common.http.client.Log
The Cookies facility (16)
Cookie - Class in org.exoplatform.common.http.client
This class represents an http cookie as specified in Netscape's cookie spec; however, because not even Netscape follows their own spec, and because very few folks out there actually read specs but instead just look whether Netscape accepts their stuff, the Set-Cookie header field parser actually tries to follow what Netscape has implemented, instead of what the spec says.
Cookie(String, String, String, String, Date, boolean) - Constructor for class org.exoplatform.common.http.client.Cookie
Create a cookie.
Cookie(RoRequest) - Constructor for class org.exoplatform.common.http.client.Cookie
Use parse() to create cookies.
Cookie2 - Class in org.exoplatform.common.http.client
This class represents an http cookie as specified in the HTTP State Management Mechanism spec (also known as a version 1 cookie).
Cookie2(String, String, String, int[], String, Date, boolean, boolean, String, URI) - Constructor for class org.exoplatform.common.http.client.Cookie2
Create a cookie.
Cookie2(RoRequest) - Constructor for class org.exoplatform.common.http.client.Cookie2
Use parse() to create cookies.
CookieModule - Class in org.exoplatform.common.http.client
This module handles Netscape cookies (also called Version 0 cookies) and Version 1 cookies.
CookiePolicyHandler - Interface in org.exoplatform.common.http.client
This is the interface that a cookie policy handler must implement.
Copy(String, String, boolean, boolean) - Method in class org.exoplatform.common.http.client.HTTPConnection
Copy resource or colleaction to URL spesified in destination parameter.
Copy(String, String) - Method in class org.exoplatform.common.http.client.HTTPConnection
Copy resource or colleaction to URL spesified in destination parameter.
copyFrom(Request) - Method in class org.exoplatform.common.http.client.Request
Copy all the fields from other to this request.
CREATED - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 201: Created.

D

DefaultAuthHandler - Class in org.exoplatform.common.http.client
This class is the default authorization handler.
DefaultAuthHandler() - Constructor for class org.exoplatform.common.http.client.DefaultAuthHandler
 
defaultPort(String) - Static method in class org.exoplatform.common.http.client.URI
Return the default port used by a given protocol.
defaultPort(String) - Static method in class org.exoplatform.common.http.client.Util
Deprecated. use URI.defaultPort() instead
defaultPorts - Static variable in class org.exoplatform.common.http.client.URI
 
Delete(String) - Method in class org.exoplatform.common.http.client.HTTPConnection
Requests that file be DELETEd from the server.
Delete(String, NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
Requests that file be DELETEd from the server.
DELETE - Static variable in interface org.exoplatform.common.http.HTTPMethods
 
deleteHeader(String) - Method in class org.exoplatform.common.http.client.Response
Removes a header field from the list of headers.
deleteTrailer(String) - Method in class org.exoplatform.common.http.client.Response
Removes a trailer field from the list of trailers.
DEMUX - Static variable in class org.exoplatform.common.http.client.Log
The StreamDemultiplexor facility (4)
dequoteString(String) - Static method in class org.exoplatform.common.http.client.Util
Replace quoted characters by their unquoted version.
discard() - Method in class org.exoplatform.common.http.client.Cookie
 
discard - Variable in class org.exoplatform.common.http.client.Cookie2
 
discard() - Method in class org.exoplatform.common.http.client.Cookie2
 
discardAllCookies() - Static method in class org.exoplatform.common.http.client.CookieModule
Discard all cookies for all contexts.
discardAllCookies(Object) - Static method in class org.exoplatform.common.http.client.CookieModule
Discard all cookies for the given context.
disconnect() - Method in class org.exoplatform.common.http.client.HttpURLConnection
Closes all the connections to this server.
domain - Variable in class org.exoplatform.common.http.client.Cookie
 
domain_set - Variable in class org.exoplatform.common.http.client.Cookie2
 
dontProxyFor(String) - Static method in class org.exoplatform.common.http.client.HTTPConnection
Add host to the list of hosts which should be accessed directly, not via any proxy set by setProxyServer().
dontProxyFor(String[]) - Static method in class org.exoplatform.common.http.client.HTTPConnection
Convenience method to add a number of hosts at once.
doProxyFor(String) - Static method in class org.exoplatform.common.http.client.HTTPConnection
Remove host from the list of hosts for which the proxy should not be used.

E

ENABLE_BACKWARDS_COMPATIBILITY - Static variable in class org.exoplatform.common.http.client.URI
If true, then the parser will resolve certain URI's in backwards compatible (but technically incorrect) manner.
ENTITY_TOO_LARGE - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 413: Request Entity Too Large.
equals(Object) - Method in class org.exoplatform.common.http.client.AuthorizationInfo
Two AuthorizationInfos are considered equal if their host, port, scheme and realm match.
equals(Object) - Method in class org.exoplatform.common.http.client.Cookie
Two cookies match if the name, path and domain match.
equals(Object) - Method in class org.exoplatform.common.http.client.HttpHeaderElement
Two elements are equal if they have the same name.
equals(Object) - Method in class org.exoplatform.common.http.client.URI
 
escape(String, BitSet, boolean) - Static method in class org.exoplatform.common.http.client.URI
Escape any character not in the given character class.
escape(char[], BitSet, boolean) - Static method in class org.exoplatform.common.http.client.URI
Escape any character not in the given character class.
escpdFragChar - Static variable in class org.exoplatform.common.http.client.URI
list of characters which must not be escaped when escaping a fragment identifier
escpdPathChar - Static variable in class org.exoplatform.common.http.client.URI
list of characters which must not be escaped when escaping a path
escpdQueryChar - Static variable in class org.exoplatform.common.http.client.URI
list of characters which must not be escaped when escaping a query string
expires - Variable in class org.exoplatform.common.http.client.Cookie
 
expires() - Method in class org.exoplatform.common.http.client.Cookie
 
ExtensionMethod(String, String, byte[], NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
This is here to allow an arbitrary, non-standard request to be sent.
ExtensionMethod(String, String, HttpOutputStream, NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
This is here to allow an arbitrary, non-standard request to be sent.

F

FilenameMangler - Interface in org.exoplatform.common.http.client
Codecs.mpFormDataDecode and Codecs.mpFormDataEncode may be handed an instance of a class which implements this interface in order to control names of the decoded files or the names sent in the encoded data.
fixupAuthInfo(AuthorizationInfo, RoRequest, AuthorizationInfo, RoResponse) - Method in interface org.exoplatform.common.http.client.AuthorizationHandler
This method is called whenever auth info is chosen from the list of known info in the AuthorizationInfo class to be sent with a request.
fixupAuthInfo(AuthorizationInfo, RoRequest, AuthorizationInfo, RoResponse) - Method in class org.exoplatform.common.http.client.DefaultAuthHandler
For Digest authentication we need to set the uri, response and opaque parameters.
FORBIDDEN - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 403: Forbidden.
FOUND - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 302: Temporary Redirect.
fragment - Variable in class org.exoplatform.common.http.client.URI
 

G

GATEWAY_TIMEOUT - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 504: Gateway Timeout.
GENERIC - Static variable in class org.exoplatform.common.http.client.URI
 
Get(String) - Method in class org.exoplatform.common.http.client.HTTPConnection
GETs the file.
Get(String, NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
GETs the file with a query consisting of the specified form-data.
Get(String, NVPair[], NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
GETs the file with a query consisting of the specified form-data.
Get(String, String) - Method in class org.exoplatform.common.http.client.HTTPConnection
GETs the file using the specified query string.
Get(String, String, NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
GETs the file using the specified query string.
GET - Static variable in interface org.exoplatform.common.http.HTTPMethods
 
getAllowUserInteraction() - Method in class org.exoplatform.common.http.client.HTTPConnection
returns whether modules are allowed to prompt or popup dialogs if neccessary.
getAttribute(String) - Method in class org.exoplatform.common.util.HierarchicalProperty
 
getAttributes() - Method in class org.exoplatform.common.util.HierarchicalProperty
 
getAuthHandler() - Static method in class org.exoplatform.common.http.client.AuthorizationInfo
Get's the current authorization handler.
getAuthorization(AuthorizationInfo, RoRequest, RoResponse) - Method in interface org.exoplatform.common.http.client.AuthorizationHandler
This method is called whenever a 401 or 407 response is received and no candidate info is found in the list of known auth info.
getAuthorization(String, int, String, String) - Static method in class org.exoplatform.common.http.client.AuthorizationInfo
Searches for the authorization info using the given host, port, scheme and realm.
getAuthorization(String, int, String, String, Object) - Static method in class org.exoplatform.common.http.client.AuthorizationInfo
Searches for the authorization info in the given context using the given host, port, scheme and realm.
getAuthorization(AuthorizationInfo, RoRequest, RoResponse) - Method in class org.exoplatform.common.http.client.DefaultAuthHandler
returns the requested authorization, or null if none was given.
getChild(QName) - Method in class org.exoplatform.common.util.HierarchicalProperty
Retrieves child property by name.
getChild(int) - Method in class org.exoplatform.common.util.HierarchicalProperty
Retrieves child property by 0 based index.
getChildren() - Method in class org.exoplatform.common.util.HierarchicalProperty
 
getComment() - Method in class org.exoplatform.common.http.client.Cookie2
 
getCommentURL() - Method in class org.exoplatform.common.http.client.Cookie2
 
getConnection(URL) - Method in class org.exoplatform.common.http.client.HttpURLConnection
Returns an HTTPConnection.
getConnection() - Method in class org.exoplatform.common.http.client.Request
 
getConnection() - Method in interface org.exoplatform.common.http.client.RoRequest
 
getContext() - Method in class org.exoplatform.common.http.client.HTTPConnection
Returns the current context.
getCookie() - Method in class org.exoplatform.common.http.client.AuthorizationInfo
Get the cookie
getData() - Method in class org.exoplatform.common.http.client.HTTPResponse
Reads all the response data into a byte array.
getData() - Method in class org.exoplatform.common.http.client.Request
 
getData() - Method in class org.exoplatform.common.http.client.Response
Reads all the response data into a byte array.
getData() - Method in interface org.exoplatform.common.http.client.RoRequest
 
getData() - Method in interface org.exoplatform.common.http.client.RoResponse
Reads all the response data into a byte array.
getData() - Method in class org.exoplatform.common.transport.SerialRequest
 
getData() - Method in class org.exoplatform.common.transport.SerialResponse
 
getDefaultAllowUserInteraction() - Static method in class org.exoplatform.common.http.client.HTTPConnection
Gets the default allow-user-action.
getDefaultContext() - Static method in class org.exoplatform.common.http.client.HTTPConnection
Returns the default context.
getDefaultHeaders() - Method in class org.exoplatform.common.http.client.HTTPConnection
Gets the current list of default http headers.
getDefaultModules() - Static method in class org.exoplatform.common.http.client.HTTPConnection
Returns the default list of modules.
getDefaultRequestProperty(String) - Static method in class org.exoplatform.common.http.client.HttpURLConnection
Gets the value for a given default request header.
getDefaultTimeout() - Static method in class org.exoplatform.common.http.client.HTTPConnection
Gets the default timeout value to be used for each new HTTPConnection.
getDomain() - Method in class org.exoplatform.common.http.client.Cookie
Return the domain this cookie is valid in.
getEffectiveURI() - Method in class org.exoplatform.common.http.client.HTTPResponse
Get the final URI of the document.
getEffectiveURI() - Method in class org.exoplatform.common.http.client.Response
get the final URI of the document.
getEffectiveURL() - Method in class org.exoplatform.common.http.client.HTTPResponse
Deprecated. use getEffectiveURI() instead
getEffectiveURL() - Method in class org.exoplatform.common.http.client.Response
Deprecated. use getEffectiveURI() instead
getElement(Vector, String) - Static method in class org.exoplatform.common.http.client.Util
Get the HttpHeaderElement with the name name.
getErrorStream() - Method in class org.exoplatform.common.http.client.HttpURLConnection
Returns the error stream if the connection failed but the server sent useful data nonetheless.
getExtraInfo() - Method in class org.exoplatform.common.http.client.AuthorizationInfo
Get the extra info.
getFragment() - Method in class org.exoplatform.common.http.client.URI
 
getFragment(String) - Static method in class org.exoplatform.common.http.client.Util
Extract the fragment part from an http resource.
getHeader(String) - Method in class org.exoplatform.common.http.client.HTTPResponse
Retrieves the value for a given header.
getHeader(String) - Method in class org.exoplatform.common.http.client.Response
retrieves the field for a given header.
getHeader(String) - Method in interface org.exoplatform.common.http.client.RoResponse
retrieves the field for a given header.
getHeaderAsDate(String) - Method in class org.exoplatform.common.http.client.HTTPResponse
Retrieves the value for a given header.
getHeaderAsDate(String) - Method in class org.exoplatform.common.http.client.Response
retrieves the field for a given header.
getHeaderAsDate(String) - Method in interface org.exoplatform.common.http.client.RoResponse
retrieves the field for a given header.
getHeaderAsInt(String) - Method in class org.exoplatform.common.http.client.HTTPResponse
Retrieves the value for a given header.
getHeaderAsInt(String) - Method in class org.exoplatform.common.http.client.Response
retrieves the field for a given header.
getHeaderAsInt(String) - Method in interface org.exoplatform.common.http.client.RoResponse
retrieves the field for a given header.
getHeaderField(String) - Method in class org.exoplatform.common.http.client.HttpURLConnection
Get the value part of a header.
getHeaderField(int) - Method in class org.exoplatform.common.http.client.HttpURLConnection
Gets header value of the n-th header.
getHeaderFieldDate(String, long) - Method in class org.exoplatform.common.http.client.HttpURLConnection
Get the value part of a header, interprets it as a date and converts it to a long representing the number of milliseconds since 1970.
getHeaderFieldInt(String, int) - Method in class org.exoplatform.common.http.client.HttpURLConnection
Get the value part of a header and converts it to an int.
getHeaderFieldKey(int) - Method in class org.exoplatform.common.http.client.HttpURLConnection
Gets header name of the n-th header.
getHeaders() - Method in class org.exoplatform.common.http.client.Request
 
getHeaders() - Method in interface org.exoplatform.common.http.client.RoRequest
 
getHeaders() - Method in class org.exoplatform.common.transport.SerialRequest
 
getHeaders() - Method in class org.exoplatform.common.transport.SerialResponse
 
getHost() - Method in class org.exoplatform.common.http.client.AuthorizationInfo
Get the host.
getHost() - Method in class org.exoplatform.common.http.client.HTTPConnection
Returns the host this connection is talking to.
getHost() - Method in class org.exoplatform.common.http.client.URI
 
getInputStream() - Method in class org.exoplatform.common.http.client.HTTPResponse
Gets an input stream from which the returned data can be read.
getInputStream() - Method in class org.exoplatform.common.http.client.HttpURLConnection
Gets an input stream from which the data in the response may be read.
getInputStream() - Method in class org.exoplatform.common.http.client.Response
Gets an input stream from which the returned data can be read.
getInputStream() - Method in interface org.exoplatform.common.http.client.RoResponse
Gets an input stream from which the returned data can be read.
getInstanceFollowRedirects() - Method in class org.exoplatform.common.http.client.HttpURLConnection
 
getLength() - Method in class org.exoplatform.common.http.client.HttpOutputStream
Returns the number of bytes this stream is willing to accept, or -1 if it is unbounded.
getMethod() - Method in class org.exoplatform.common.http.client.Request
 
getMethod() - Method in interface org.exoplatform.common.http.client.RoRequest
 
getMethod() - Method in class org.exoplatform.common.transport.SerialRequest
 
getModules() - Method in class org.exoplatform.common.http.client.HTTPConnection
Returns the list of modules used currently.
getName() - Method in class org.exoplatform.common.http.client.Cookie
Return the name of this cookie.
getName() - Method in class org.exoplatform.common.http.client.HttpHeaderElement
 
getName() - Method in class org.exoplatform.common.http.client.NVPair
Get the name.
getName() - Method in class org.exoplatform.common.util.HierarchicalProperty
 
getOpaque() - Method in class org.exoplatform.common.http.client.URI
 
getOriginalURI() - Method in class org.exoplatform.common.http.client.HTTPResponse
Get the original URI used in the request.
getOutputStream() - Method in class org.exoplatform.common.http.client.HttpURLConnection
Gets an output stream which can be used send an entity with the request.
getParameter(String, String) - Static method in class org.exoplatform.common.http.client.Util
retrieves the value associated with the parameter param in a given header string.
getParams() - Method in class org.exoplatform.common.http.client.AuthorizationInfo
Get the authentication parameters.
getParams() - Method in class org.exoplatform.common.http.client.HttpHeaderElement
 
getParams(String) - Static method in class org.exoplatform.common.http.client.Util
Extract the params part from an http resource.
getPath() - Method in class org.exoplatform.common.http.client.Cookie
Return the path this cookie is associated with.
getPath() - Method in class org.exoplatform.common.http.client.URI
 
getPath(String) - Static method in class org.exoplatform.common.http.client.Util
Extract the path from an http resource.
getPathAndQuery() - Method in class org.exoplatform.common.http.client.URI
 
getPort() - Method in class org.exoplatform.common.http.client.AuthorizationInfo
Get the port.
getPort() - Method in class org.exoplatform.common.http.client.HTTPConnection
Returns the port this connection connects to.
getPort() - Method in class org.exoplatform.common.http.client.URI
 
getPorts() - Method in class org.exoplatform.common.http.client.Cookie2
 
getProtocol() - Method in class org.exoplatform.common.http.client.HTTPConnection
Returns the protocol this connection is talking.
getProxyHost() - Method in class org.exoplatform.common.http.client.HTTPConnection
Returns the host of the proxy this connection is using.
getProxyPort() - Method in class org.exoplatform.common.http.client.HTTPConnection
Returns the port of the proxy this connection is using.
getQueries() - Method in class org.exoplatform.common.transport.SerialRequest
 
getQuery(String) - Static method in class org.exoplatform.common.http.client.Util
Extract the query string from an http resource.
getQueryString() - Method in class org.exoplatform.common.http.client.URI
 
getRealm() - Method in class org.exoplatform.common.http.client.AuthorizationInfo
Get the realm.
getReasonLine() - Method in class org.exoplatform.common.http.client.HTTPResponse
Give the reason line associated with the status code.
getReasonLine() - Method in class org.exoplatform.common.http.client.Response
give the reason line associated with the status code.
getReasonLine() - Method in interface org.exoplatform.common.http.client.RoResponse
 
getRequestMethod() - Method in class org.exoplatform.common.http.client.HttpURLConnection
Return the request method used.
getRequestProperty(String) - Method in class org.exoplatform.common.http.client.HttpURLConnection
Gets the value of a given request header.
getRequestURI() - Method in class org.exoplatform.common.http.client.Request
 
getRequestURI() - Method in interface org.exoplatform.common.http.client.RoRequest
 
getResponseCode() - Method in class org.exoplatform.common.http.client.HttpURLConnection
Get the response code.
getResponseMessage() - Method in class org.exoplatform.common.http.client.HttpURLConnection
Get the response message describing the response code.
getScheme() - Method in class org.exoplatform.common.http.client.AuthorizationInfo
Get the scheme.
getScheme() - Method in class org.exoplatform.common.http.client.URI
 
getServer() - Method in class org.exoplatform.common.http.client.HTTPResponse
Deprecated. This method is a remnant of V0.1; use getHeader("Server") instead.
getStatus() - Method in class org.exoplatform.common.transport.SerialResponse
 
getStatusCode() - Method in class org.exoplatform.common.http.client.HTTPResponse
Give the status code for this request.
getStatusCode() - Method in class org.exoplatform.common.http.client.Response
give the status code for this request.
getStatusCode() - Method in interface org.exoplatform.common.http.client.RoResponse
give the status code for this request.
getStream() - Method in class org.exoplatform.common.http.client.Request
 
getStream() - Method in interface org.exoplatform.common.http.client.RoRequest
 
getStream() - Method in class org.exoplatform.common.transport.SerialInputData
 
getStringName() - Method in class org.exoplatform.common.util.HierarchicalProperty
 
getText() - Method in class org.exoplatform.common.http.client.HTTPResponse
Reads all the response data into a buffer and turns it into a string using the appropriate character converter.
getTimeout() - Method in class org.exoplatform.common.http.client.HTTPConnection
Gets the timeout used for reading response data.
getTrailer(String) - Method in class org.exoplatform.common.http.client.HTTPResponse
Retrieves the value for a given trailer.
getTrailer(String) - Method in class org.exoplatform.common.http.client.Response
Retrieves the field for a given trailer.
getTrailer(String) - Method in interface org.exoplatform.common.http.client.RoResponse
Retrieves the field for a given trailer.
getTrailerAsDate(String) - Method in class org.exoplatform.common.http.client.HTTPResponse
Retrieves the value for a given trailer.
getTrailerAsDate(String) - Method in class org.exoplatform.common.http.client.Response
Retrieves the field for a given trailer.
getTrailerAsDate(String) - Method in interface org.exoplatform.common.http.client.RoResponse
Retrieves the field for a given trailer.
getTrailerAsInt(String) - Method in class org.exoplatform.common.http.client.HTTPResponse
Retrieves the value for a given tailer.
getTrailerAsInt(String) - Method in class org.exoplatform.common.http.client.Response
Retrieves the field for a given tailer.
getTrailerAsInt(String) - Method in interface org.exoplatform.common.http.client.RoResponse
Retrieves the field for a given tailer.
getTrailers() - Method in class org.exoplatform.common.http.client.HttpOutputStream
Gets the trailers which were set with setTrailers().
getURL() - Method in class org.exoplatform.common.http.client.HttpURLConnection
Gets the url for this connection.
getUrl() - Method in class org.exoplatform.common.transport.SerialRequest
 
getUserinfo() - Method in class org.exoplatform.common.http.client.URI
 
getUsernamePassword(AuthorizationInfo, boolean) - Method in interface org.exoplatform.common.http.client.AuthorizationPrompter
This method is invoked whenever a username and password is required for an authentication challenge to proceed.
getValue() - Method in class org.exoplatform.common.http.client.Cookie
Return the value of this cookie.
getValue() - Method in class org.exoplatform.common.http.client.HttpHeaderElement
 
getValue() - Method in class org.exoplatform.common.http.client.NVPair
Get the value.
getValue() - Method in class org.exoplatform.common.util.HierarchicalProperty
 
getVersion() - Method in class org.exoplatform.common.http.client.Cookie2
 
getVersion() - Method in class org.exoplatform.common.http.client.HTTPResponse
Get the HTTP version used for the response.
getVersion() - Method in class org.exoplatform.common.http.client.Response
get the HTTP version used for the response.
getVersion() - Method in interface org.exoplatform.common.http.client.RoResponse
 
GONE - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 410: Gone.

H

handleAuthHeaders(Response, RoRequest, AuthorizationInfo, AuthorizationInfo) - Method in interface org.exoplatform.common.http.client.AuthorizationHandler
Sometimes even non-401 responses will contain headers pertaining to authorization (such as the "Authentication-Info" header).
handleAuthHeaders(Response, RoRequest, AuthorizationInfo, AuthorizationInfo) - Method in class org.exoplatform.common.http.client.DefaultAuthHandler
We handle the "Authentication-Info" and "Proxy-Authentication-Info" headers here.
handleAuthTrailers(Response, RoRequest, AuthorizationInfo, AuthorizationInfo) - Method in interface org.exoplatform.common.http.client.AuthorizationHandler
This method is similar to handleAuthHeaders except that it is called if any headers in the trailer were sent.
handleAuthTrailers(Response, RoRequest, AuthorizationInfo, AuthorizationInfo) - Method in class org.exoplatform.common.http.client.DefaultAuthHandler
We handle the "Authentication-Info" and "Proxy-Authentication-Info" trailers here.
hasEntity() - Method in class org.exoplatform.common.http.client.Response
Some responses such as those from a HEAD or with certain status codes don't have an entity.
hasExpired() - Method in class org.exoplatform.common.http.client.Cookie
 
hashCode() - Method in class org.exoplatform.common.http.client.AuthorizationInfo
Produces a hash code based on host, scheme and realm.
hashCode() - Method in class org.exoplatform.common.http.client.Cookie
Hash up name, path and domain into new hash.
hashCode() - Method in class org.exoplatform.common.http.client.URI
The hash code is calculated over scheme, host, path, and query.
hasToken(String, String) - Static method in class org.exoplatform.common.http.client.Util
Determines if the given header contains a certain token.
Head(String) - Method in class org.exoplatform.common.http.client.HTTPConnection
Sends the HEAD request.
Head(String, NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
Sends the HEAD request.
Head(String, NVPair[], NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
Sends the HEAD request.
Head(String, String) - Method in class org.exoplatform.common.http.client.HTTPConnection
Sends the HEAD request.
Head(String, String, NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
Sends the HEAD request.
HierarchicalProperty - Class in org.exoplatform.common.util
Created by The eXo Platform SAS .
HierarchicalProperty(String, String, String) - Constructor for class org.exoplatform.common.util.HierarchicalProperty
Constructor accepting String as property name, both prefixed (i.e.
HierarchicalProperty(QName, String) - Constructor for class org.exoplatform.common.util.HierarchicalProperty
 
HierarchicalProperty(QName, Calendar, String) - Constructor for class org.exoplatform.common.util.HierarchicalProperty
 
HierarchicalProperty(QName) - Constructor for class org.exoplatform.common.util.HierarchicalProperty
Shortcut for XMLProperty(name, null).
host - Variable in class org.exoplatform.common.http.client.URI
 
hostChar - Static variable in class org.exoplatform.common.http.client.URI
 
HTTPClientModule - Interface in org.exoplatform.common.http.client
This is the interface that a module must implement.
HTTPClientModuleConstants - Interface in org.exoplatform.common.http.client
This interface defines the return codes that the handlers in modules may return.
HTTPConnection - Class in org.exoplatform.common.http.client
This class implements http protocol requests; it contains most of HTTP/1.1 and ought to be unconditionally compliant.
HTTPConnection(Applet) - Constructor for class org.exoplatform.common.http.client.HTTPConnection
Constructs a connection to the host from where the applet was loaded.
HTTPConnection(String) - Constructor for class org.exoplatform.common.http.client.HTTPConnection
Constructs a connection to the specified host on port 80
HTTPConnection(String, int) - Constructor for class org.exoplatform.common.http.client.HTTPConnection
Constructs a connection to the specified host on the specified port
HTTPConnection(String, String, int) - Constructor for class org.exoplatform.common.http.client.HTTPConnection
Constructs a connection to the specified host on the specified port, using the specified protocol (currently only "http" is supported).
HTTPConnection(String, String, int, InetAddress, int) - Constructor for class org.exoplatform.common.http.client.HTTPConnection
Constructs a connection to the specified host on the specified port, using the specified protocol (currently only "http" is supported), local address, and local port.
HTTPConnection(URL) - Constructor for class org.exoplatform.common.http.client.HTTPConnection
Constructs a connection to the host (port) as given in the url.
HTTPConnection(URI) - Constructor for class org.exoplatform.common.http.client.HTTPConnection
Constructs a connection to the host (port) as given in the uri.
httpDate(Date) - Static method in class org.exoplatform.common.http.client.Util
This returns a string containing the date and time in date formatted according to a subset of RFC-1123.
HttpHeaderElement - Class in org.exoplatform.common.http.client
This class holds a description of an http header element.
HttpHeaderElement(String) - Constructor for class org.exoplatform.common.http.client.HttpHeaderElement
Construct an element with the given name.
HttpHeaderElement(String, String, NVPair[]) - Constructor for class org.exoplatform.common.http.client.HttpHeaderElement
 
HTTPMethods - Interface in org.exoplatform.common.http
Created by The eXo Platform SARL .
HttpOutputStream - Class in org.exoplatform.common.http.client
This class provides an output stream for requests.
HttpOutputStream() - Constructor for class org.exoplatform.common.http.client.HttpOutputStream
Creates an output stream of unspecified length.
HttpOutputStream(int) - Constructor for class org.exoplatform.common.http.client.HttpOutputStream
This creates an output stream which will take length bytes of data.
HTTPResponse - Class in org.exoplatform.common.http.client
This defines the http-response class returned by the requests.
HTTPStatus - Interface in org.exoplatform.common.http
Created by The eXo Platform SARL .
HttpURLConnection - Class in org.exoplatform.common.http.client
This class is a wrapper around HTTPConnection providing the interface defined by java.net.URLConnection and java.net.HttpURLConnection.
HttpURLConnection(URL) - Constructor for class org.exoplatform.common.http.client.HttpURLConnection
Construct a connection to the specified url.

I

inp_stream - Variable in class org.exoplatform.common.http.client.Response
our input stream (usually from the stream demux).
INTERNAL_ERROR - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 500: Internal Server Error.
isCompatibleWith(URI) - Method in class org.exoplatform.common.http.client.HTTPConnection
See if the given uri is compatible with this connection.
isEnabled(int) - Static method in class org.exoplatform.common.http.client.Log
Check whether logging for the given facility is enabled or not.
isGenericURI() - Method in class org.exoplatform.common.http.client.URI
Does the scheme specific part of this URI use the generic-URI syntax?
isSecure() - Method in class org.exoplatform.common.http.client.Cookie
Return whether this cookie should only be sent over secure connections.
isSemiGenericURI() - Method in class org.exoplatform.common.http.client.URI
Does the scheme specific part of this URI use the semi-generic-URI syntax?

L

LENGTH_REQUIRED - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 411: Length Required.
listAllCookies() - Static method in class org.exoplatform.common.http.client.CookieModule
List all stored cookies for all contexts.
listAllCookies(Object) - Static method in class org.exoplatform.common.http.client.CookieModule
List all stored cookies for a given context.
listHeaders() - Method in class org.exoplatform.common.http.client.HTTPResponse
Returns an enumeration of all the headers available via getHeader().
listTrailers() - Method in class org.exoplatform.common.http.client.HTTPResponse
Returns an enumeration of all the trailers available via getTrailer().
Lock(String, boolean, boolean, long) - Method in class org.exoplatform.common.http.client.HTTPConnection
LOCK request
Lock(String, long, String) - Method in class org.exoplatform.common.http.client.HTTPConnection
Refresh LOCK request.
Log - Class in org.exoplatform.common.http.client
This is a simple logger for the HTTPClient.

M

main(String[]) - Static method in class org.exoplatform.common.http.client.URI
Run test set.
mangleFilename(String, String) - Method in interface org.exoplatform.common.http.client.FilenameMangler
This is invoked by Codecs.mpFormDataDecode for each file found in the data, just before the file is created and written.
markChar - Static variable in class org.exoplatform.common.http.client.URI
 
MkCol(String) - Method in class org.exoplatform.common.http.client.HTTPConnection
Create new Collection.
MODS - Static variable in class org.exoplatform.common.http.client.Log
The Modules facility (32)
ModuleException - Exception in org.exoplatform.common.http.client
Signals that an exception occured in a module.
ModuleException() - Constructor for exception org.exoplatform.common.http.client.ModuleException
Constructs an ModuleException with no detail message.
ModuleException(String) - Constructor for exception org.exoplatform.common.http.client.ModuleException
Constructs an ModuleException class with the specified detail message.
Move(String, String, boolean) - Method in class org.exoplatform.common.http.client.HTTPConnection
Move resource or colleaction to URL spesified in destination parameter.
Move(String, String) - Method in class org.exoplatform.common.http.client.HTTPConnection
Move resource or colleaction to URL spesified in destination parameter.
MOVED_PERM - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 301: Moved Permanently.
mpFormDataDecode(byte[], String, String) - Static method in class org.exoplatform.common.http.client.Codecs
This method decodes a multipart/form-data encoded string.
mpFormDataDecode(byte[], String, String, FilenameMangler) - Static method in class org.exoplatform.common.http.client.Codecs
This method decodes a multipart/form-data encoded string.
mpFormDataEncode(NVPair[], NVPair[], NVPair[]) - Static method in class org.exoplatform.common.http.client.Codecs
This method encodes name/value pairs and files into a byte array using the multipart/form-data encoding.
mpFormDataEncode(NVPair[], NVPair[], NVPair[], FilenameMangler) - Static method in class org.exoplatform.common.http.client.Codecs
This method encodes name/value pairs and files into a byte array using the multipart/form-data encoding.
MULT_CHOICE - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 300: Multiple Choices.
MULTISTATUS - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 207: Multistatus.

N

name - Variable in class org.exoplatform.common.http.client.Cookie
 
name - Variable in class org.exoplatform.common.util.HierarchicalProperty
Property name.
NO_CONTENT - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 204: No Content.
NOT_ACCEPTABLE - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 406: Not Acceptable.
NOT_AUTHORITATIVE - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 203: Non-Authoritative Information.
NOT_FOUND - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 404: Not Found.
NOT_IMPLEMENTED - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 501: Not Implemented.
NOT_MODIFIED - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 304: Not Modified.
nv2query(NVPair[]) - Static method in class org.exoplatform.common.http.client.Codecs
Turns an array of name/value pairs into the string "name1=value1&name2=value2&name3=value3".
NVPair - Class in org.exoplatform.common.http.client
This class holds a Name/Value pair of strings.
NVPair(String, String) - Constructor for class org.exoplatform.common.http.client.NVPair
Creates a new name/value pair and initializes it to the specified name and value.
NVPair(NVPair) - Constructor for class org.exoplatform.common.http.client.NVPair
Creates a copy of a given name/value pair.

O

OK - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 200: OK.
OPAQUE - Static variable in class org.exoplatform.common.http.client.URI
 
opaque - Variable in class org.exoplatform.common.http.client.URI
 
opaqueChar - Static variable in class org.exoplatform.common.http.client.URI
 
Options(String) - Method in class org.exoplatform.common.http.client.HTTPConnection
Request OPTIONS from the server.
Options(String, NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
Request OPTIONS from the server.
Options(String, NVPair[], byte[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
Request OPTIONS from the server.
Options(String, NVPair[], HttpOutputStream) - Method in class org.exoplatform.common.http.client.HTTPConnection
Request OPTIONS from the server.
org.exoplatform.common.http - package org.exoplatform.common.http
 
org.exoplatform.common.http.client - package org.exoplatform.common.http.client
 
org.exoplatform.common.transport - package org.exoplatform.common.transport
 
org.exoplatform.common.util - package org.exoplatform.common.util
 

P

parse(String, RoRequest) - Static method in class org.exoplatform.common.http.client.Cookie
Parses the Set-Cookie header into an array of Cookies.
parse(String, RoRequest) - Static method in class org.exoplatform.common.http.client.Cookie2
Parses the Set-Cookie2 header into an array of Cookies.
ParseException - Exception in org.exoplatform.common.http.client
Signals that something went wrong while parsing data.
ParseException() - Constructor for exception org.exoplatform.common.http.client.ParseException
Constructs an ParseException with no detail message.
ParseException(String) - Constructor for exception org.exoplatform.common.http.client.ParseException
Constructs an ParseException class with the specified detail message.
parseHeader(String) - Static method in class org.exoplatform.common.http.client.Util
This parses the value part of a header.
parseHeader(String, boolean) - Static method in class org.exoplatform.common.http.client.Util
This parses the value part of a header.
PARTIAL - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 206: Partial Content.
path - Variable in class org.exoplatform.common.http.client.Cookie
 
path - Variable in class org.exoplatform.common.http.client.URI
 
path_set - Variable in class org.exoplatform.common.http.client.Cookie2
 
PAYMENT_REQUIRED - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 402: Payment Required.
pcharChar - Static variable in class org.exoplatform.common.http.client.URI
 
port - Variable in class org.exoplatform.common.http.client.URI
 
port_list - Variable in class org.exoplatform.common.http.client.Cookie2
 
port_list_str - Variable in class org.exoplatform.common.http.client.Cookie2
 
port_set - Variable in class org.exoplatform.common.http.client.Cookie2
 
Post(String) - Method in class org.exoplatform.common.http.client.HTTPConnection
POSTs to the specified file.
Post(String, NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
POSTs form-data to the specified file.
Post(String, NVPair[], NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
POST's form-data to the specified file using the specified headers.
Post(String, String) - Method in class org.exoplatform.common.http.client.HTTPConnection
POSTs the data to the specified file.
Post(String, String, NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
POSTs the data to the specified file using the specified headers.
Post(String, byte[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
POSTs the raw data to the specified file.
Post(String, byte[], NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
POSTs the raw data to the specified file using the specified headers.
Post(String, HttpOutputStream) - Method in class org.exoplatform.common.http.client.HTTPConnection
POSTs the data written to the output stream to the specified file.
Post(String, HttpOutputStream, NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
POSTs the data written to the output stream to the specified file using the specified headers.
POST - Static variable in interface org.exoplatform.common.http.HTTPMethods
 
PRECON_FAILED - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 412: Precondition Failed.
Propfind(String, List<String>, int) - Method in class org.exoplatform.common.http.client.HTTPConnection
PROPFIND prop request.
Propfind(String, List<String>) - Method in class org.exoplatform.common.http.client.HTTPConnection
PROPFIND prop request with 'Depth' header specified as 'infinity'.
PropfindAllprop(String, int) - Method in class org.exoplatform.common.http.client.HTTPConnection
PROPFIND allprop request with 'Depth' header specified as 'infinity'.
PropfindAllprop(String) - Method in class org.exoplatform.common.http.client.HTTPConnection
PROPFIND allprop request with 'Depth' header specified as 'infinity'.
PropfindPropname(String, int) - Method in class org.exoplatform.common.http.client.HTTPConnection
PROPFIND propname request.
PropfindPropname(String) - Method in class org.exoplatform.common.http.client.HTTPConnection
PROPFIND propname request with 'Depth' header specified as 'infinity'.
Proppath(String, Map<String, List<String>>, List<String>) - Method in class org.exoplatform.common.http.client.HTTPConnection
PROPPATCH request.
ProtocolNotSuppException - Exception in org.exoplatform.common.http.client
Signals that the protocol is not supported.
ProtocolNotSuppException() - Constructor for exception org.exoplatform.common.http.client.ProtocolNotSuppException
Constructs an ProtocolNotSuppException with no detail message.
ProtocolNotSuppException(String) - Constructor for exception org.exoplatform.common.http.client.ProtocolNotSuppException
Constructs an ProtocolNotSuppException class with the specified detail message.
PROXY_AUTH - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 407: Proxy Authentication Required.
Put(String, String) - Method in class org.exoplatform.common.http.client.HTTPConnection
PUTs the data into the specified file.
Put(String, String, NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
PUTs the data into the specified file using the additional headers for the request.
Put(String, byte[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
PUTs the raw data into the specified file.
Put(String, byte[], NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
PUTs the raw data into the specified file using the additional headers.
Put(String, HttpOutputStream) - Method in class org.exoplatform.common.http.client.HTTPConnection
PUTs the data written to the output stream into the specified file.
Put(String, HttpOutputStream, NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
PUTs the data written to the output stream into the specified file using the additional headers.
PUT - Static variable in interface org.exoplatform.common.http.HTTPMethods
 

Q

query - Variable in class org.exoplatform.common.http.client.URI
 
query2nv(String) - Static method in class org.exoplatform.common.http.client.Codecs
Turns a string of the form "name1=value1&name2=value2&name3=value3" into an array of name/value pairs.
quotedPrintableDecode(String) - Static method in class org.exoplatform.common.http.client.Codecs
This method does a quoted-printable decoding of the given string according to RFC-2045 (Section 6.7).
quotedPrintableEncode(String) - Static method in class org.exoplatform.common.http.client.Codecs
This method does a quoted-printable encoding of the given string according to RFC-2045 (Section 6.7).
quoteString(String, String) - Static method in class org.exoplatform.common.http.client.Util
Replace given characters by their quoted version.

R

reg_nameChar - Static variable in class org.exoplatform.common.http.client.URI
 
removeAuthorization(AuthorizationInfo) - Static method in class org.exoplatform.common.http.client.AuthorizationInfo
Removes an authorization entry from the list using the default context.
removeAuthorization(AuthorizationInfo, Object) - Static method in class org.exoplatform.common.http.client.AuthorizationInfo
Removes an authorization entry from the list.
removeAuthorization(String, int, String, String) - Static method in class org.exoplatform.common.http.client.AuthorizationInfo
Removes an authorization entry from the list using the default context.
removeAuthorization(String, int, String, String, Object) - Static method in class org.exoplatform.common.http.client.AuthorizationInfo
Removes an authorization entry from the list.
removeCookie(Cookie) - Static method in class org.exoplatform.common.http.client.CookieModule
Remove the specified cookie from the list of cookies in the default context.
removeCookie(Cookie, Object) - Static method in class org.exoplatform.common.http.client.CookieModule
Remove the specified cookie from the list of cookies for the specified context.
removeDefaultModule(Class) - Static method in class org.exoplatform.common.http.client.HTTPConnection
Removes a module from the default list.
removeModule(Class) - Method in class org.exoplatform.common.http.client.HTTPConnection
Removes a module from the current list.
REQ_CONTINUE - Static variable in interface org.exoplatform.common.http.client.HTTPClientModuleConstants
continue processing the request
REQ_NEWCON_RST - Static variable in interface org.exoplatform.common.http.client.HTTPClientModuleConstants
using a new HTTPConnection, restart request processing
REQ_NEWCON_SND - Static variable in interface org.exoplatform.common.http.client.HTTPClientModuleConstants
using a new HTTPConnection, send request immediately
REQ_RESPONSE - Static variable in interface org.exoplatform.common.http.client.HTTPClientModuleConstants
response generated; go to phase 2
REQ_RESTART - Static variable in interface org.exoplatform.common.http.client.HTTPClientModuleConstants
restart request processing with first module
REQ_RETURN - Static variable in interface org.exoplatform.common.http.client.HTTPClientModuleConstants
response generated; return response immediately (no processing)
REQ_SHORTCIRC - Static variable in interface org.exoplatform.common.http.client.HTTPClientModuleConstants
stop processing and send the request
REQ_TOO_LONG - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 414: Request-URI Too Large.
Request - Class in org.exoplatform.common.http.client
This class represents an http request.
Request(HTTPConnection, String, String, NVPair[], byte[], HttpOutputStream, boolean) - Constructor for class org.exoplatform.common.http.client.Request
Creates a new request structure.
requestHandler(Request, Response[]) - Method in class org.exoplatform.common.http.client.CookieModule
Invoked by the HTTPClient.
requestHandler(Request, Response[]) - Method in interface org.exoplatform.common.http.client.HTTPClientModule
This is invoked before the request is sent.
reservedChar - Static variable in class org.exoplatform.common.http.client.URI
 
reset() - Method in class org.exoplatform.common.http.client.HttpOutputStream
Reset this output stream, so it may be reused in a retried request.
RESET - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 205: Reset Content.
resp - Variable in class org.exoplatform.common.http.client.HttpURLConnection
the response
RESP - Static variable in class org.exoplatform.common.http.client.Log
The HTTPResponse facility (2)
Response - Class in org.exoplatform.common.http.client
This class represents an intermediate response.
Response(String, int, String, NVPair[], byte[], InputStream, int) - Constructor for class org.exoplatform.common.http.client.Response
Create a new response with the given info.
responsePhase1Handler(Response, RoRequest) - Method in class org.exoplatform.common.http.client.CookieModule
Invoked by the HTTPClient.
responsePhase1Handler(Response, RoRequest) - Method in interface org.exoplatform.common.http.client.HTTPClientModule
The phase 1 response handler.
responsePhase2Handler(Response, Request) - Method in class org.exoplatform.common.http.client.CookieModule
Invoked by the HTTPClient.
responsePhase2Handler(Response, Request) - Method in interface org.exoplatform.common.http.client.HTTPClientModule
The phase 2 response handler.
responsePhase3Handler(Response, RoRequest) - Method in class org.exoplatform.common.http.client.CookieModule
Invoked by the HTTPClient.
responsePhase3Handler(Response, RoRequest) - Method in interface org.exoplatform.common.http.client.HTTPClientModule
The phase 3 response handler.
resvdHostChar - Static variable in class org.exoplatform.common.http.client.URI
list of characters which must not be unescaped when unescaping a host
resvdPathChar - Static variable in class org.exoplatform.common.http.client.URI
list of characters which must not be unescaped when unescaping a path
resvdQueryChar - Static variable in class org.exoplatform.common.http.client.URI
list of characters which must not be unescaped when unescaping a query string
resvdSchemeChar - Static variable in class org.exoplatform.common.http.client.URI
list of characters which must not be unescaped when unescaping a scheme
resvdUIChar - Static variable in class org.exoplatform.common.http.client.URI
list of characters which must not be unescaped when unescaping a userinfo
retryRequest() - Method in class org.exoplatform.common.http.client.HTTPResponse
Should the request be retried by the application?
retryRequest() - Method in class org.exoplatform.common.http.client.Response
 
RoRequest - Interface in org.exoplatform.common.http.client
This interface represents the read-only interface of an http request.
RoResponse - Interface in org.exoplatform.common.http.client
This interface represents read-only interface of an intermediate http response.
RSP_CONTINUE - Static variable in interface org.exoplatform.common.http.client.HTTPClientModuleConstants
continue processing response
RSP_NEWCON_REQ - Static variable in interface org.exoplatform.common.http.client.HTTPClientModuleConstants
go to phase 1 using a new HTTPConnection
RSP_NEWCON_SND - Static variable in interface org.exoplatform.common.http.client.HTTPClientModuleConstants
send request using a new HTTPConnection
RSP_REQUEST - Static variable in interface org.exoplatform.common.http.client.HTTPClientModuleConstants
new request generated; go to phase 1
RSP_RESTART - Static variable in interface org.exoplatform.common.http.client.HTTPClientModuleConstants
restart response processing with first module
RSP_SEND - Static variable in interface org.exoplatform.common.http.client.HTTPClientModuleConstants
new request generated; send request immediately (no processing)
RSP_SHORTCIRC - Static variable in interface org.exoplatform.common.http.client.HTTPClientModuleConstants
stop processing and return response

S

sameHttpURL(URL, URL) - Static method in class org.exoplatform.common.http.client.Util
Compares two http urls for equality.
scheme - Variable in class org.exoplatform.common.http.client.URI
 
schemeChar - Static variable in class org.exoplatform.common.http.client.URI
 
secure - Variable in class org.exoplatform.common.http.client.Cookie
 
SEE_OTHER - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 303: See Other.
SEMI_GENERIC - Static variable in class org.exoplatform.common.http.client.URI
 
sendCookie(Cookie, RoRequest) - Method in interface org.exoplatform.common.http.client.CookiePolicyHandler
This method is called for each cookie that is eligible for sending with a request (according to the matching rules for the path, domain, protocol, etc).
sendWith(RoRequest) - Method in class org.exoplatform.common.http.client.Cookie
 
sendWith(RoRequest) - Method in class org.exoplatform.common.http.client.Cookie2
 
SerialInputData - Class in org.exoplatform.common.transport
 
SerialInputData(InputStream) - Constructor for class org.exoplatform.common.transport.SerialInputData
 
SerialInputData(byte[]) - Constructor for class org.exoplatform.common.transport.SerialInputData
 
SerialRequest - Class in org.exoplatform.common.transport
 
SerialRequest() - Constructor for class org.exoplatform.common.transport.SerialRequest
 
SerialResponse - Class in org.exoplatform.common.transport
 
SerialResponse() - Constructor for class org.exoplatform.common.transport.SerialResponse
 
setAllowUI(boolean) - Method in class org.exoplatform.common.http.client.Request
 
setAllowUserInteraction(boolean) - Method in class org.exoplatform.common.http.client.HTTPConnection
Controls whether modules are allowed to prompt the user or pop up dialogs if neccessary.
setAttribute(String, String) - Method in class org.exoplatform.common.util.HierarchicalProperty
sets the attribute
setAttribute(QName, String) - Method in class org.exoplatform.common.util.HierarchicalProperty
sets the attribute
setAuthHandler(AuthorizationHandler) - Static method in class org.exoplatform.common.http.client.AuthorizationInfo
Set's the authorization handler.
setAuthorizationPrompter(AuthorizationPrompter) - Static method in class org.exoplatform.common.http.client.DefaultAuthHandler
Set a new username/password prompter.
setConnection(HTTPConnection) - Method in class org.exoplatform.common.http.client.Request
 
setContext(Object) - Method in class org.exoplatform.common.http.client.HTTPConnection
Sets the current context.
setCookie(String) - Method in class org.exoplatform.common.http.client.AuthorizationInfo
Set the cookie
setCookiePolicyHandler(CookiePolicyHandler) - Static method in class org.exoplatform.common.http.client.CookieModule
Sets a new cookie policy handler.
setCurrentProxy(String, int) - Method in class org.exoplatform.common.http.client.HTTPConnection
Sets the proxy used by this instance.
setData(byte[]) - Method in class org.exoplatform.common.http.client.Request
 
setData(SerialInputData) - Method in class org.exoplatform.common.transport.SerialRequest
 
setData(SerialInputData) - Method in class org.exoplatform.common.transport.SerialResponse
 
setDefaultAllowUserInteraction(boolean) - Static method in class org.exoplatform.common.http.client.HTTPConnection
Sets the default allow-user-action.
setDefaultHeaders(NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
Sets the default http headers to be sent with each request.
setDefaultRequestProperty(String, String) - Static method in class org.exoplatform.common.http.client.HttpURLConnection
Sets an arbitrary default request header.
setDefaultTimeout(int) - Static method in class org.exoplatform.common.http.client.HTTPConnection
Sets the default timeout value to be used for each new HTTPConnection.
setEffectiveURI(URI) - Method in class org.exoplatform.common.http.client.Response
set the final URI of the document.
setEffectiveURL(URL) - Method in class org.exoplatform.common.http.client.Response
Deprecated. use setEffectiveURI() instead
setExtraInfo(Object) - Method in class org.exoplatform.common.http.client.AuthorizationInfo
Set the extra info.
setHeader(String, String) - Method in class org.exoplatform.common.http.client.Response
Set a header field in the list of headers.
setHeaders(NVPair[]) - Method in class org.exoplatform.common.http.client.Request
 
setHeaders(HashMap<String, String>) - Method in class org.exoplatform.common.transport.SerialRequest
 
setHeaders(HashMap<String, String>) - Method in class org.exoplatform.common.transport.SerialResponse
 
setIfModifiedSince(long) - Method in class org.exoplatform.common.http.client.HttpURLConnection
Sets the If-Modified-Since header.
setInstanceFollowRedirects(boolean) - Method in class org.exoplatform.common.http.client.HttpURLConnection
Enables or disables the automatic handling of redirection responses for this instance only.
setLogging(int, boolean) - Static method in class org.exoplatform.common.http.client.Log
Enable or disable logging for the given facilities.
setLogWriter(Writer, boolean) - Static method in class org.exoplatform.common.http.client.Log
Set the writer to which to log.
setMethod(String) - Method in class org.exoplatform.common.http.client.Request
 
setMethod(String) - Method in class org.exoplatform.common.transport.SerialRequest
 
setParams(NVPair[]) - Method in class org.exoplatform.common.http.client.AuthorizationInfo
Set the authentication parameters.
setProxyServer(String, int) - Static method in class org.exoplatform.common.http.client.HTTPConnection
Sets the default proxy server to use.
setQueries(HashMap<String, String>) - Method in class org.exoplatform.common.transport.SerialRequest
 
setRawMode(boolean) - Method in class org.exoplatform.common.http.client.HTTPConnection
Deprecated. This is not really needed anymore; in V0.2 request were synchronous and therefore to do pipelining you needed to disable the processing of responses.
setRequestMethod(String) - Method in class org.exoplatform.common.http.client.HttpURLConnection
Sets the request method (e.g.
setRequestProperty(String, String) - Method in class org.exoplatform.common.http.client.HttpURLConnection
Sets an arbitrary request header.
setRequestURI(String) - Method in class org.exoplatform.common.http.client.Request
 
setRetryRequest(boolean) - Method in class org.exoplatform.common.http.client.Response
Should the request be retried by the application?
setSocksServer(String) - Static method in class org.exoplatform.common.http.client.HTTPConnection
Sets the SOCKS server to use.
setSocksServer(String, int) - Static method in class org.exoplatform.common.http.client.HTTPConnection
Sets the SOCKS server to use.
setSocksServer(String, int, int) - Static method in class org.exoplatform.common.http.client.HTTPConnection
Sets the SOCKS server to use.
setStatus(int) - Method in class org.exoplatform.common.transport.SerialResponse
 
setStream(HttpOutputStream) - Method in class org.exoplatform.common.http.client.Request
 
setTimeout(int) - Method in class org.exoplatform.common.http.client.HTTPConnection
Sets the timeout to be used for creating connections and reading responses.
setTrailer(String, String) - Method in class org.exoplatform.common.http.client.Response
Set a trailer field in the list of trailers.
setTrailers(NVPair[]) - Method in class org.exoplatform.common.http.client.HttpOutputStream
Sets the trailers to be sent if the output is sent with the chunked transfer encoding.
setupRequest(String, String, NVPair[], byte[], HttpOutputStream) - Method in class org.exoplatform.common.http.client.HTTPConnection
Sets up the request, creating the list of headers to send and creating instances of the modules.
setUrl(String) - Method in class org.exoplatform.common.transport.SerialRequest
 
setValue(String) - Method in class org.exoplatform.common.util.HierarchicalProperty
sets the property value
SOCKS - Static variable in class org.exoplatform.common.http.client.Log
The Socks facility (64)
SocksException - Exception in org.exoplatform.common.http.client
Signals that an error was received while trying to set up a connection with the Socks server.
SocksException() - Constructor for exception org.exoplatform.common.http.client.SocksException
Constructs a SocksException with no detail message.
SocksException(String) - Constructor for exception org.exoplatform.common.http.client.SocksException
Constructs a SocksException with the specified detail message.
stop() - Method in class org.exoplatform.common.http.client.HTTPConnection
Aborts all the requests currently in progress on this connection and closes all associated sockets.

T

TEMP_REDIRECT - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 307: Temporary Redirect.
toExternalForm() - Method in class org.exoplatform.common.http.client.Cookie
 
toExternalForm() - Method in class org.exoplatform.common.http.client.Cookie2
 
toExternalForm() - Method in class org.exoplatform.common.http.client.URI
 
toString() - Method in class org.exoplatform.common.http.client.AuthorizationInfo
Constructs a string containing the authorization info.
toString() - Method in class org.exoplatform.common.http.client.Cookie
Create a string containing all the cookie fields.
toString() - Method in class org.exoplatform.common.http.client.Cookie2
Create a string containing all the cookie fields.
toString() - Method in class org.exoplatform.common.http.client.HTTPConnection
Generates a string of the form protocol://host.domain:port .
toString() - Method in class org.exoplatform.common.http.client.HttpHeaderElement
 
toString() - Method in class org.exoplatform.common.http.client.HttpOutputStream
produces a string describing this stream.
toString() - Method in class org.exoplatform.common.http.client.HTTPResponse
produces a full list of headers and their values, one per line.
toString() - Method in class org.exoplatform.common.http.client.HttpURLConnection
produces a string.
toString() - Method in class org.exoplatform.common.http.client.NVPair
Produces a string containing the name and value of this instance.
toString() - Method in class org.exoplatform.common.http.client.Request
 
toString() - Method in class org.exoplatform.common.http.client.URI
Return the URI as string.
toURL() - Method in class org.exoplatform.common.http.client.URI
Will try to create a java.net.URL object from this URI.
Trace(String, NVPair[]) - Method in class org.exoplatform.common.http.client.HTTPConnection
Requests a TRACE.
Trace(String) - Method in class org.exoplatform.common.http.client.HTTPConnection
Requests a TRACE.
trailerHandler(Response, RoRequest) - Method in class org.exoplatform.common.http.client.CookieModule
Invoked by the HTTPClient.
trailerHandler(Response, RoRequest) - Method in interface org.exoplatform.common.http.client.HTTPClientModule
The chunked transfer-encoding (and in future maybe others) can contain trailer fields at the end of the body.
type - Variable in class org.exoplatform.common.http.client.URI
 

U

UNAUTHORIZED - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 401: Unauthorized.
UNAVAILABLE - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 503: Service Unavailable.
unescape(String, BitSet) - Static method in class org.exoplatform.common.http.client.URI
Unescape escaped characters (i.e.
Unlock(String, String) - Method in class org.exoplatform.common.http.client.HTTPConnection
Refresh LOCK request.
unreservedChar - Static variable in class org.exoplatform.common.http.client.URI
 
UNSUPPORTED_TYPE - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 415: Unsupported Media Type.
URI - Class in org.exoplatform.common.http.client
This class represents a generic URI, as defined in RFC-2396.
URI(String) - Constructor for class org.exoplatform.common.http.client.URI
Constructs a URI from the given string representation.
URI(URI, String) - Constructor for class org.exoplatform.common.http.client.URI
Constructs a URI from the given string representation, relative to the given base URI.
URI(URL) - Constructor for class org.exoplatform.common.http.client.URI
Construct a URI from the given URL.
URI(String, String, String) - Constructor for class org.exoplatform.common.http.client.URI
Constructs a URI from the given parts, using the default port for this scheme (if known).
URI(String, String, int, String) - Constructor for class org.exoplatform.common.http.client.URI
Constructs a URI from the given parts.
URI(String, String, String, int, String, String, String) - Constructor for class org.exoplatform.common.http.client.URI
Constructs a URI from the given parts.
URI(String, String) - Constructor for class org.exoplatform.common.http.client.URI
Constructs an opaque URI from the given parts.
uricChar - Static variable in class org.exoplatform.common.http.client.URI
 
url - Variable in class org.exoplatform.common.http.client.URI
 
URLC - Static variable in class org.exoplatform.common.http.client.Log
The ULRConnection facility (128)
URLDecode(String) - Static method in class org.exoplatform.common.http.client.Codecs
This method decodes the given urlencoded string.
URLEncode(String) - Static method in class org.exoplatform.common.http.client.Codecs
This method urlencodes the given string.
USE_PROXY - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 305: Use Proxy.
userinfo - Variable in class org.exoplatform.common.http.client.URI
 
userinfoChar - Static variable in class org.exoplatform.common.http.client.URI
 
usesGenericSyntax - Static variable in class org.exoplatform.common.http.client.URI
 
usesGenericSyntax(String) - Static method in class org.exoplatform.common.http.client.URI
 
usesSemiGenericSyntax - Static variable in class org.exoplatform.common.http.client.URI
 
usesSemiGenericSyntax(String) - Static method in class org.exoplatform.common.http.client.URI
 
usingProxy() - Method in class org.exoplatform.common.http.client.HttpURLConnection
Shows if request are being made through an http proxy or directly.
Util - Class in org.exoplatform.common.http.client
This class holds various utility methods.
uudecode(char[]) - Static method in class org.exoplatform.common.http.client.Codecs
This method decodes the given uuencoded char[].
uuencode(byte[]) - Static method in class org.exoplatform.common.http.client.Codecs
This method encodes the given byte[] using the unix uuencode encding.

V

value - Variable in class org.exoplatform.common.http.client.Cookie
 
value - Variable in class org.exoplatform.common.util.HierarchicalProperty
Property value.
version - Variable in class org.exoplatform.common.http.client.Cookie2
 
version - Static variable in class org.exoplatform.common.http.client.HTTPConnection
The current version of this package.
VERSION - Static variable in interface org.exoplatform.common.http.HTTPStatus
HTTP Status-Code 505: HTTP Version Not Supported.

W

wildcardMatch(String, String) - Static method in class org.exoplatform.common.http.client.Util
Match pattern against name, where pattern may contain wildcards ('*').
write(int) - Method in class org.exoplatform.common.http.client.HttpOutputStream
Writes a single byte on the stream.
write(byte[], int, int) - Method in class org.exoplatform.common.http.client.HttpOutputStream
Writes an array of bytes on the stream.
write(int, String) - Static method in class org.exoplatform.common.http.client.Log
Write the given message to the current log if logging for the given facility is enabled.
write(int, String, Throwable) - Static method in class org.exoplatform.common.http.client.Log
Write the stack trace of the given exception to the current log if logging for the given facility is enabled.
write(int, String, ByteArrayOutputStream) - Static method in class org.exoplatform.common.http.client.Log
Write the contents of the given buffer to the current log if logging for the given facility is enabled.

A B C D E F G H I L M N O P Q R S T U V W

Copyright © 2010 eXo Platform SAS. All Rights Reserved.