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.
acceptJson() - Method in class jodd.http.HttpRequest
Accepts JSON content type.
AdaptiveFileUpload - Class in jodd.http.upload.impl
Smart FileUpload implementation that defer the action of what to do with uploaded file for later.
AdaptiveFileUploadFactory - Class in jodd.http.upload.impl
Factory for AdaptiveFileUpload.
AdaptiveFileUploadFactory() - Constructor for class jodd.http.upload.impl.AdaptiveFileUploadFactory
 
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.
addHeader(String, String) - Method in class jodd.http.HeadersMultiMap
Adds new header value.
allowFileExtensions - Variable in class jodd.http.upload.impl.AdaptiveFileUpload
 
allowFileExtensions - Variable in class jodd.http.upload.impl.AdaptiveFileUploadFactory
 
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(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.
bodyEncoding - Static variable in class jodd.http.HttpBase.Defaults
Default body encoding (UTF-8).
bodyMediaType - Static variable in class jodd.http.HttpBase.Defaults
Default body media type.
bodyRaw() - Method in class jodd.http.HttpBase
Returns raw body as received or set (always in ISO-8859-1 encoding).
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
Defines body text content that will be encoded as default body media type in default body encoding if missing.
boundary - Variable in class jodd.http.upload.MultipartRequestInputStream
 
breakOnError - Variable in class jodd.http.upload.impl.AdaptiveFileUpload
 
breakOnError - Variable in class jodd.http.upload.impl.AdaptiveFileUploadFactory
 
breakOnError(boolean) - Method in class jodd.http.upload.impl.AdaptiveFileUploadFactory
Specifies if upload should break on error.
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.upload.ByteArrayUploadable
 
ByteArrayUploadable - Class in jodd.http.upload
Uploadable wrapper of byte array.
ByteArrayUploadable(byte[], String) - Constructor for class jodd.http.upload.ByteArrayUploadable
 
ByteArrayUploadable(byte[], String, String) - Constructor for class jodd.http.upload.ByteArrayUploadable
 

C

callbackSize(int) - Method in class jodd.http.HttpProgressListener
Returns callback size in bytes.
capitalizeHeaderKeys - Variable in class jodd.http.HttpBase
 
capitalizeHeaderKeys() - Method in class jodd.http.HttpBase
Returns whether header keys should be strict or not, when they are modified by changing them to PascalCase.
capitalizeHeaderKeys(boolean) - Method in class jodd.http.HttpBase
Sets headers behavior.
capitalizeHeaderKeys - Static variable in class jodd.http.HttpBase.Defaults
Flag that controls if headers should be rewritten and capitalized in PascalCase.
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.
checkUpload() - Method in class jodd.http.upload.impl.AdaptiveFileUpload
Determines if upload is allowed.
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.
connect(String, int) - Static method in class jodd.http.Sockets
Creates a socket.
connect(String, int, int) - Static method in class jodd.http.Sockets
Creates a socket with a timeout.
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.
contentTypeJson() - Method in class jodd.http.HttpRequest
Specifies JSON content type.
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() - Method in class jodd.http.HttpBase
Parses cookie information from the header.
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.
copyAll(OutputStream) - Method in class jodd.http.upload.MultipartRequestInputStream
Copies bytes from this stream to some output until boundary is reached.
copyMax(OutputStream, int) - Method in class jodd.http.upload.MultipartRequestInputStream
Copies max or less number of bytes to output stream.
create(String, String) - Static method in class jodd.http.HttpRequest
Generic request builder, usually used when method is a variable.
create(MultipartRequestInputStream) - Method in interface jodd.http.upload.FileUploadFactory
Creates new instance of uploaded file.
create(MultipartRequestInputStream) - Method in class jodd.http.upload.impl.AdaptiveFileUploadFactory
Creates new instance of uploaded file.
create(MultipartRequestInputStream) - Method in class jodd.http.upload.impl.DiskFileUploadFactory
Creates new instance of uploaded file.
create(MultipartRequestInputStream) - Method in class jodd.http.upload.impl.MemoryFileUploadFactory
Creates new instance of uploaded file.
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() - Method in class jodd.http.net.HTTPProxySocketFactory
 
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() - Method in class jodd.http.net.Socks4ProxySocketFactory
 
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() - Method in class jodd.http.net.Socks5ProxySocketFactory
 
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

data - Variable in class jodd.http.upload.impl.AdaptiveFileUpload
 
data - Variable in class jodd.http.upload.impl.MemoryFileUpload
 
DEFAULT_PORT - Static variable in class jodd.http.HttpBase.Defaults
 
defaultHeaders - Variable in class jodd.http.HttpBrowser
 
Defaults() - Constructor for class jodd.http.HttpBase.Defaults
 
delete(String) - Static method in class jodd.http.HttpRequest
Builds a DELETE request.
delete() - Method in class jodd.http.upload.impl.AdaptiveFileUpload
Deletes file uploaded item from disk or memory.
destFolder - Variable in class jodd.http.upload.impl.DiskFileUpload
 
destFolder - Variable in class jodd.http.upload.impl.DiskFileUploadFactory
 
directProxy() - Static method in class jodd.http.ProxyInfo
Creates directProxy.
DiskFileUpload - Class in jodd.http.upload.impl
FileUpload that saves uploaded files directly to destination folder.
DiskFileUploadFactory - Class in jodd.http.upload.impl
Factory for DiskFileUpload
DiskFileUploadFactory() - Constructor for class jodd.http.upload.impl.DiskFileUploadFactory
 
DiskFileUploadFactory(String) - Constructor for class jodd.http.upload.impl.DiskFileUploadFactory
 
DiskFileUploadFactory(String, int) - Constructor for class jodd.http.upload.impl.DiskFileUploadFactory
 

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.upload.FileUploadable
 
file - Variable in class jodd.http.upload.impl.DiskFileUpload
 
fileExtensions - Variable in class jodd.http.upload.impl.AdaptiveFileUpload
 
fileExtensions - Variable in class jodd.http.upload.impl.AdaptiveFileUploadFactory
 
fileName - Variable in class jodd.http.upload.ByteArrayUploadable
 
fileName - Variable in class jodd.http.upload.FileUploadable
 
fileTooBig - Variable in class jodd.http.upload.FileUpload
 
FileUpload - Class in jodd.http.upload
Encapsulates base for uploaded file.
FileUpload(MultipartRequestInputStream, int) - Constructor for class jodd.http.upload.FileUpload
 
FileUploadable - Class in jodd.http.upload
File uploadable.
FileUploadable(File) - Constructor for class jodd.http.upload.FileUploadable
 
FileUploadable(File, String, String) - Constructor for class jodd.http.upload.FileUploadable
 
FileUploadFactory - Interface in jodd.http.upload
FileUpload factory for handling uploaded files.
fileUploadFactory - Variable in class jodd.http.upload.MultipartStreamParser
 
FileUploadHeader - Class in jodd.http.upload
Parses file upload header.
followRedirects - Variable in class jodd.http.HttpRequest
 
followRedirects(boolean) - Method in class jodd.http.HttpRequest
Defines if redirects responses should be followed.
form - Variable in class jodd.http.HttpBase
 
form(String, Object) - Method in class jodd.http.HttpBase
Adds the 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 - Static variable in class jodd.http.HttpBase.Defaults
Default form encoding (UTF-8).
formEncoding - Variable in class jodd.http.HttpBase
 
formEncoding(String) - Method in class jodd.http.HttpBase
Defines encoding for forms parameters.
formOverwrite(String, Object) - Method in class jodd.http.HttpBase
Sets form parameter by overwriting.
fragment - Variable in class jodd.http.HttpRequest
 
fragment() - Method in class jodd.http.HttpRequest
Returns HTTP fragment, if specified; otherwise returns null.

G

get() - Static method in interface jodd.http.HttpConnectionProvider
Returns default implementation of connection provider.
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.upload.ByteArrayUploadable
 
getBytes() - Method in class jodd.http.upload.FileUploadable
 
getBytes() - Method in interface jodd.http.upload.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.upload.ByteArrayUploadable
 
getContent() - Method in class jodd.http.upload.FileUploadable
 
getContent() - Method in interface jodd.http.upload.Uploadable
Returns the original content.
getContentDisposition() - Method in class jodd.http.upload.FileUploadHeader
Returns content disposition.
getContentType() - Method in class jodd.http.upload.FileUploadHeader
Returns uploaded content type.
getDefaultSSLSocketFactory(boolean) - Method in class jodd.http.net.SocketHttpConnectionProvider
Returns default SSL socket factory allowing setting trust managers.
getDestinationFolder() - Method in class jodd.http.upload.impl.DiskFileUpload
Returns destination folder.
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
 
getFile() - Method in class jodd.http.upload.impl.DiskFileUpload
Returns uploaded and saved file.
getFile(String) - Method in class jodd.http.upload.MultipartStreamParser
Returns uploaded file.
getFileContent() - Method in class jodd.http.upload.FileUpload
Returns all bytes of uploaded file.
getFileContent() - Method in class jodd.http.upload.impl.AdaptiveFileUpload
Returns the content of file upload item.
getFileContent() - Method in class jodd.http.upload.impl.DiskFileUpload
Returns files content from disk file.
getFileContent() - Method in class jodd.http.upload.impl.MemoryFileUpload
Returns byte array containing uploaded file data.
getFileExtensions() - Method in class jodd.http.upload.impl.AdaptiveFileUpload
 
getFileInputStream() - Method in class jodd.http.upload.FileUpload
Returns input stream of uploaded file.
getFileInputStream() - Method in class jodd.http.upload.impl.AdaptiveFileUpload
 
getFileInputStream() - Method in class jodd.http.upload.impl.DiskFileUpload
Returns new buffered file input stream.
getFileInputStream() - Method in class jodd.http.upload.impl.MemoryFileUpload
Returns byte array input stream.
getFileName() - Method in class jodd.http.upload.ByteArrayUploadable
 
getFileName() - Method in class jodd.http.upload.FileUploadable
 
getFileName() - Method in class jodd.http.upload.FileUploadHeader
Returns file name (base name and extension, without full path data).
getFileName() - Method in interface jodd.http.upload.Uploadable
Returns content file name.
getFileParameterNames() - Method in class jodd.http.upload.MultipartStreamParser
Returns parameter names of all uploaded files.
getFiles(String) - Method in class jodd.http.upload.MultipartStreamParser
Returns all uploaded files the given request parameter has.
getFormFieldName() - Method in class jodd.http.upload.FileUploadHeader
Returns form field name.
getFormFilename() - Method in class jodd.http.upload.FileUploadHeader
Returns complete file name as specified at client side.
getHeader(String) - Method in class jodd.http.HeadersMultiMap
Returns header value.
getHeader() - Method in class jodd.http.upload.FileUpload
Returns FileUploadHeader of uploaded file.
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
 
getLastHeader() - Method in class jodd.http.upload.MultipartRequestInputStream
 
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.
getMaxFileSize() - Method in class jodd.http.upload.FileUpload
Returns max file size or -1 if there is no max file size.
getMaxFileSize() - Method in class jodd.http.upload.impl.AdaptiveFileUploadFactory
 
getMaxFileSize() - Method in class jodd.http.upload.impl.DiskFileUploadFactory
 
getMaxFileSize() - Method in class jodd.http.upload.impl.MemoryFileUploadFactory
 
getMemoryThreshold() - Method in class jodd.http.upload.impl.AdaptiveFileUpload
 
getMemoryThreshold() - Method in class jodd.http.upload.impl.AdaptiveFileUploadFactory
 
getMimeSubtype() - Method in class jodd.http.upload.FileUploadHeader
Returns file sub type MIME.
getMimeType() - Method in class jodd.http.upload.ByteArrayUploadable
 
getMimeType() - Method in class jodd.http.upload.FileUploadable
 
getMimeType() - Method in class jodd.http.upload.FileUploadHeader
Returns file types MIME.
getMimeType() - Method in interface jodd.http.upload.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.
getParameter(String) - Method in class jodd.http.upload.MultipartStreamParser
Returns single value of a parameter.
getParameterNames() - Method in class jodd.http.upload.MultipartStreamParser
Returns the names of the parameters contained in this request.
getParameterValues(String) - Method in class jodd.http.upload.MultipartStreamParser
Returns all values all of the values the given request parameter has.
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.upload.ByteArrayUploadable
 
getSize() - Method in class jodd.http.upload.FileUpload
Returns the file upload size or -1 if file was not uploaded.
getSize() - Method in class jodd.http.upload.FileUploadable
 
getSize() - Method in interface jodd.http.upload.Uploadable
Returns size in bytes.
getSocket() - Method in class jodd.http.net.SocketHttpConnection
Returns Socket used by this connection.
getSslProtocol() - Method in class jodd.http.net.SocketHttpConnectionProvider
Returns current SSL protocol used.
getUploadPath() - Method in class jodd.http.upload.impl.AdaptiveFileUpload
 
getUploadPath() - Method in class jodd.http.upload.impl.AdaptiveFileUploadFactory
 
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(Map<String, String>) - Method in class jodd.http.HttpBase
Adds many header parameters at once.
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 - Variable in class jodd.http.upload.FileUpload
 
HEADER_ACCEPT - Static variable in class jodd.http.HttpBase
 
HEADER_ACCEPT_ENCODING - Static variable in class jodd.http.HttpBase
 
HEADER_AUTHORIZATION - 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
 
HEADER_USER_AGENT - Static variable in class jodd.http.HttpBase
 
headerNames() - Method in class jodd.http.HttpBase
Returns collection of all header names.
headerOverwrite(String, String) - Method in class jodd.http.HttpBase
Sets the header by overwriting it.
headerRemove(String) - Method in class jodd.http.HttpBase
Removes all header parameters for given name.
headers - Static variable in class jodd.http.HttpBase.Defaults
Default headers.
headers - Variable in class jodd.http.HttpBase
 
headers(String) - Method in class jodd.http.HttpBase
Returns all values for given header name.
headersClear() - Method in class jodd.http.HttpBase
Clears all headers.
HeadersMultiMap - Class in jodd.http
 
HeadersMultiMap() - Constructor for class jodd.http.HeadersMultiMap
 
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
 
HTTP_ACCEPTED - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 202: Accepted.
HTTP_BAD_GATEWAY - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 502: Bad Gateway.
HTTP_BAD_METHOD - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 405: Method Not Allowed.
HTTP_BAD_REQUEST - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 400: Bad Request.
HTTP_CLIENT_TIMEOUT - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 408: Request Time-Out.
HTTP_CONFLICT - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 409: Conflict.
HTTP_CONTINUE - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 100: Continue.
HTTP_CREATED - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 201: Created.
HTTP_ENTITY_TOO_LARGE - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 413: Request Entity Too Large.
HTTP_FORBIDDEN - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 403: Forbidden.
HTTP_GATEWAY_TIMEOUT - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 504: Gateway Timeout.
HTTP_GONE - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 410: Gone.
HTTP_INTERNAL_ERROR - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 500: Internal Server Error.
HTTP_LENGTH_REQUIRED - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 411: Length Required.
HTTP_MOVED_PERMANENTLY - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 301: Moved Permanently.
HTTP_MOVED_TEMPORARY - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 302: Temporary Redirect.
HTTP_MULTIPLE_CHOICES - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 300: Multiple Choices.
HTTP_NO_CONTENT - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 204: No Content.
HTTP_NOT_ACCEPTABLE - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 406: Not Acceptable.
HTTP_NOT_AUTHORITATIVE - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 203: Non-Authoritative Information.
HTTP_NOT_FOUND - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 404: Not Found.
HTTP_NOT_IMPLEMENTED - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 501: Not Implemented.
HTTP_NOT_MODIFIED - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 304: Not Modified.
HTTP_OK - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 200: OK.
HTTP_PARTIAL - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 206: Partial Content.
HTTP_PAYMENT_REQUIRED - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 402: Payment Required.
HTTP_PRECON_FAILED - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 412: Precondition Failed.
HTTP_PROXY_AUTH_REQUIRED - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 407: Proxy Authentication Required.
HTTP_REQ_TOO_LONG - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 414: Request-URI Too Large.
HTTP_RESET - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 205: Reset Content.
HTTP_SEE_OTHER - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 303: See Other.
HTTP_TEMPORARY_REDIRECT - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 307: Temporary Redirect.
HTTP_UNAUTHORIZED - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 401: Unauthorized.
HTTP_UNAVAILABLE - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 503: Service Unavailable.
HTTP_UNPROCESSABLE_ENTITY - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 422: Unprocessable Entity.
HTTP_UNSUPPORTED_TYPE - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 415: Unsupported Media Type.
HTTP_USE_PROXY - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 305: Use Proxy.
HTTP_VERSION_NOT_SUPPORTED - Static variable in class jodd.http.HttpStatus
HTTP Status-Code 505: HTTP Version Not Supported.
HttpBase<T> - Class in jodd.http
Base class for HttpRequest and HttpResponse.
HttpBase() - Constructor for class jodd.http.HttpBase
 
HttpBase.Defaults - Class in jodd.http
 
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.Implementation - Class in jodd.http
 
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, int) - 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
 
