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

A

accept() - Method in class jodd.http.HttpBase
Returns "Accept" header.
accept(String) - Method in class jodd.http.HttpBase
Sets "Accept" header.
acceptEncoding() - Method in class jodd.http.HttpBase
Returns "Accept-Encoding" header.
acceptEncoding(String) - Method in class jodd.http.HttpBase
Sets "Accept-Encoding" header.
add(String, V) - Method in class jodd.http.HttpMultiMap
 
addAll(String, Iterable<V>) - Method in class jodd.http.HttpMultiMap
 
addAll(HttpMultiMap<V>) - Method in class jodd.http.HttpMultiMap
 
addAll(Map<String, V>) - Method in class jodd.http.HttpMultiMap
 
addCookies(HttpRequest) - Method in class jodd.http.HttpBrowser
Add cookies to the request.
addDefaultHeaders(HttpRequest) - Method in class jodd.http.HttpBrowser
Add default headers to the request.
append(String) - Method in class jodd.http.Buffer
Appends string content to buffer.
append(char) - Method in class jodd.http.Buffer
Appends a char.
append(int) - Method in class jodd.http.Buffer
Appends a number.
append(Uploadable) - Method in class jodd.http.Buffer
Appends Uploadable to buffer.
append(Buffer) - Method in class jodd.http.Buffer
Appends other buffer to this one.

B

basicAuthentication(String, String) - Method in class jodd.http.HttpRequest
Enables basic authentication by adding required header.
body - Variable in class jodd.http.HttpBase
 
body() - Method in class jodd.http.HttpBase
Returns raw body as received or set (always in ISO-8859-1 encoding).
body(String) - Method in class jodd.http.HttpBase
Sets raw body content and discards all form parameters.
body(byte[], String) - Method in class jodd.http.HttpBase
Sets raw body content and discards form parameters.
bodyBytes() - Method in class jodd.http.HttpBase
Returns raw body bytes.
bodyText() - Method in class jodd.http.HttpBase
Returns body content as text.
bodyText(String, String, String) - Method in class jodd.http.HttpBase
Defines body text and content type (as media type and charset).
bodyText(String, String) - Method in class jodd.http.HttpBase
Defines body text content that will be encoded in default body encoding.
bodyText(String) - Method in class jodd.http.HttpBase
Buffer - Class in jodd.http
Holds request/response content until it is actually send.
Buffer() - Constructor for class jodd.http.Buffer
 
buffer(boolean) - Method in class jodd.http.HttpBase
Creates buffer ready to be consumed.
buffer(boolean) - Method in class jodd.http.HttpRequest
Prepares the request buffer.
buffer(boolean) - Method in class jodd.http.HttpResponse
Creates response buffer.
buildQuery(HttpMultiMap<?>, String) - Static method in class jodd.http.HttpUtil
Builds a query string from given query map.
byteArray - Variable in class jodd.http.up.ByteArrayUploadable
 
ByteArrayUploadable - Class in jodd.http.up
Uploadable wrapper of byte array.
ByteArrayUploadable(byte[], String) - Constructor for class jodd.http.up.ByteArrayUploadable
 
ByteArrayUploadable(byte[], String, String) - Constructor for class jodd.http.up.ByteArrayUploadable
 

C

callbackSize(int) - Method in class jodd.http.HttpProgressListener
Returns callback size in bytes.
catchTransportExceptions - Variable in class jodd.http.HttpBrowser
 
charset - Variable in class jodd.http.HttpBase
 
charset() - Method in class jodd.http.HttpBase
Returns charset, as defined by 'Content-Type' header.
charset(String) - Method in class jodd.http.HttpBase
Defines just content type charset.
clear() - Method in class jodd.http.HttpMultiMap
Clears the map.
clearCookies() - Method in class jodd.http.HttpBrowser
Deletes all cookies.
clearQueries() - Method in class jodd.http.HttpRequest
Clears all query parameters.
close() - Method in class jodd.http.HttpBrowser
Closes browser explicitly, needed when keep-alive connection is used.
close() - Method in interface jodd.http.HttpConnection
Closes connection.
close() - Method in class jodd.http.HttpResponse
Closes requests connection if it was open.
close() - Method in class jodd.http.net.SocketHttpConnection
 
connect(String) - Static method in class jodd.http.HttpRequest
Builds a CONNECT request.
connection() - Method in class jodd.http.HttpRequest
Returns HttpConnection that is going to be used for sending this request.
connectionKeepAlive(boolean) - Method in class jodd.http.HttpBase
Defines "Connection" header as "Keep-Alive" or "Close".
connectionProvider() - Method in class jodd.http.HttpRequest
Returns http connection provider that was used for creating current http connection.
connectionTimeout(int) - Method in class jodd.http.HttpRequest
Defines the socket timeout (SO_TIMEOUT) in milliseconds, which is the timeout for waiting for data or, put differently, a maximum period inactivity between two consecutive data packets).
connectionTimeout() - Method in class jodd.http.HttpRequest
Returns socket connection timeout.
connectTimeout - Variable in class jodd.http.HttpRequest
 
