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

A

add(Header) - Method in class org.expath.httpclient.HeaderSet
 
add(String, String) - Method in class org.expath.httpclient.HeaderSet
 
add(Reader, Charset) - Method in interface org.expath.httpclient.model.Result
Add a string value to the result sequence.
add(InputStream) - Method in interface org.expath.httpclient.model.Result
Add raw binary to the result sequence.
add(Source) - Method in interface org.expath.httpclient.model.Result
Add a document node to the result sequence.
add(HttpResponse) - Method in interface org.expath.httpclient.model.Result
Add the http:response element to the result sequence.
AnyEmptyMethod - Class in org.expath.httpclient.impl
Implements any HTTP extension method, without any entity content.
AnyEmptyMethod(String) - Constructor for class org.expath.httpclient.impl.AnyEmptyMethod
 
AnyEmptyMethod(String, URI) - Constructor for class org.expath.httpclient.impl.AnyEmptyMethod
 
AnyEmptyMethod(String, String) - Constructor for class org.expath.httpclient.impl.AnyEmptyMethod
 
AnyEntityMethod - Class in org.expath.httpclient.impl
Implements any HTTP extension method, without any entity content.
AnyEntityMethod(String) - Constructor for class org.expath.httpclient.impl.AnyEntityMethod
 
AnyEntityMethod(String, URI) - Constructor for class org.expath.httpclient.impl.AnyEntityMethod
 
AnyEntityMethod(String, String) - Constructor for class org.expath.httpclient.impl.AnyEntityMethod
 
ApacheHttpConnection - Class in org.expath.httpclient.impl
An implementation of an HTTP connection using Apachhe HTTP Client.
ApacheHttpConnection(URI) - Constructor for class org.expath.httpclient.impl.ApacheHttpConnection
 

B

Base64 - Class in net.iharder
 
Base64.InputStream - Class in net.iharder
A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream - Class in net.iharder
A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
BinaryResponseBody - Class in org.expath.httpclient.impl
A binary body in the response.
BinaryResponseBody(Result, InputStream, ContentType, HeaderSet) - Constructor for class org.expath.httpclient.impl.BinaryResponseBody
 
BodyFactory - Class in org.expath.httpclient.impl
Factory class for bodies, either in requests or in responses.
BodyFactory() - Constructor for class org.expath.httpclient.impl.BodyFactory
 
BodyFactory.Type - Enum in org.expath.httpclient.impl
 
BOTH_NS_URIS - Static variable in class org.expath.httpclient.HttpConstants
 

C

close() - Method in class net.iharder.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
connect(HttpRequestBody, HttpCredentials) - Method in interface org.expath.httpclient.HttpConnection
 
connect(HttpRequestBody, HttpCredentials) - Method in class org.expath.httpclient.impl.ApacheHttpConnection
 
ContentType - Class in org.expath.httpclient
Represent a Content-Type header.
ContentType(String, String, String) - Constructor for class org.expath.httpclient.ContentType
 

D

DECODE - Static variable in class net.iharder.Base64
Specify decoding.
decode(byte[], int, int, int) - Static method in class net.iharder.Base64
Very low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class net.iharder.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String, int) - Static method in class net.iharder.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decodeFileToFile(String, String) - Static method in class net.iharder.Base64
Reads infile and decodes it to outfile.
decodeFromFile(String) - Static method in class net.iharder.Base64
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class net.iharder.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class net.iharder.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
DEFAULT_HTTP_APPLICATION_XML_CHARSET - Static variable in class org.expath.httpclient.impl.XmlResponseBody
 
DEFAULT_HTTP_TEXT_CHARSET - Static variable in class org.expath.httpclient.impl.TextResponseBody
 
disconnect() - Method in interface org.expath.httpclient.HttpConnection
 
disconnect() - Method in class org.expath.httpclient.impl.ApacheHttpConnection
 
DONT_BREAK_LINES - Static variable in class net.iharder.Base64
Don't break lines when encoding (violates strict Base64 specification)

E

ENCODE - Static variable in class net.iharder.Base64
Specify encoding.
encodeBytes(byte[]) - Static method in class net.iharder.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class net.iharder.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class net.iharder.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class net.iharder.Base64
Encodes a byte array into Base64 notation.
encodeFileToFile(String, String) - Static method in class net.iharder.Base64
Reads infile and encodes it to outfile.
encodeFromFile(String) - Static method in class net.iharder.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class net.iharder.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class net.iharder.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class net.iharder.Base64
Convenience method for encoding data to a file.

