- get(String) - Static method in class jodd.http.HttpRequest
-
Builds a GET request.
- 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.
- getDomain() - Method in class jodd.http.Cookie
-
Returns the domain name set for this cookie.
- getElapsedTime() - Method in class jodd.http.HttpBrowser
-
- 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.
- getFirst(String) - Method in class jodd.http.HttpValuesMap
-
Returns the first value for given key.
- 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.
- getSocket() - Method in class jodd.http.net.SocketHttpConnection
-
Returns Socket used by this connection.
- getSocketFactory(ProxyInfo) - Method in class jodd.http.net.SocketHttpConnectionProvider
-
Returns socket factory based on proxy type.
- getSSLSocketFactory() - Method in class jodd.http.net.SocketHttpConnectionProvider
-
Returns new SSL socket factory.
- getStrings(String) - Method in class jodd.http.HttpValuesMap
-
Returns values as strings array.
- 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.
- 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) - Method in class jodd.http.HttpRequest
-
Sets the destination (method, host, port... ) at once.
- set(String, Object) - Method in class jodd.http.HttpValuesMap
-
Sets parameter value.
- setComment(String) - Method in class jodd.http.Cookie
-
Specifies a comment that describes a cookie's purpose.
- 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.
- 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.
- 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
-
- 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
-
- 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.