contains(String) - Method in class jodd.http.HttpMultiMap
Returns true if name exist.
contentEncoding() - Method in class jodd.http.HttpBase
Returns "Content-Encoding" header.
contentLength() - Method in class jodd.http.HttpBase
Returns full "Content-Length" header or null if not set.
contentLength(int) - Method in class jodd.http.HttpBase
Sets the full "Content-Length" header.
contentType() - Method in class jodd.http.HttpBase
Returns full "Content-Type" header.
contentType(String) - Method in class jodd.http.HttpBase
Sets full "Content-Type" header.
contentType(String, String) - Method in class jodd.http.HttpBase
Sets "Content-Type" header by defining media-type and/or charset parameter.
Cookie - Class in jodd.http
Cookie object.
Cookie(String, String) - Constructor for class jodd.http.Cookie
Creates cookie with specified name and value.
Cookie(String) - Constructor for class jodd.http.Cookie
Parses cookie data from given user-agent string.
cookies - Variable in class jodd.http.HttpBrowser
 
cookies(Cookie...) - Method in class jodd.http.HttpRequest
Sets cookies to the request.
cookies() - Method in class jodd.http.HttpResponse
Returns list of valid cookies sent from server.
create(String, String) - Static method in class jodd.http.HttpRequest
Generic request builder, usually used when method is a variable.
createHttpConnection(HttpRequest) - Method in interface jodd.http.HttpConnectionProvider
Creates new HttpConnection from request.
createHttpConnection(HttpRequest) - Method in class jodd.http.net.SocketHttpConnectionProvider
Creates new connection from current request.
createSocket(String, int) - Method in class jodd.http.net.HTTPProxySocketFactory
 
createSocket(String, int, InetAddress, int) - Method in class jodd.http.net.HTTPProxySocketFactory
 
createSocket(InetAddress, int) - Method in class jodd.http.net.HTTPProxySocketFactory
 
createSocket(InetAddress, int, InetAddress, int) - Method in class jodd.http.net.HTTPProxySocketFactory
 
createSocket(String, int, int) - Method in class jodd.http.net.SocketHttpConnectionProvider
Creates a socket using socket factory.
createSocket(String, int) - Method in class jodd.http.net.Socks4ProxySocketFactory
 
createSocket(String, int, InetAddress, int) - Method in class jodd.http.net.Socks4ProxySocketFactory
 
createSocket(InetAddress, int) - Method in class jodd.http.net.Socks4ProxySocketFactory
 
createSocket(InetAddress, int, InetAddress, int) - Method in class jodd.http.net.Socks4ProxySocketFactory
 
createSocket(String, int) - Method in class jodd.http.net.Socks5ProxySocketFactory
 
createSocket(String, int, InetAddress, int) - Method in class jodd.http.net.Socks5ProxySocketFactory
 
createSocket(InetAddress, int) - Method in class jodd.http.net.Socks5ProxySocketFactory
 
createSocket(InetAddress, int, InetAddress, int) - Method in class jodd.http.net.Socks5ProxySocketFactory
 
createSSLSocket(String, int, int, boolean, boolean) - Method in class jodd.http.net.SocketHttpConnectionProvider
Creates a SSL socket.

D

defaultBodyEncoding - Static variable in class jodd.http.JoddHttp
Default body encoding (UTF-8).
defaultBodyMediaType - Static variable in class jodd.http.JoddHttp
Default body media type (text/html).
defaultFormEncoding - Static variable in class jodd.http.JoddHttp
Default form encoding (UTF-8).
defaultHeaders - Variable in class jodd.http.HttpBrowser
 
defaultQueryEncoding - Static variable in class jodd.http.JoddHttp
Default HTTP query parameters encoding (UTF-8).
defaultSecureEnabledProtocols - Static variable in class jodd.http.JoddHttp
CSV of default enabled secured protocols.
delete(String) - Static method in class jodd.http.HttpRequest
Builds a DELETE request.
directProxy() - Static method in class jodd.http.ProxyInfo
Creates directProxy.

E

elapsedTime - Variable in class jodd.http.HttpBrowser
 
entries() - Method in class jodd.http.HttpMultiMap
Returns all the entries of this map.
executorService - Variable in class jodd.http.HttpTunnel
 
extractContentTypeCharset(String) - Static method in class jodd.http.HttpUtil
 