F

flushBase64() - Method in class net.iharder.Base64.OutputStream
Method added by PHIL.

G

getBody() - Method in class org.expath.httpclient.HttpResponse
 
getBodyElement() - Method in class org.expath.httpclient.HttpRequestBody
 
getBoundary() - Method in class org.expath.httpclient.ContentType
 
getCharset() - Method in class org.expath.httpclient.ContentType
 
getContentType() - Method in class org.expath.httpclient.HttpRequestBody
 
getCredentials() - Method in class org.expath.httpclient.impl.RequestParser
 
getFirstHeader(String) - Method in class org.expath.httpclient.HeaderSet
 
getHeaders() - Method in class org.expath.httpclient.HttpResponse
 
getHref() - Method in interface org.expath.httpclient.HttpRequest
 
getHref() - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
getHttpVersion() - Method in interface org.expath.httpclient.HttpRequest
 
getHttpVersion() - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
getMethod() - Method in class org.expath.httpclient.HttpCredentials
 
getMethod() - Method in interface org.expath.httpclient.HttpRequest
 
getMethod() - Method in class org.expath.httpclient.impl.AnyEmptyMethod
 
getMethod() - Method in class org.expath.httpclient.impl.AnyEntityMethod
 
getMethod() - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
getNamespaceURI() - Method in class org.expath.httpclient.impl.RequestParser
 
getPwd() - Method in class org.expath.httpclient.HttpCredentials
 
getResponseHeaders() - Method in interface org.expath.httpclient.HttpConnection
 
getResponseHeaders() - Method in class org.expath.httpclient.impl.ApacheHttpConnection
 
getResponseMessage() - Method in interface org.expath.httpclient.HttpConnection
 
getResponseMessage() - Method in class org.expath.httpclient.impl.ApacheHttpConnection
 
getResponseStatus() - Method in interface org.expath.httpclient.HttpConnection
 
getResponseStatus() - Method in class org.expath.httpclient.impl.ApacheHttpConnection
 
getResponseStream() - Method in interface org.expath.httpclient.HttpConnection
 
getResponseStream() - Method in class org.expath.httpclient.impl.ApacheHttpConnection
TODO: How to use Apache HTTP Client facilities for response content handling, instead of parsing this stream myself?
getStatus() - Method in class org.expath.httpclient.HttpResponse
 
getType() - Method in class org.expath.httpclient.ContentType
 
getUser() - Method in class org.expath.httpclient.HttpCredentials
 
getValue() - Method in class org.expath.httpclient.ContentType
 
GZIP - Static variable in class net.iharder.Base64
Specify that data should be gzip-compressed.

H

HEADER_ATTRS - Static variable in class org.expath.httpclient.HttpConstants
 
HeaderSet - Class in org.expath.httpclient
TODO: Doc...
HeaderSet() - Constructor for class org.expath.httpclient.HeaderSet
Build a new object with no header.
HeaderSet(Header[]) - Constructor for class org.expath.httpclient.HeaderSet
Build a new object by *copying* its parameter.
HeaderSet(Collection<Header>) - Constructor for class org.expath.httpclient.HeaderSet
Build a new object by *copying* its parameter.
HrefRequestBody - Class in org.expath.httpclient.impl
A body in the request, defined by reference.
HrefRequestBody(Element) - Constructor for class org.expath.httpclient.impl.HrefRequestBody
TODO: Check there is no other attributes (only @src and @media-type)...
HTTP_1_0 - Static variable in class org.expath.httpclient.HttpConstants
 
HTTP_1_1 - Static variable in class org.expath.httpclient.HttpConstants
 
HTTP_CLIENT_NS_PREFIX - Static variable in class org.expath.httpclient.HttpConstants
 
HTTP_CLIENT_NS_URI - Static variable in class org.expath.httpclient.HttpConstants
 
HTTP_NS_PREFIX - Static variable in class org.expath.httpclient.HttpConstants
 
HTTP_NS_URI - Static variable in class org.expath.httpclient.HttpConstants
 
HttpClient - Class in org.expath.httpclient
Facade for the EXPath HTTP Client, generic implementation for Java.
HttpClient() - Constructor for class org.expath.httpclient.HttpClient
 
