- 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
-
- 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.
- 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
-
- 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
-
- getHttpResponse() - Method in class jodd.http.HttpBrowser
-
- 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.
- 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
-
- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- 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.