extractHeaderParameter(String, String, char) - Static method in class jodd.http.HttpUtil
Extracts header parameter.
extractKeepAliveMax(String) - Static method in class jodd.http.HttpUtil
 
extractKeepAliveTimeout(String) - Static method in class jodd.http.HttpUtil
Extract keep-alive timeout.
extractMediaType(String) - Static method in class jodd.http.HttpUtil
Extracts media-type from value of "Content Type" header.

F

file - Variable in class jodd.http.up.FileUploadable
 
fileName - Variable in class jodd.http.up.ByteArrayUploadable
 
fileName - Variable in class jodd.http.up.FileUploadable
 
FileUploadable - Class in jodd.http.up
File uploadable.
FileUploadable(File) - Constructor for class jodd.http.up.FileUploadable
 
FileUploadable(File, String, String) - Constructor for class jodd.http.up.FileUploadable
 
form - Variable in class jodd.http.HttpBase
 
form(String, Object) - Method in class jodd.http.HttpBase
Adds the form parameter.
form(String, Object, boolean) - Method in class jodd.http.HttpBase
Sets form parameter.
form(String, Object, Object...) - Method in class jodd.http.HttpBase
Sets many form parameters at once.
form(Map<String, Object>) - Method in class jodd.http.HttpBase
Sets many form parameters at once.
form() - Method in class jodd.http.HttpBase
Return map of form parameters.
formBuffer() - Method in class jodd.http.HttpBase
Creates form buffer and sets few headers.
formEncoding - Variable in class jodd.http.HttpBase
 
formEncoding(String) - Method in class jodd.http.HttpBase
Defines encoding for forms parameters.

G

get(String) - Method in class jodd.http.HttpMultiMap
Returns the first value from the map associated with the name.
get(String) - Static method in class jodd.http.HttpRequest
Builds a GET request.
getAll(String) - Method in class jodd.http.HttpMultiMap
Returns all values associated with the name.
getBytes() - Method in class jodd.http.up.ByteArrayUploadable
 
getBytes() - Method in class jodd.http.up.FileUploadable
 
getBytes() - Method in interface jodd.http.up.Uploadable
Returns content bytes.
getComment() - Method in class jodd.http.Cookie
Returns the comment describing the purpose of this cookie, or null if the cookie has no comment.
getContent() - Method in class jodd.http.up.ByteArrayUploadable
 
getContent() - Method in class jodd.http.up.FileUploadable
 
getContent() - Method in interface jodd.http.up.Uploadable
Returns the original content.
getDefaultSSLSocketFactory(boolean) - Method in class jodd.http.net.SocketHttpConnectionProvider
Returns default SSL socket factory allowing setting trust managers.
getDomain() - Method in class jodd.http.Cookie
Returns the domain name set for this cookie.
getElapsedTime() - Method in class jodd.http.HttpBrowser
Returns elapsed time of last HttpBrowser.sendRequest(HttpRequest) in milliseconds.
getEntry(String) - Method in class jodd.http.HttpMultiMap
Returns first entry for given name.
getExpires() - Method in class jodd.http.Cookie
 
getFileName() - Method in class jodd.http.up.ByteArrayUploadable
 
getFileName() - Method in class jodd.http.up.FileUploadable
 
getFileName() - Method in interface jodd.http.up.Uploadable
Returns content file name.
getHttpRequest() - Method in class jodd.http.HttpBrowser
Returns last used request.
getHttpRequest() - Method in class jodd.http.HttpResponse
Returns HttpRequest that created this response.
getHttpResponse() - Method in class jodd.http.HttpBrowser
Returns last received HTTP response object.
getInputStream() - Method in interface jodd.http.HttpConnection
Returns connection input stream.
getInputStream() - Method in class jodd.http.net.SocketHttpConnection
 
getMaxAge() - Method in class jodd.http.Cookie
Returns the maximum age of the cookie, specified in seconds, By default, -1 indicating the cookie will persist until browser shutdown.
getMimeType() - Method in class jodd.http.up.ByteArrayUploadable
 
getMimeType() - Method in class jodd.http.up.FileUploadable
 
getMimeType() - Method in interface jodd.http.up.Uploadable
Returns MIME type.
getName() - Method in class jodd.http.Cookie
Returns the name of the cookie.
getOutputStream() - Method in interface jodd.http.HttpConnection
Returns connection output stream.
getOutputStream() - Method in class jodd.http.net.SocketHttpConnection
 
getPage() - Method in class jodd.http.HttpBrowser
Returns last response HTML page.
getPath() - Method in class jodd.http.Cookie
Returns the path on the server to which the browser returns this cookie.
getProxyAddress() - Method in class jodd.http.ProxyInfo
Returns proxy address.
getProxyPassword() - Method in class jodd.http.ProxyInfo
Returns proxy password or null.
getProxyPort() - Method in class jodd.http.ProxyInfo
Returns proxy port.
getProxyType() - Method in class jodd.http.ProxyInfo
Returns proxy type.
getProxyUsername() - Method in class jodd.http.ProxyInfo
Returns proxy user name or null if no authentication required.
getSize() - Method in class jodd.http.up.ByteArrayUploadable
 