HttpClientException - Exception in org.expath.httpclient
Generic exception for the EXPath HTTP Client implementation in Java.
HttpClientException(String) - Constructor for exception org.expath.httpclient.HttpClientException
 
HttpClientException(String, Throwable) - Constructor for exception org.expath.httpclient.HttpClientException
 
HttpConnection - Interface in org.expath.httpclient
Abstract the services needed on the actual HTTP connection.
HttpConstants - Class in org.expath.httpclient
Centralize some constants.
HttpConstants() - Constructor for class org.expath.httpclient.HttpConstants
 
HttpCredentials - Class in org.expath.httpclient
TODO: Doc...
HttpCredentials(String, String, String) - Constructor for class org.expath.httpclient.HttpCredentials
 
HttpRequest - Interface in org.expath.httpclient
An HTTP request.
HttpRequestBody - Class in org.expath.httpclient
The body of an HTTP request.
HttpRequestBody(Element) - Constructor for class org.expath.httpclient.HttpRequestBody
 
HttpRequestImpl - Class in org.expath.httpclient.impl
Implementation of a HTTP request.
HttpRequestImpl() - Constructor for class org.expath.httpclient.impl.HttpRequestImpl
 
HttpResponse - Class in org.expath.httpclient
A HTTP response.
HttpResponse(int, String, HeaderSet, HttpResponseBody, long) - Constructor for class org.expath.httpclient.HttpResponse
 
HttpResponseBody - Interface in org.expath.httpclient
A body in a HTTP response.

I

InputStream(InputStream) - Constructor for class net.iharder.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
InputStream(InputStream, int) - Constructor for class net.iharder.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
isChunked() - Method in interface org.expath.httpclient.HttpRequest
 
isChunked() - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
isEmpty() - Method in class org.expath.httpclient.HeaderSet
 
isMultipart() - Method in class org.expath.httpclient.HttpRequestBody
 
isMultipart() - Method in class org.expath.httpclient.impl.HrefRequestBody
 
isMultipart() - Method in class org.expath.httpclient.impl.MultipartRequestBody
 
isMultipart() - Method in class org.expath.httpclient.impl.SinglePartRequestBody
 
isPreemptiveAuthentication() - Method in interface org.expath.httpclient.HttpRequest
 
isPreemptiveAuthentication() - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
iterator() - Method in class org.expath.httpclient.HeaderSet
 

L

logCookies(Logger, String, Iterable<Cookie>) - Static method in class org.expath.httpclient.impl.LoggerHelper
 
LoggerHelper - Class in org.expath.httpclient.impl
Helper to log HTTP-specific stuff.
LoggerHelper() - Constructor for class org.expath.httpclient.impl.LoggerHelper
 
logHeaderDetails(Logger, String, Iterable<Header>) - Static method in class org.expath.httpclient.impl.LoggerHelper
 
logHeaders(Logger, String, Header[]) - Static method in class org.expath.httpclient.impl.LoggerHelper
 

M

main(String[]) - Static method in class net.iharder.Base64
Encodes or decodes two files from the command line; feel free to delete this method (in fact you probably should) if you're embedding this code into a larger program.
makeNewResult() - Method in interface org.expath.httpclient.model.Result
Construct a new Result object, from the same implementation.
makeRequestBody(Element, Sequence, String) - Static method in class org.expath.httpclient.impl.BodyFactory
 
makeResponseBody(Result, ContentType, HttpConnection) - Static method in class org.expath.httpclient.impl.BodyFactory
 
METHOD_NAME - Variable in class org.expath.httpclient.impl.AnyEmptyMethod
 
METHOD_NAME - Variable in class org.expath.httpclient.impl.AnyEntityMethod
 
MULTIPART_ATTRS - Static variable in class org.expath.httpclient.HttpConstants
 
MultipartRequestBody - Class in org.expath.httpclient.impl
A multipart body in the request.
MultipartRequestBody(Element, Sequence, String) - Constructor for class org.expath.httpclient.impl.MultipartRequestBody
 
MultipartResponseBody - Class in org.expath.httpclient.impl
A multipart body in the response.
MultipartResponseBody(Result, InputStream, ContentType) - Constructor for class org.expath.httpclient.impl.MultipartResponseBody
 

N

net.iharder - package net.iharder
 
NO_OPTIONS - Static variable in class net.iharder.Base64
No options specified.