HttpStatus - Class in jodd.http
HTTP status codes.
HttpStatus() - Constructor for class jodd.http.HttpStatus
 
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

Implementation() - Constructor for class jodd.http.HttpConnectionProvider.Implementation
 
init() - Method in interface jodd.http.HttpConnection
Initializes http connection after socket is created.
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.
input - Variable in class jodd.http.upload.FileUpload
 
isAllowFileExtensions() - Method in class jodd.http.upload.impl.AdaptiveFileUpload
 
isBoundary(byte) - Method in class jodd.http.upload.MultipartRequestInputStream
Checks if the current byte (i.e.
isBreakOnError() - Method in class jodd.http.upload.impl.AdaptiveFileUpload
 
isBreakOnError() - Method in class jodd.http.upload.impl.AdaptiveFileUploadFactory
 
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.
isError(int) - Static method in class jodd.http.HttpStatus
Returns true if status code indicates an error.
isFile() - Method in class jodd.http.upload.FileUploadHeader
Returns true if uploaded data are correctly marked as a file.
isFileTooBig() - Method in class jodd.http.upload.FileUpload
Returns true if file is too big.
isFollowRedirects() - Method in class jodd.http.HttpRequest
Returns true if redirects are followed.
isFormMultipart() - Method in class jodd.http.HttpBase
Returns true if form contains Uploadable.
isHttpOnly() - Method in class jodd.http.Cookie
 
isInMemory() - Method in class jodd.http.upload.FileUpload
Returns true if uploaded file content is stored in memory.
isInMemory() - Method in class jodd.http.upload.impl.AdaptiveFileUpload
Returns true if file upload resides in memory.
isInMemory() - Method in class jodd.http.upload.impl.DiskFileUpload
Returns false as uploaded file is stored on disk.
isInMemory() - Method in class jodd.http.upload.impl.MemoryFileUpload
Returns true as uploaded file is stored in memory.
isKeepAlive() - Method in class jodd.http.HttpBrowser
Returns true if keep alive is used.
isParsed() - Method in class jodd.http.upload.MultipartStreamParser
Returns true if multi-part request is already loaded.
isRedirect(int) - Static method in class jodd.http.HttpStatus
Returns true if status code indicates a redirect.
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.
isSuccessful(int) - Static method in class jodd.http.HttpStatus
Returns true if status code indicates successful result.
isUploaded() - Method in class jodd.http.upload.FileUpload
Returns true if file was uploaded.
isValid() - Method in class jodd.http.upload.FileUpload
Returns true if upload process went correctly.
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.upload - package jodd.http.upload
Uploadable content and few implementations.
jodd.http.upload.impl - package jodd.http.upload.impl
 

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
 
lastHeader - Variable in class jodd.http.upload.MultipartRequestInputStream
 
list - Variable in class jodd.http.Buffer
 
listenPort - Variable in class jodd.http.HttpTunnel
Tunnel listening port.
location() - Method in class jodd.http.HttpResponse
Parses 'location' header to return the next location or returns null if location not specified.

M

matchFileExtension() - Method in class jodd.http.upload.impl.AdaptiveFileUpload
 
maxFileSize - Variable in class jodd.http.upload.FileUpload
 
maxFileSize - Variable in class jodd.http.upload.impl.AdaptiveFileUploadFactory
 
maxFileSize - Variable in class jodd.http.upload.impl.DiskFileUploadFactory
 
maxFileSize - Variable in class jodd.http.upload.impl.MemoryFileUploadFactory
 
maxRedirects - Variable in class jodd.http.HttpRequest
 
maxRedirects(int) - Method in class jodd.http.HttpRequest
Sets the max number of redirects, used when HttpRequest.followRedirects is enabled.
maxRedirects() - Method in class jodd.http.HttpRequest
Returns max number of redirects, used when HttpRequest.followRedirects is enabled.
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.
MemoryFileUpload - Class in jodd.http.upload.impl
FileUpload that stores uploaded files in memory byte array.
MemoryFileUploadFactory - Class in jodd.http.upload.impl
Factory for jodd.net.upload.impl.MemoryFileUpload.
MemoryFileUploadFactory() - Constructor for class jodd.http.upload.impl.MemoryFileUploadFactory
 
memoryThreshold - Variable in class jodd.http.upload.impl.AdaptiveFileUpload
 
memoryThreshold - Variable in class jodd.http.upload.impl.AdaptiveFileUploadFactory
 
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.
method(HttpMethod) - Method in class jodd.http.HttpRequest
 
mimeType - Variable in class jodd.http.upload.ByteArrayUploadable
 
mimeType - Variable in class jodd.http.upload.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.
MultipartRequestInputStream - Class in jodd.http.upload
Extended input stream based on buffered requests input stream.
MultipartRequestInputStream(InputStream) - Constructor for class jodd.http.upload.MultipartRequestInputStream
 
MultipartStreamParser - Class in jodd.http.upload
Generic, serlvets-free multipart request input stream parser.
MultipartStreamParser() - Constructor for class jodd.http.upload.MultipartStreamParser
 
MultipartStreamParser(FileUploadFactory) - Constructor for class jodd.http.upload.MultipartStreamParser
 

N

names() - Method in class jodd.http.HttpMultiMap
 
newCaseInsensitiveMap() - Static method in class jodd.http.HttpMultiMap
Creates new case-insensitive multimap.
newCaseSensitiveMap() - 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.upload.ByteArrayUploadable
 
openInputStream() - Method in class jodd.http.upload.FileUploadable
 
openInputStream() - Method in interface jodd.http.upload.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.
parseRequestStream(InputStream, String) - Method in class jodd.http.upload.MultipartStreamParser
Extracts uploaded files and parameters from the request data.
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.
processStream() - Method in class jodd.http.upload.FileUpload
Process request input stream.
processStream() - Method in class jodd.http.upload.impl.AdaptiveFileUpload
 
processStream() - Method in class jodd.http.upload.impl.DiskFileUpload
 
processStream() - Method in class jodd.http.upload.impl.MemoryFileUpload
Reads data from input stream into byte array and stores file size.
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.
putFile(String, FileUpload) - Method in class jodd.http.upload.MultipartStreamParser
 
putParameter(String, String) - Method in class jodd.http.upload.MultipartStreamParser
 
putParameters(String, String[]) - Method in class jodd.http.upload.MultipartStreamParser
 

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 - Static variable in class jodd.http.HttpBase.Defaults
Default HTTP query parameters encoding (UTF-8).
queryEncoding - Variable in class jodd.http.HttpRequest
 
queryEncoding(String) - Method in class jodd.http.HttpRequest
Defines encoding for query parameters.
queryRemove(String) - Method in class jodd.http.HttpRequest
Removes query parameters for given name.
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.
readBoundary() - Method in class jodd.http.upload.MultipartRequestInputStream
Reads boundary from the input stream.
readByte() - Method in class jodd.http.upload.MultipartRequestInputStream
Reads expected byte.
readCookies(HttpResponse) - Method in class jodd.http.HttpBrowser
Reads cookies from response and adds to cookies list.
readDataHeader(String) - Method in class jodd.http.upload.MultipartRequestInputStream
Reads data header from the input stream.
readDataHeaderString(String) - Method in class jodd.http.upload.MultipartRequestInputStream
 
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
 
requestFiles - Variable in class jodd.http.upload.MultipartStreamParser
 
requestParameters - Variable in class jodd.http.upload.MultipartStreamParser
 
resolveFormEncoding() - Method in class jodd.http.HttpBase
Resolves form encodings.
resolveSocketFactory(ProxyInfo, boolean, boolean, int) - Method in class jodd.http.net.SocketHttpConnectionProvider
Returns socket factory based on proxy type and SSL requirements.
resolveSocketFactory(ProxyInfo, boolean, boolean, int) - Method in class jodd.http.net.SSLSocketHttpConnectionProvider
 
run() - Method in class jodd.http.HttpTunnel.HttpTunnelConnection
 
running - Variable in class jodd.http.HttpTunnel
 

S

secureEnabledProtocols - Variable in class jodd.http.net.SocketHttpConnectionProvider
 
send() - Method in class jodd.http.HttpRequest
Opens connection if not already open, sends request, reads response and closes the request.
sendAndReceive(Function<HttpResponse, R>) - Method in class jodd.http.HttpRequest
Syntax sugar.
sendAndReceive(Consumer<HttpResponse>) - Method in class jodd.http.HttpRequest
Syntax sugar.
sendAsync() - Method in class jodd.http.HttpRequest
Sends http request asynchronously using common fork-join pool.
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(HttpConnectionProvider) - Static method in class jodd.http.HttpConnectionProvider.Implementation
 
set(String, V) - Method in class jodd.http.HttpMultiMap
 
set(String) - Method in class jodd.http.HttpRequest
Sets the destination (method, host, port...
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
 
setBreakOnError(boolean) - Method in class jodd.http.upload.impl.AdaptiveFileUploadFactory
 
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
 
setFileExtensions(String[], boolean) - Method in class jodd.http.upload.impl.AdaptiveFileUploadFactory
Allow or disallow set of file extensions.
setHeader(String, String) - Method in class jodd.http.HeadersMultiMap
Sets the header value.
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.
setMaxFileSize(int) - Method in class jodd.http.upload.impl.AdaptiveFileUploadFactory
Sets maximum file upload size.
setMaxFileSize(int) - Method in class jodd.http.upload.impl.DiskFileUploadFactory
Sets maximum file upload size.
setMaxFileSize(int) - Method in class jodd.http.upload.impl.MemoryFileUploadFactory
Sets maximum file upload size.
setMemoryThreshold(int) - Method in class jodd.http.upload.impl.AdaptiveFileUploadFactory
Specifies per file memory limit for keeping uploaded files in the memory.
setParsed() - Method in class jodd.http.upload.MultipartStreamParser
Sets the loaded flag that indicates that input stream is loaded and parsed.
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.
setSecuredProtocols(String) - Method in class jodd.http.net.SocketHttpConnectionProvider
CSV of default enabled secured protocols.
setSslProtocol(String) - Method in class jodd.http.net.SocketHttpConnectionProvider
Sets default SSL protocol to use.
setTimeout(int) - Method in interface jodd.http.HttpConnection
Sets the timeout for connections, in milliseconds.
setTimeout(int) - Method in class jodd.http.net.SocketHttpConnection
 
setUploadDir(String) - Method in class jodd.http.upload.impl.DiskFileUploadFactory
 
setUploadPath(File) - Method in class jodd.http.upload.impl.AdaptiveFileUploadFactory
Specifies the upload path.
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.
size - Variable in class jodd.http.upload.FileUpload
 
skipBytes(int) - Method in class jodd.http.upload.MultipartRequestInputStream
Skips specified number of bytes.
skipToBoundary() - Method in class jodd.http.upload.MultipartRequestInputStream
Skips to the boundary and returns total number of bytes skipped.
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
 
Sockets - Class in jodd.http
Sockets factory.
Sockets() - Constructor for class jodd.http.Sockets
 
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, int) - 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, int) - Constructor for class jodd.http.net.Socks5ProxySocketFactory
 