getSize() - Method in class jodd.http.up.FileUploadable
 
getSize() - Method in interface jodd.http.up.Uploadable
Returns size in bytes.
getSocket() - Method in class jodd.http.net.SocketHttpConnection
Returns Socket used by this connection.
getSocketFactory(ProxyInfo, boolean, boolean) - Method in class jodd.http.net.SocketHttpConnectionProvider
Returns socket factory based on proxy type and SSL requirements.
getSSLSocketFactory() - Method in class jodd.http.net.SSLSocketHttpConnectionProvider
 
getValue() - Method in class jodd.http.Cookie
Returns the value of the cookie.
getVersion() - Method in class jodd.http.Cookie
Returns the version of the protocol this cookie complies with.

H

head(String) - Static method in class jodd.http.HttpRequest
Builds a HEAD request.
header(String) - Method in class jodd.http.HttpBase
Returns value of header parameter.
header(String, String) - Method in class jodd.http.HttpBase
Adds header parameter.
header(String, String, boolean) - Method in class jodd.http.HttpBase
Adds or sets header parameter.
header(String, int) - Method in class jodd.http.HttpBase
Adds int value as header parameter,
header(String, long) - Method in class jodd.http.HttpBase
Adds date value as header parameter.
HEADER_ACCEPT - Static variable in class jodd.http.HttpBase
 
HEADER_ACCEPT_ENCODING - Static variable in class jodd.http.HttpBase
 
HEADER_CLOSE - Static variable in class jodd.http.HttpBase
 
HEADER_CONNECTION - Static variable in class jodd.http.HttpBase
 
HEADER_CONTENT_ENCODING - Static variable in class jodd.http.HttpBase
 
HEADER_CONTENT_LENGTH - Static variable in class jodd.http.HttpBase
 
HEADER_CONTENT_TYPE - Static variable in class jodd.http.HttpBase
 
HEADER_ETAG - Static variable in class jodd.http.HttpBase
 
HEADER_HOST - Static variable in class jodd.http.HttpBase
 
HEADER_KEEP_ALIVE - Static variable in class jodd.http.HttpBase
 
headers - Variable in class jodd.http.HttpBase
 
headers(String) - Method in class jodd.http.HttpBase
Returns all values for given header name.
headers() - Method in class jodd.http.HttpBase
Returns HttpMultiMap of all headers.
host - Variable in class jodd.http.HttpRequest
 
host() - Method in class jodd.http.HttpRequest
Returns request host name.
host(String) - Method in class jodd.http.HttpRequest
Sets request host name.
hostUrl() - Method in class jodd.http.HttpRequest
Returns just host url, without path and query.
HTTP_1_0 - Static variable in class jodd.http.HttpBase
 
HTTP_1_1 - Static variable in class jodd.http.HttpBase
 
HttpBase<T> - Class in jodd.http
Base class for HttpRequest and HttpResponse.
HttpBase() - Constructor for class jodd.http.HttpBase
 
HttpBrowser - Class in jodd.http
Emulates HTTP Browser and persist cookies between requests.
HttpBrowser() - Constructor for class jodd.http.HttpBrowser
 
HttpConnection - Interface in jodd.http
Http connection.
httpConnection - Variable in class jodd.http.HttpRequest
 
httpConnectionProvider - Variable in class jodd.http.HttpBrowser
 
HttpConnectionProvider - Interface in jodd.http
Factory for http connections.
httpConnectionProvider - Variable in class jodd.http.HttpRequest
 
httpConnectionProvider - Static variable in class jodd.http.JoddHttp
Default HTTP transport provider.
HttpException - Exception in jodd.http
HTTP exception.
HttpException(Throwable) - Constructor for exception jodd.http.HttpException
 
HttpException(String) - Constructor for exception jodd.http.HttpException
 
HttpException(Object, String) - Constructor for exception jodd.http.HttpException
 
HttpException(String, Throwable) - Constructor for exception jodd.http.HttpException
 
HttpException(Object, String, Throwable) - Constructor for exception jodd.http.HttpException
 
HttpMultiMap<V> - Class in jodd.http
General purpose HTTP multi-map.
HttpMultiMap(boolean) - Constructor for class jodd.http.HttpMultiMap
 
httpProgressListener - Variable in class jodd.http.HttpBase
 
HttpProgressListener - Class in jodd.http
Http upload progress listener.
HttpProgressListener() - Constructor for class jodd.http.HttpProgressListener
 