O

ORDERED - Static variable in class net.iharder.Base64
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.
org.expath.httpclient - package org.expath.httpclient
 
org.expath.httpclient.impl - package org.expath.httpclient.impl
 
org.expath.httpclient.model - package org.expath.httpclient.model
 
outputBody(TreeBuilder) - Method in interface org.expath.httpclient.HttpResponseBody
 
outputBody(TreeBuilder) - Method in class org.expath.httpclient.impl.BinaryResponseBody
 
outputBody(TreeBuilder) - Method in class org.expath.httpclient.impl.MultipartResponseBody
 
outputBody(TreeBuilder) - Method in class org.expath.httpclient.impl.TextResponseBody
 
outputBody(TreeBuilder) - Method in class org.expath.httpclient.impl.XmlResponseBody
 
outputHeaders(HeaderSet) - Method in interface org.expath.httpclient.model.TreeBuilder
 
outputResponseElement(TreeBuilder) - Method in class org.expath.httpclient.HttpResponse
 
OutputStream(OutputStream) - Constructor for class net.iharder.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
OutputStream(OutputStream, int) - Constructor for class net.iharder.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.

P

parse(Header, String, String) - Static method in class org.expath.httpclient.ContentType
 
parse(Sequence, String) - Method in class org.expath.httpclient.impl.RequestParser
 
parseType(HeaderSet) - Static method in class org.expath.httpclient.impl.BodyFactory
Look for the header Content-Type in a header set and decode it.
parseType(ContentType) - Static method in class org.expath.httpclient.impl.BodyFactory
Decode the content type from a ContentType object.

R

read() - Method in class net.iharder.Base64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - Method in class net.iharder.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
RequestParser - Class in org.expath.httpclient.impl
Parse the http:request element into a HttpRequest object.
RequestParser(Element) - Constructor for class org.expath.httpclient.impl.RequestParser
 
Result - Interface in org.expath.httpclient.model
An abstract representation of the result sequence.
resumeEncoding() - Method in class net.iharder.Base64.OutputStream
Resumes encoding of the stream.

S

send(Result, HttpConnection, HttpCredentials) - Method in interface org.expath.httpclient.HttpRequest
 
send(Result, HttpConnection, HttpCredentials) - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
sendRequest(Result, Element) - Static method in class org.expath.httpclient.HttpClient
Implement the EXPath function http:send-request().
sendRequest(Result, Element, String) - Static method in class org.expath.httpclient.HttpClient
Implement the EXPath function http:send-request().
sendRequest(Result, Element, String, Sequence) - Static method in class org.expath.httpclient.HttpClient
Implement the EXPath function http:send-request().
serialize(OutputStream) - Method in class org.expath.httpclient.HttpRequestBody
 
serialize(OutputStream) - Method in class org.expath.httpclient.impl.HrefRequestBody
 
serialize(OutputStream) - Method in class org.expath.httpclient.impl.MultipartRequestBody
 
serialize(OutputStream) - Method in class org.expath.httpclient.impl.SinglePartRequestBody
 
setBody(HttpRequestBody) - Method in interface org.expath.httpclient.HttpRequest
 
setBody(HttpRequestBody) - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
setChunked(boolean) - Method in interface org.expath.httpclient.HttpConnection
 
setChunked(boolean) - Method in interface org.expath.httpclient.HttpRequest
 
setChunked(boolean) - Method in class org.expath.httpclient.impl.ApacheHttpConnection
 
setChunked(boolean) - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
setDefaultCharset(String) - Method in interface org.expath.httpclient.HttpRequest
 
setDefaultCharset(String) - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
setFollowRedirect(boolean) - Method in interface org.expath.httpclient.HttpConnection
 
setFollowRedirect(boolean) - Method in interface org.expath.httpclient.HttpRequest
 
setFollowRedirect(boolean) - Method in class org.expath.httpclient.impl.ApacheHttpConnection
 
setFollowRedirect(boolean) - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
setGzip(boolean) - Method in interface org.expath.httpclient.HttpConnection
 
setGzip(boolean) - Method in interface org.expath.httpclient.HttpRequest
 
setGzip(boolean) - Method in class org.expath.httpclient.impl.ApacheHttpConnection
 
setGzip(boolean) - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
setHeaders(HeaderSet) - Method in interface org.expath.httpclient.HttpRequest
 