sslProtocol - Variable in class jodd.http.net.SocketHttpConnectionProvider
 
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.
tempFile - Variable in class jodd.http.upload.impl.AdaptiveFileUpload
 
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.
TMP_FILE_SUFFIX - Static variable in class jodd.http.upload.impl.AdaptiveFileUpload
 
toByteArray() - Method in class jodd.http.HttpBase
Returns byte array of request or response.
tokenAuthentication() - Method in class jodd.http.HttpBase
Returns Bearer token or null if not set.
tokenAuthentication(String) - Method in class jodd.http.HttpRequest
Enables token-based authentication.
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
 
toString() - Method in class jodd.http.upload.FileUpload
Returns basic information about the uploaded file.
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.upload
Common interface of uploaded content for form parameters.
uploadPath - Variable in class jodd.http.upload.impl.AdaptiveFileUpload
 
uploadPath - Variable in class jodd.http.upload.impl.AdaptiveFileUploadFactory
 
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

valid - Variable in class jodd.http.upload.FileUpload
 
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.
write(String) - Method in class jodd.http.upload.impl.AdaptiveFileUpload
Writes file uploaded item.
write(File) - Method in class jodd.http.upload.impl.AdaptiveFileUpload
Writes file upload item to destination folder or to destination file.
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
Adds or sets header parameter.
_headerRaw(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.
_this() - Method in class jodd.http.HttpBase
 
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