httpProxy(String, int, String, String) - Static method in class jodd.http.ProxyInfo
Creates HTTP proxy.
HTTPProxySocketFactory - Class in jodd.http.net
Socket factory for HTTP proxy.
HTTPProxySocketFactory(ProxyInfo) - Constructor for class jodd.http.net.HTTPProxySocketFactory
 
httpRequest - Variable in class jodd.http.HttpBrowser
 
HttpRequest - Class in jodd.http
HTTP request.
HttpRequest() - Constructor for class jodd.http.HttpRequest
 
httpRequest - Variable in class jodd.http.HttpResponse
 
httpResponse - Variable in class jodd.http.HttpBrowser
 
HttpResponse - Class in jodd.http
HTTP response.
HttpResponse() - Constructor for class jodd.http.HttpResponse
 
HttpTunnel - Class in jodd.http
Simple HTTP tunnel base ready to be extended.
HttpTunnel() - Constructor for class jodd.http.HttpTunnel
 
HttpTunnel.HttpTunnelConnection - Class in jodd.http
Single connection handler that performs the tunneling.
HttpTunnelConnection(Socket) - Constructor for class jodd.http.HttpTunnel.HttpTunnelConnection
 
HttpUtil - Class in jodd.http
Few HTTP utilities.
HttpUtil() - Constructor for class jodd.http.HttpUtil
 
httpVersion - Variable in class jodd.http.HttpBase
 
httpVersion() - Method in class jodd.http.HttpBase
Returns HTTP version string.
httpVersion(String) - Method in class jodd.http.HttpBase
Sets the HTTP version string.

I

init() - Method in interface jodd.http.HttpConnection
Initializes http connection after socket is created.
init() - Static method in class jodd.http.JoddHttp
 
init() - Method in class jodd.http.net.SocketHttpConnection
 
init() - Method in class jodd.http.net.SocketHttpSecureConnection
 
initForm() - Method in class jodd.http.HttpBase
Initializes form.
initRequest() - Method in class jodd.http.HttpRequest
Prepares request on creation.
isConnectionPersistent() - Method in class jodd.http.HttpBase
Returns true if connection is persistent.
isEmpty() - Method in class jodd.http.HttpMultiMap
Returns true if map is empty.
isFormMultipart() - Method in class jodd.http.HttpBase
Returns true if form contains Uploadable.
isHttpOnly() - Method in class jodd.http.Cookie
 
isKeepAlive() - Method in class jodd.http.HttpBrowser
Returns true if keep alive is used.
isSecure() - Method in class jodd.http.Cookie
Returns true if the browser is sending cookies only over a secure protocol, or false if the browser can send cookies using any protocol.
iterator() - Method in class jodd.http.HttpMultiMap
Returns iterator of all entries.

J

jodd.http - package jodd.http
Tiny, raw and simple socket-based HTTP client.
jodd.http.net - package jodd.http.net
Implementations and core HTTP stuff.
jodd.http.up - package jodd.http.up
Uploadable content and few implementations.
JoddHttp - Class in jodd.http
Jodd HTTP module.
JoddHttp() - Constructor for class jodd.http.JoddHttp
 

K

keepAlive - Variable in class jodd.http.HttpBrowser
 
keepAlive(HttpResponse, boolean) - Method in class jodd.http.HttpRequest
Continues using the same keep-alive connection.

L

last - Variable in class jodd.http.Buffer
 
list - Variable in class jodd.http.Buffer
 
listenPort - Variable in class jodd.http.HttpTunnel
Tunnel listening port.
location(HttpResponse) - Method in class jodd.http.HttpBrowser
Parse 'location' header to return the next location.

M

mediaType - Variable in class jodd.http.HttpBase
 
mediaType() - Method in class jodd.http.HttpBase
Returns media type, as defined by 'Content-Type' header.
mediaType(String) - Method in class jodd.http.HttpBase
Defines just content media type.
method - Variable in class jodd.http.HttpRequest
 
method() - Method in class jodd.http.HttpRequest
Returns request method.
method(String) - Method in class jodd.http.HttpRequest
Specifies request method.
mimeType - Variable in class jodd.http.up.ByteArrayUploadable
 
mimeType - Variable in class jodd.http.up.FileUploadable
 
monitor(HttpProgressListener) - Method in class jodd.http.HttpRequest
Registers listener that will monitor upload progress.
multipart - Variable in class jodd.http.HttpBase
 
multipart(boolean) - Method in class jodd.http.HttpRequest
Forces multipart requests.

N

names() - Method in class jodd.http.HttpMultiMap
 
newCaseInsensitveMap() - Static method in class jodd.http.HttpMultiMap
Creates new case-insensitive multimap.
newCaseSensitveMap() - Static method in class jodd.http.HttpMultiMap
Creates new case-insensitive map.