setHeaders(HeaderSet) - Method in class org.expath.httpclient.HttpRequestBody
 
setHeaders(HeaderSet) - Method in class org.expath.httpclient.impl.HrefRequestBody
 
setHeaders(HeaderSet) - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
setHeaders(HeaderSet) - Method in class org.expath.httpclient.impl.MultipartRequestBody
 
setHeaders(HeaderSet) - Method in class org.expath.httpclient.impl.SinglePartRequestBody
 
setHref(String) - Method in interface org.expath.httpclient.HttpRequest
 
setHref(String) - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
setHttpVersion(String) - Method in interface org.expath.httpclient.HttpConnection
 
setHttpVersion(String) - Method in interface org.expath.httpclient.HttpRequest
 
setHttpVersion(String) - Method in class org.expath.httpclient.impl.ApacheHttpConnection
 
setHttpVersion(String) - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
setMethod(String) - Method in interface org.expath.httpclient.HttpRequest
 
setMethod(String) - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
setOverrideType(String) - Method in interface org.expath.httpclient.HttpRequest
 
setOverrideType(String) - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
setPreemptiveAuthentication(boolean) - Method in interface org.expath.httpclient.HttpConnection
 
setPreemptiveAuthentication(boolean) - Method in interface org.expath.httpclient.HttpRequest
 
setPreemptiveAuthentication(boolean) - Method in class org.expath.httpclient.impl.ApacheHttpConnection
 
setPreemptiveAuthentication(boolean) - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
setRequestHeaders(HeaderSet) - Method in interface org.expath.httpclient.HttpConnection
 
setRequestHeaders(HeaderSet) - Method in class org.expath.httpclient.impl.ApacheHttpConnection
 
setRequestMethod(String, boolean) - Method in interface org.expath.httpclient.HttpConnection
 
setRequestMethod(String, boolean) - Method in class org.expath.httpclient.impl.ApacheHttpConnection
 
setStatusOnly(boolean) - Method in interface org.expath.httpclient.HttpRequest
 
setStatusOnly(boolean) - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
setTimeout(int) - Method in interface org.expath.httpclient.HttpConnection
 
setTimeout(Integer) - Method in interface org.expath.httpclient.HttpRequest
 
setTimeout(int) - Method in class org.expath.httpclient.impl.ApacheHttpConnection
 
setTimeout(Integer) - Method in class org.expath.httpclient.impl.HttpRequestImpl
 
SinglePartRequestBody - Class in org.expath.httpclient.impl
A body in the request, defined by content.
SinglePartRequestBody(Element, Sequence, BodyFactory.Type) - Constructor for class org.expath.httpclient.impl.SinglePartRequestBody
 
suspendEncoding() - Method in class net.iharder.Base64.OutputStream
Suspends encoding of the stream.

T

TextResponseBody - Class in org.expath.httpclient.impl
A text body in the response.
TextResponseBody(Result, InputStream, ContentType, HeaderSet) - Constructor for class org.expath.httpclient.impl.TextResponseBody
 
TextResponseBody(Result, Reader, ContentType, HeaderSet) - Constructor for class org.expath.httpclient.impl.TextResponseBody
 
toArray() - Method in class org.expath.httpclient.HeaderSet
 
toString() - Method in class org.expath.httpclient.ContentType
 
TreeBuilder - Interface in org.expath.httpclient.model
A generic interface to build a tree, independent on any processor.

U

URL_SAFE - Static variable in class net.iharder.Base64
Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.

V

valueOf(String) - Static method in enum org.expath.httpclient.impl.BodyFactory.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.expath.httpclient.impl.BodyFactory.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(int) - Method in class net.iharder.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
write(byte[], int, int) - Method in class net.iharder.Base64.OutputStream
Calls Base64.OutputStream.write(int) repeatedly until len bytes are written.

X

XmlResponseBody - Class in org.expath.httpclient.impl
An XML body in the response.
XmlResponseBody(Result, InputStream, ContentType, HeaderSet, boolean) - Constructor for class org.expath.httpclient.impl.XmlResponseBody
 
XmlResponseBody(Result, Reader, ContentType, HeaderSet, boolean) - Constructor for class org.expath.httpclient.impl.XmlResponseBody
 
A B C D E F G H I L M N O P R S T U V W X 
Skip navigation links

Copyright © 2015-2020 EXPath. All Rights Reserved