O

onRequest(HttpRequest) - Method in class jodd.http.HttpTunnel.HttpTunnelConnection
Invoked after income connection is parsed.
onResponse(HttpResponse) - Method in class jodd.http.HttpTunnel.HttpTunnelConnection
Invoked after target response is processed.
onSocketConnection(Socket) - Method in class jodd.http.HttpTunnel
Invoked on incoming connection.
open() - Method in class jodd.http.HttpRequest
Opens a new connection using either provided or default connection provider.
open(HttpConnectionProvider) - Method in class jodd.http.HttpRequest
Opens a new connection using given HttpConnectionProvider.
open(HttpConnection) - Method in class jodd.http.HttpRequest
Assignees provided HttpConnection for communication.
openInputStream() - Method in class jodd.http.up.ByteArrayUploadable
 
openInputStream() - Method in class jodd.http.up.FileUploadable
 
openInputStream() - Method in interface jodd.http.up.Uploadable
Opens InputStream.
options(String) - Static method in class jodd.http.HttpRequest
Builds an OPTIONS request.

P

parseQuery(String, boolean) - Static method in class jodd.http.HttpUtil
Parses query from give query string.
patch(String) - Static method in class jodd.http.HttpRequest
Builds a PATCH request.
path - Variable in class jodd.http.HttpRequest
 
path() - Method in class jodd.http.HttpRequest
Returns request path, without the query.
path(String) - Method in class jodd.http.HttpRequest
Sets request path.
populateHeaderAndBody(Buffer, Buffer, boolean) - Method in class jodd.http.HttpBase
 
port - Variable in class jodd.http.HttpRequest
 
port() - Method in class jodd.http.HttpRequest
Returns request port number.
port(int) - Method in class jodd.http.HttpRequest
Sets request port number.
post(String) - Static method in class jodd.http.HttpRequest
Builds a POST request.
prepareHeaderParameterName(String) - Static method in class jodd.http.HttpUtil
Makes nice header names.
protocol - Variable in class jodd.http.HttpRequest
 
protocol() - Method in class jodd.http.HttpRequest
Returns used protocol.
protocol(String) - Method in class jodd.http.HttpRequest
Defines protocol.
proxy - Variable in class jodd.http.net.SocketHttpConnectionProvider
 
ProxyInfo - Class in jodd.http
Proxy information.
ProxyInfo(ProxyInfo.ProxyType, String, int, String, String) - Constructor for class jodd.http.ProxyInfo
 
ProxyInfo.ProxyType - Enum in jodd.http
Proxy types.
put(String) - Static method in class jodd.http.HttpRequest
Builds a PUT request.

Q

query - Variable in class jodd.http.HttpRequest
 
query(String, String) - Method in class jodd.http.HttpRequest
Adds query parameter.
query(String, Object, Object...) - Method in class jodd.http.HttpRequest
Adds many query parameters at once.
query(Map<String, String>) - Method in class jodd.http.HttpRequest
Adds all parameters from the provided map.
query() - Method in class jodd.http.HttpRequest
Returns backend map of query parameters.
queryEncoding - Variable in class jodd.http.HttpRequest
 
queryEncoding(String) - Method in class jodd.http.HttpRequest
Defines encoding for query parameters.
queryString(String) - Method in class jodd.http.HttpRequest
 
queryString(String, boolean) - Method in class jodd.http.HttpRequest
Sets query from provided query string.
queryString() - Method in class jodd.http.HttpRequest
Generates query string.

R

readBody(BufferedReader) - Method in class jodd.http.HttpBase
Parses body.
readCookies(HttpResponse) - Method in class jodd.http.HttpBrowser
Reads cookies from response and adds to cookies list.
readFrom(InputStream) - Static method in class jodd.http.HttpRequest
Parses input stream and creates new HttpRequest object.
readFrom(InputStream, String) - Static method in class jodd.http.HttpRequest
 
readFrom(InputStream) - Static method in class jodd.http.HttpResponse
Reads response input stream and returns response.
readHeaders(BufferedReader) - Method in class jodd.http.HttpBase
Parses headers.
remove(String) - Method in class jodd.http.HttpMultiMap
 
removeHeader(String) - Method in class jodd.http.HttpBase
Removes all header parameters for given name.
removeQuery(String) - Method in class jodd.http.HttpRequest
Removes query parameters for given name.
resolveFormEncoding() - Method in class jodd.http.HttpBase
Resolves form encodings.
run() - Method in class jodd.http.HttpTunnel.HttpTunnelConnection
 
running - Variable in class jodd.http.HttpTunnel
 

S

send() - Method in class jodd.http.HttpRequest
Opens connection if not already open, sends request, reads response and closes the request.
sendRequest(HttpRequest) - Method in class jodd.http.HttpBrowser
Sends new request as a browser.
sendTo(OutputStream) - Method in class jodd.http.HttpBase
Sends request or response to output stream.
serverSocket - Variable in class jodd.http.HttpTunnel
 
set(String, V) - Method in class jodd.http.HttpMultiMap
 
set(String) - Method in class jodd.http.HttpRequest
Sets the destination (method, host, port... ) at once.
setAll(HttpMultiMap<V>) - Method in class jodd.http.HttpMultiMap
 
setAll(Map<String, V>) - Method in class jodd.http.HttpMultiMap
 
setAll(String, Iterable<V>) - Method in class jodd.http.HttpMultiMap
 
setCatchTransportExceptions(boolean) - Method in class jodd.http.HttpBrowser
Defines if transport exceptions should be thrown.
setComment(String) - Method in class jodd.http.Cookie
Specifies a comment that describes a cookie's purpose.
setDefaultHeader(String, String) - Method in class jodd.http.HttpBrowser
Adds default header to all requests.
setDomain(String) - Method in class jodd.http.Cookie
Specifies the domain within which this cookie should be presented.
setExpires(String) - Method in class jodd.http.Cookie
 
setHostHeader() - Method in class jodd.http.HttpRequest
Sets 'Host' header from current host and port.
setHttpConnectionProvider(HttpConnectionProvider) - Method in class jodd.http.HttpBrowser
Defines HttpConnectionProvider for this browser session.
setHttpOnly(boolean) - Method in class jodd.http.Cookie
 
setKeepAlive(boolean) - Method in class jodd.http.HttpBrowser
Defines that persistent HTTP connection should be used.
setMaxAge(int) - Method in class jodd.http.Cookie
Sets the maximum age of the cookie in seconds.
setPath(String) - Method in class jodd.http.Cookie
Specifies a path for the cookie to which the client should return the cookie.
setProxyInfo(ProxyInfo) - Method in class jodd.http.HttpBrowser
Defines proxy for a browser.
setSecure(boolean) - Method in class jodd.http.Cookie
Indicates to the browser whether the cookie should only be sent using a secure protocol, such as HTTPS or SSL.
setTimeout(int) - Method in interface jodd.http.HttpConnection
Sets the timeout for connections, in milliseconds.
setTimeout(int) - Method in class jodd.http.net.SocketHttpConnection
 
setValue(String) - Method in class jodd.http.Cookie
Assigns a new value to a cookie after the cookie is created.
setVersion(int) - Method in class jodd.http.Cookie
Sets the version of the cookie protocol this cookie complies with.
size - Variable in class jodd.http.Buffer
 
size() - Method in class jodd.http.Buffer
Returns buffer size.
size() - Method in class jodd.http.HttpMultiMap
Returns the number of keys.
size - Variable in class jodd.http.HttpProgressListener
Total size to transfer.
socket - Variable in class jodd.http.HttpTunnel.HttpTunnelConnection
 
socket - Variable in class jodd.http.net.SocketHttpConnection
 
socketBacklog - Variable in class jodd.http.HttpTunnel
Number of incoming sockets connection that can be hold before processing each.
SocketHttpConnection - Class in jodd.http.net
Socket-based HttpConnection.
SocketHttpConnection(Socket) - Constructor for class jodd.http.net.SocketHttpConnection
 
SocketHttpConnectionProvider - Class in jodd.http.net
Socket factory for HTTP proxy.
SocketHttpConnectionProvider() - Constructor for class jodd.http.net.SocketHttpConnectionProvider
 
SocketHttpSecureConnection - Class in jodd.http.net
 
SocketHttpSecureConnection(SSLSocket) - Constructor for class jodd.http.net.SocketHttpSecureConnection
 
socks4Proxy(String, int, String) - Static method in class jodd.http.ProxyInfo
Creates SOCKS4 proxy.
Socks4ProxySocketFactory - Class in jodd.http.net
Socket factory for SOCKS4 proxy.
Socks4ProxySocketFactory(ProxyInfo) - Constructor for class jodd.http.net.Socks4ProxySocketFactory
 
socks5Proxy(String, int, String, String) - Static method in class jodd.http.ProxyInfo
Creates SOCKS5 proxy.
Socks5ProxySocketFactory - Class in jodd.http.net
Socket factory for SOCKS5 proxy.
Socks5ProxySocketFactory(ProxyInfo) - Constructor for class jodd.http.net.Socks5ProxySocketFactory
 
SSLSocketHttpConnectionProvider - Class in jodd.http.net
Custom SSL socket http connection provider.
SSLSocketHttpConnectionProvider(SSLSocketFactory) - Constructor for class jodd.http.net.SSLSocketHttpConnectionProvider
 
SSLSocketHttpConnectionProvider(SSLContext) - Constructor for class jodd.http.net.SSLSocketHttpConnectionProvider
 
start() - Method in class jodd.http.HttpTunnel
Starts HTTP tunnel.
statusCode - Variable in class jodd.http.HttpResponse
 
statusCode() - Method in class jodd.http.HttpResponse
Returns response status code.
statusCode(int) - Method in class jodd.http.HttpResponse
Sets response status code.
statusPhrase - Variable in class jodd.http.HttpResponse
 
statusPhrase() - Method in class jodd.http.HttpResponse
Returns response status phrase.
statusPhrase(String) - Method in class jodd.http.HttpResponse
Sets response status phrase.
stop() - Method in class jodd.http.HttpTunnel
Stops the tunnel, shutdowns the thread pool and closes server socket.

T

targetHost - Variable in class jodd.http.HttpTunnel
Target host.
targetPort - Variable in class jodd.http.HttpTunnel
Target port.
threadPoolSize - Variable in class jodd.http.HttpTunnel
The number of threads that can be executed in parallel.
timeout - Variable in class jodd.http.HttpRequest
 
timeout(int) - Method in class jodd.http.HttpRequest
Defines the socket timeout (SO_TIMEOUT) in milliseconds, which is the timeout for waiting for data or, put differently, a maximum period inactivity between two consecutive data packets).
timeout() - Method in class jodd.http.HttpRequest
Returns read timeout (SO_TIMEOUT) in milliseconds.
toByteArray() - Method in class jodd.http.HttpBase
Returns byte array of request or response.
toString() - Method in class jodd.http.Cookie
 
toString() - Method in class jodd.http.HttpBase
Returns string representation of this request or response.
toString(boolean) - Method in class jodd.http.HttpBase
Returns full request/response, or just headers.
toString() - Method in class jodd.http.HttpMultiMap
 
trace(String) - Static method in class jodd.http.HttpRequest
Builds a TRACE request.
transferred(int) - Method in class jodd.http.HttpProgressListener
Callback for every sent chunk.
TRUST_ALL_CERTS - Static variable in class jodd.http.net.TrustManagers
Array of trust managers that allow all certificates, done in Java8 proper-way.
trustAllCertificates() - Method in class jodd.http.HttpRequest
Returns a flag if to trusts all certificates.
trustAllCerts(boolean) - Method in class jodd.http.HttpRequest
Trusts all certificates, use with caution.
TrustManagers - Class in jodd.http.net
 
TrustManagers() - Constructor for class jodd.http.net.TrustManagers
 
tunnel() - Method in class jodd.http.HttpTunnel.HttpTunnelConnection
Performs the tunneling.

U

unzip() - Method in class jodd.http.HttpResponse
Unzips GZip-ed body content, removes the content-encoding header and sets the new content-length value.
Uploadable<T> - Interface in jodd.http.up
Common interface of uploaded content for form parameters.
url() - Method in class jodd.http.HttpRequest
Returns full URL path.
useProxy(ProxyInfo) - Method in interface jodd.http.HttpConnectionProvider
Specifies proxy for provide to use.
useProxy(ProxyInfo) - Method in class jodd.http.net.SocketHttpConnectionProvider
Defines proxy to use for created sockets.

V

valueOf(String) - Static method in enum jodd.http.ProxyInfo.ProxyType
Returns the enum constant of this type with the specified name.
values() - Static method in enum jodd.http.ProxyInfo.ProxyType
Returns an array containing the constants of this enum type, in the order they are declared.
verifyHttpsHost(boolean) - Method in class jodd.http.HttpRequest
Verifies HTTPS hosts.
verifyHttpsHost() - Method in class jodd.http.HttpRequest
Returns a flag if to verify https hosts.

W

withConnectionProvider(HttpConnectionProvider) - Method in class jodd.http.HttpRequest
Uses custom connection provider when opening the connection.
wrapFormValue(Object) - Method in class jodd.http.HttpBase
Wraps non-Strings form values with uploadable content.
writeTo(Writer) - Method in class jodd.http.Buffer
Writes content to the writer.
writeTo(OutputStream) - Method in class jodd.http.Buffer
Writes content to the output stream.
writeTo(OutputStream, HttpProgressListener) - Method in class jodd.http.Buffer
Writes content to the output stream, using progress listener to track the sending progress.

_

_header(String, String, boolean) - Method in class jodd.http.HttpBase
Internal direct header setting.
_sendRequest(HttpRequest, HttpResponse) - Method in class jodd.http.HttpBrowser
Opens connection and sends a response.
A B C D E F G H I J K L M N O P Q R S T U V W _ 
Skip navigation links

Copyright © 2003-2013 Jodd Team