- ACCEPTED - Static variable in class org.attribyte.api.http.Response.Code
-
Request was accepted (202).
- addAttribute(String, Object) - Method in class org.attribyte.api.http.RequestBuilder
-
Adds an attribute.
- addAttribute(String, Object) - Method in class org.attribyte.api.http.ResponseBuilder
-
Adds an attribute.
- addAttributes(Map<String, Object>) - Method in class org.attribyte.api.http.RequestBuilder
-
Adds a map of attributes.
- addAttributes(Map<String, Object>) - Method in class org.attribyte.api.http.ResponseBuilder
-
Adds a map of attributes.
- addAuth(Request, String, String) - Method in class org.attribyte.api.http.AuthScheme
-
Adds authentication credentials to a request.
- addAuth(Request, String, String) - Method in class org.attribyte.api.http.impl.BasicAuthScheme
-
- addHeader(String, String) - Method in class org.attribyte.api.http.RequestBuilder
-
Adds a header.
- addHeader(String, String) - Method in class org.attribyte.api.http.ResponseBuilder
-
Adds a header.
- addHeaders(Collection<Header>) - Method in class org.attribyte.api.http.Request
-
Adds headers to the existing headers, replacing any that are duplicated.
- addHeaders(Collection<Header>) - Method in class org.attribyte.api.http.RequestBuilder
-
Adds a collection of headers.
- addHeaders(Map<?, ?>) - Method in class org.attribyte.api.http.RequestBuilder
-
Adds a map of headers.
- addHeaders(Map<?, ?>) - Method in class org.attribyte.api.http.ResponseBuilder
-
Adds a map of headers.
- addParameter(String, String) - Method in class org.attribyte.api.http.FormPostRequestBuilder
-
Adds a parameter.
- addParameters(Map<?, ?>) - Method in class org.attribyte.api.http.FormPostRequestBuilder
-
Adds a map of parameters.
- addValue(String) - Method in class org.attribyte.api.http.Header
-
Returns a copy of this header with the new value added.
- addValue(String) - Method in class org.attribyte.api.http.Parameter
-
Returns a copy of this parameter with the new value added.
- appName - Variable in class org.attribyte.util.CLI
-
The application name.
- array(ByteBuffer) - Static method in class org.attribyte.util.ByteBufferUtil
-
Gets a byte array from a buffer.
- AsyncClient - Interface in org.attribyte.api.http
-
Defines the async HTTP client interface.
- asyncSend(Request) - Method in interface org.attribyte.api.http.AsyncClient
-
Sends a request with default options.
- asyncSend(Request, RequestOptions) - Method in interface org.attribyte.api.http.AsyncClient
-
Sends a request with specified options.
- asyncSend(Request) - Method in class org.attribyte.api.http.impl.jetty.JettyClient
-
- asyncSend(Request, RequestOptions) - Method in class org.attribyte.api.http.impl.jetty.JettyClient
-
- asyncSend(Request) - Method in class org.attribyte.api.http.impl.ning.NingClient
-
- asyncSend(Request, RequestOptions) - Method in class org.attribyte.api.http.impl.ning.NingClient
-
- attributes - Variable in class org.attribyte.api.http.Request
-
An immutable map of attributes.
- attributes - Variable in class org.attribyte.api.http.Response
-
An immutable map of attributes.
- AUTH_HEADER - Static variable in class org.attribyte.api.http.impl.BasicAuthScheme
-
- authenticate(Request, String, String) - Method in class org.attribyte.api.http.AuthScheme
-
Authenticates the request.
- authenticate(Request, String, String) - Method in class org.attribyte.api.http.impl.BasicAuthScheme
-
- AUTHENTICATE_RESPONSE_HEADER - Static variable in class org.attribyte.api.http.AuthScheme
-
The authenticate response header name ('WWW-Authenticate').
- authenticateResponseHeader - Variable in class org.attribyte.api.http.AuthScheme
-
- Authorizer - Interface in org.attribyte.api.http
-
Examines request headers, parameters or content
to determine if a request is authorized.
- AuthScheme - Class in org.attribyte.api.http
-
Defines a HTTP authentication scheme.
- caseSensitiveParameters - Variable in class org.attribyte.api.http.Request
-
If the request has parameters, are they case-sensitive?
- CLI - Class in org.attribyte.util
-
Creates a command line interface with properties and a logger.
- Client - Interface in org.attribyte.api.http
-
Defines the HTTP client interface.
- ClientOptions - Class in org.attribyte.api.http
-
Configuration options for clients.
- ClientOptions(String, Properties) - Constructor for class org.attribyte.api.http.ClientOptions
-
Creates options from properties.
- ClientOptions.Builder - Class in org.attribyte.api.http
-
Builds immutable instances of client options.
- closeQuietly(Connection, Statement, ResultSet) - Static method in class org.attribyte.util.SQLUtil
-
Quietly closes a connection, statement and result set.
- closeQuietly(Connection, Statement) - Static method in class org.attribyte.util.SQLUtil
-
Quietly closes a connection and a statement.
- closeQuietly(Connection) - Static method in class org.attribyte.util.SQLUtil
-
Quietly closes a connection.
- closeQuietly(Statement, ResultSet) - Static method in class org.attribyte.util.SQLUtil
-
Quietly closes a statement and result set.
- closeQuietly(Statement) - Static method in class org.attribyte.util.SQLUtil
-
Quietly closes a statement.
- closeQuietly(ResultSet) - Static method in class org.attribyte.util.SQLUtil
-
Quietly closes a result set.
- Code() - Constructor for class org.attribyte.api.http.Response.Code
-
- Commons3Client - Class in org.attribyte.api.http.impl.commons
-
An HTTP client based on Apache commons HTTP.
- Commons3Client() - Constructor for class org.attribyte.api.http.impl.commons.Commons3Client
-
Creates an uninitialized client.
- Commons3Client(ClientOptions) - Constructor for class org.attribyte.api.http.impl.commons.Commons3Client
-
Creates a client with specified options.
- Commons4Client - Class in org.attribyte.api.http.impl.commons
-
An HTTP client based on Apache commons HTTP.
- Commons4Client() - Constructor for class org.attribyte.api.http.impl.commons.Commons4Client
-
Creates an uninitialized client.
- Commons4Client(ClientOptions) - Constructor for class org.attribyte.api.http.impl.commons.Commons4Client
-
Creates a client with specified options.
- ConnectionSupplier - Interface in org.attribyte.sql
-
An interface that identifies objects that supply JDBC connections (like pools).
- connectionTimeoutMillis - Variable in class org.attribyte.api.http.ClientOptions
-
The maximum amount of time to wait to establish a connection (5s).
- ConsoleLogger - Class in org.attribyte.api
-
A logger that writes all messages to the
system console.
- ConsoleLogger() - Constructor for class org.attribyte.api.ConsoleLogger
-
- CONTENT_TYPE - Static variable in class org.attribyte.api.http.Header
-
The content type header.
- create() - Method in class org.attribyte.api.http.ClientOptions.Builder
-
Creates the options.
- create() - Method in class org.attribyte.api.http.DeleteRequestBuilder
-
- create() - Method in class org.attribyte.api.http.FormPostRequestBuilder
-
- create() - Method in class org.attribyte.api.http.GetRequestBuilder
-
- create() - Method in class org.attribyte.api.http.HeadRequestBuilder
-
- create() - Method in class org.attribyte.api.http.PostRequestBuilder
-
- create() - Method in class org.attribyte.api.http.PutRequestBuilder
-
- create() - Method in class org.attribyte.api.http.RequestBuilder
-
Creates the immutable request after all headers, parameters and attributes are added.
- create() - Method in class org.attribyte.api.http.ResponseBuilder
-
Creates an immutable response.
- createStreamed() - Method in class org.attribyte.api.http.ResponseBuilder
-
Creates an immutable streamed response.
- DataLimitException - Exception in org.attribyte.api
-
An exception raised when on operation (like a stream read)
exceeds a size limit.
- DataLimitException(String) - Constructor for exception org.attribyte.api.DataLimitException
-
- DataLimitException(String, Throwable) - Constructor for exception org.attribyte.api.DataLimitException
-
- DatastoreException - Exception in org.attribyte.api
-
An exception raised for database or other persistent
storage problems.
- DatastoreException(String) - Constructor for exception org.attribyte.api.DatastoreException
-
- DatastoreException(String, Throwable) - Constructor for exception org.attribyte.api.DatastoreException
-
- debug(String) - Method in class org.attribyte.api.ConsoleLogger
-
- debug(String) - Method in interface org.attribyte.api.Logger
-
Logs a debug message.
- debug(String) - Method in class org.attribyte.api.NOOPLogger
-
- decodeBase64(String) - Static method in class org.attribyte.util.EncodingUtil
-
Decode base64 to bytes.
- DEFAULT - Static variable in class org.attribyte.api.http.RequestOptions
-
The default request options.
- DEFAULT_FOLLOW_REDIRECTS - Static variable in class org.attribyte.api.http.RequestOptions
-
The default follow redirects (true).
- DEFAULT_INSTALL_DIR_PROP - Static variable in class org.attribyte.util.CLI
-
The default system property for the install directory ('install.dir').
- DEFAULT_MAX_RESPONSE_BYTES - Static variable in class org.attribyte.api.http.RequestOptions
-
The maximum response size (1 MB).
- DEFAULT_TIMEOUT_SECONDS - Static variable in class org.attribyte.api.http.RequestOptions
-
The maximum time to wait for a response (5 seconds).
- DEFAULT_UNAUTHORIZED_MESSAGE - Static variable in class org.attribyte.api.http.AuthScheme
-
The default message sent when unauthorized ('Authorization Required').
- deflate(byte[], EncodingUtil.DeflateStrategy) - Static method in class org.attribyte.util.EncodingUtil
-
Applies ZLIB compression.
- deflate(byte[], int, int, EncodingUtil.DeflateStrategy) - Static method in class org.attribyte.util.EncodingUtil
-
Applies ZLIB compression.
- DeleteRequestBuilder - Class in org.attribyte.api.http
-
Builds immutable HTTP DELETE requests.
- DeleteRequestBuilder(String, Map) - Constructor for class org.attribyte.api.http.DeleteRequestBuilder
-
Creates a DELETE request builder with URI parsed from a string and
pre-parsed parameters.
- DeleteRequestBuilder(String, boolean) - Constructor for class org.attribyte.api.http.DeleteRequestBuilder
-
Creates a DELETE request builder with URI parsed from a string with parameter case-sensitivity specified.
- DeleteRequestBuilder(URI, boolean) - Constructor for class org.attribyte.api.http.DeleteRequestBuilder
-
Creates a DELETE request builder with paramter case-sensitivity specified.
- DeleteRequestBuilder(String) - Constructor for class org.attribyte.api.http.DeleteRequestBuilder
-
Creates a DELETE request builder with URI parsed from a string.
- DeleteRequestBuilder(URI) - Constructor for class org.attribyte.api.http.DeleteRequestBuilder
-
Creates a DELETE request builder.
- DOMUtil - Class in org.attribyte.util
-
Utilities for (built-into-java) DOM manipulation.
- DOMUtil() - Constructor for class org.attribyte.util.DOMUtil
-
- getAttribute(String) - Method in class org.attribyte.api.http.Response
-
Gets an attribute.
- getAuthenticateResponseHeader() - Method in class org.attribyte.api.http.AuthScheme
-
Gets the value for the WWW-Authenticate header.
- getBody() - Method in class org.attribyte.api.http.BodyResponse
-
- getBody() - Method in class org.attribyte.api.http.Request
-
Gets the request body, if any.
- getBody() - Method in class org.attribyte.api.http.Response
-
Gets the response body as an immutable ByteString.
- getBody() - Method in class org.attribyte.api.http.StreamedResponse
-
- getBodySource() - Method in class org.attribyte.api.http.StreamedResponse
-
Gets a source for the body.
- getBooleanProperty(String, boolean) - Method in class org.attribyte.api.http.ClientOptions
-
Gets a boolean property.
- getCharset(String, String) - Static method in class org.attribyte.api.http.Header
-
Gets the charset from a content type header.
- getCharset(String) - Method in class org.attribyte.api.http.Request
-
Gets the charset specified with the request Content-Type header, if any.
- getCharset(String) - Method in class org.attribyte.api.http.Response
-
Gets the charset specified for this response or the default
charset if none specified.
- getChildElementsByTagName(Element, String) - Static method in class org.attribyte.util.DOMUtil
-
- getChildText(Element, String) - Static method in class org.attribyte.util.DOMUtil
-
Gets the text content of a child element.
- getConnection() - Method in interface org.attribyte.sql.ConnectionSupplier
-
Gets a connection.
- getConnectionTimeoutMillis() - Method in class org.attribyte.api.http.ClientOptions.Builder
-
- getContentType() - Method in class org.attribyte.api.http.Request
-
Gets the value of the Content-Type header.
- getContentType() - Method in class org.attribyte.api.http.Response
-
Gets the value of the Content-Type header.
- getFirstChild(Element, String) - Static method in class org.attribyte.util.DOMUtil
-
Gets the first child element with the specified name.
- getFollowRedirects() - Method in class org.attribyte.api.http.ClientOptions.Builder
-
- getHeader(String) - Method in class org.attribyte.api.http.Request
-
Gets a header.
- getHeaders() - Method in class org.attribyte.api.http.Request
-
Gets all headers.
- getHeaders() - Method in class org.attribyte.api.http.Response
-
Gets all headers.
- getHeaderValue(String) - Method in class org.attribyte.api.http.Request
-
Gets the first header value.
- getHeaderValue(String) - Method in class org.attribyte.api.http.Response
-
Gets the first header value.
- getHeaderValueList(String) - Method in class org.attribyte.api.http.Request
-
Gets an immutable list of values for a header.
- getHeaderValueList(String) - Method in class org.attribyte.api.http.Response
-
Gets an immutable list of values for a header.
- getHeaderValues(String) - Method in class org.attribyte.api.http.Request
-
Gets all values for a header.
- getHeaderValues(String) - Method in class org.attribyte.api.http.Response
-
Gets all values for a header.
- getHostURL(String) - Static method in class org.attribyte.api.http.Request
-
Gets a URL for the host portion of a URI without decoding.
- getId() - Method in enum org.attribyte.util.EncodingUtil.DeflateStrategy
-
Gets a byte that identifies the strategy.
- getIntProperty(String, int) - Method in class org.attribyte.api.http.ClientOptions
-
Gets an integer property.
- getIntProperty(String, int, int) - Method in class org.attribyte.util.InitUtil
-
Gets a multi-valued integer property.
- getIntProperty(String, int) - Method in class org.attribyte.util.InitUtil
-
Gets a property as an integer.
- getKey() - Method in class org.attribyte.util.Pair
-
Gets the key.
- getLongProperty(String, long) - Method in class org.attribyte.util.InitUtil
-
Gets a property as a long.
- getMaxConnectionsPerDestination() - Method in class org.attribyte.api.http.ClientOptions.Builder
-
- getMaxConnectionsTotal() - Method in class org.attribyte.api.http.ClientOptions.Builder
-
- getMethod() - Method in class org.attribyte.api.http.Request
-
Gets the HTTP method.
- getName() - Method in class org.attribyte.api.http.Header
-
Gets the name.
- getName() - Method in class org.attribyte.api.http.Parameter
-
Gets the name.
- getParameters() - Method in class org.attribyte.api.http.Request
-
Gets all parameters.
- getParameterValue(String) - Method in class org.attribyte.api.http.Request
-
Gets the first parameter value.
- getParameterValueList(String) - Method in class org.attribyte.api.http.Request
-
Gets an immutable list of values for a parameter.
- getParameterValues(String) - Method in class org.attribyte.api.http.Request
-
Gets all values for a parameter.
- getPathComponents() - Method in class org.attribyte.api.http.Request
-
Gets the components of the path (separated by '/').
- getPathComponents(String) - Static method in class org.attribyte.api.http.Request
-
Gets the components of the path (separated by '/').
- getProperties() - Method in class org.attribyte.util.InitUtil
-
Gets new properties containing only those that begin with the initialized prefix.
- getProperty(String, String) - Method in class org.attribyte.api.http.ClientOptions
-
Gets a property.
- getProperty(String) - Method in class org.attribyte.util.InitUtil
-
Gets a property.
- getProperty(String, String) - Method in class org.attribyte.util.InitUtil
-
Gets a property.
- getProperty(String, int, String) - Method in class org.attribyte.util.InitUtil
-
Gets a multi-valued property.
- getProps() - Method in class org.attribyte.api.http.ClientOptions.Builder
-
- getProxyHost() - Method in class org.attribyte.api.http.ClientOptions.Builder
-
- getProxyPort() - Method in class org.attribyte.api.http.ClientOptions.Builder
-
- getQueryString() - Method in class org.attribyte.api.http.Request
-
Gets the decoded query string.
- getRawQueryString() - Method in class org.attribyte.api.http.Request
-
Gets the raw query string, without decoding.
- getRealm() - Method in class org.attribyte.api.http.AuthScheme
-
Gets the realm.
- getRemoteAddr() - Method in class org.attribyte.api.http.Request
-
Gets the IP address of the client that sent the request.
- getRequestBufferSize() - Method in class org.attribyte.api.http.ClientOptions.Builder
-
- GetRequestBuilder - Class in org.attribyte.api.http
-
Builds immutable HTTP GET requests.
- GetRequestBuilder(String, Map) - Constructor for class org.attribyte.api.http.GetRequestBuilder
-
Creates a GET request builder with URI parsed from a string and
pre-parsed parameters.
- GetRequestBuilder(String, boolean) - Constructor for class org.attribyte.api.http.GetRequestBuilder
-
Creates a GET request builder with URI parsed from a string with parameter case-sensitivity specified.
- GetRequestBuilder(URI, boolean) - Constructor for class org.attribyte.api.http.GetRequestBuilder
-
Creates a GET request builder with parameter case-sensitivity specified.
- GetRequestBuilder(String) - Constructor for class org.attribyte.api.http.GetRequestBuilder
-
Creates a GET request builder with URI parsed from a string.
- GetRequestBuilder(URI) - Constructor for class org.attribyte.api.http.GetRequestBuilder
-
Creates a GET request builder.
- getRequestPath() - Method in class org.attribyte.api.http.Request
-
Gets the path component of the request URI.
- getRequestPath(String) - Static method in class org.attribyte.api.http.Request
-
Gets the path component of a URI.
- getRequestTimeoutMillis() - Method in class org.attribyte.api.http.ClientOptions.Builder
-
- getRequestURI(Request) - Static method in class org.attribyte.api.http.impl.servlet.Bridge
-
Per the servlet API definition: Returns the part of the request URL
from the protocol name up to the query string in the first line of the HTTP request.
- getRequestURL(Request) - Static method in class org.attribyte.api.http.impl.servlet.Bridge
-
Per the servlet API definition: returns the original request, excluding the query string.
- getResponseBufferSize() - Method in class org.attribyte.api.http.ClientOptions.Builder
-
- getScheme() - Method in class org.attribyte.api.http.AuthScheme
-
Gets the scheme.
- getServerName() - Method in class org.attribyte.api.http.Request
-
Gets the server name (as specified in the Host header.
- getSocketTimeoutMillis() - Method in class org.attribyte.api.http.ClientOptions.Builder
-
- getStatusCode() - Method in class org.attribyte.api.http.Response
-
Gets the HTTP response code.
- getTimeProperty(String, int) - Method in class org.attribyte.api.http.ClientOptions
-
Gets a time (string) property as milliseconds.
- getType(File) - Static method in class org.attribyte.util.MimeTypes
-
Gets the type for a file based on the extension.
- getType(File, String) - Static method in class org.attribyte.util.MimeTypes
-
Gets the type for a file based on the extension.
- getUnauthorizedResponse(String) - Method in class org.attribyte.api.http.AuthScheme
-
Creates a challenge response.
- getURI() - Method in class org.attribyte.api.http.Request
-
Gets the URI.
- getUserAgent() - Method in class org.attribyte.api.http.ClientOptions.Builder
-
- getUserId(Request) - Method in class org.attribyte.api.http.AuthScheme
-
Gets the user id from the request, if possible.
- getUserId(Request) - Method in class org.attribyte.api.http.impl.BasicAuthScheme
-
- getValue() - Method in class org.attribyte.api.http.Header
-
Gets the first value.
- getValue() - Method in class org.attribyte.api.http.Parameter
-
Gets the first value.
- getValue() - Method in class org.attribyte.util.Pair
-
Gets the value.
- getValueList() - Method in class org.attribyte.api.http.Header
-
Gets an immutable list of values.
- getValueList() - Method in class org.attribyte.api.http.Parameter
-
Gets an immutable list of values.
- getValues() - Method in class org.attribyte.api.http.Header
-
Gets all the values.
- getValues() - Method in class org.attribyte.api.http.Parameter
-
Gets all the values.
- hasContent(String) - Static method in class org.attribyte.util.StringUtil
-
- hasCredentials(Request) - Method in class org.attribyte.api.http.AuthScheme
-
Determines if the request has any (invalid or valid) credentials for this scheme.
- hasCredentials(Request) - Method in class org.attribyte.api.http.impl.BasicAuthScheme
-
- hashCode() - Method in class org.attribyte.api.http.AuthScheme
-
- hasProperty(String) - Method in class org.attribyte.util.InitUtil
-
Determine if a non-empty property exists.
- Header - Class in org.attribyte.api.http
-
An immutable HTTP request or response header.
- Header(String, String) - Constructor for class org.attribyte.api.http.Header
-
Creates a single-valued header.
- Header(String, String[]) - Constructor for class org.attribyte.api.http.Header
-
Creates a multi-valued header from an array of values.
- Header(String, Collection<String>) - Constructor for class org.attribyte.api.http.Header
-
Creates a multi-valued header from a collection of values.
- headers - Variable in class org.attribyte.api.http.Request
-
An immutable map of headers.
- headers - Variable in class org.attribyte.api.http.Response
-
An immutable map of headers.
- HeadRequestBuilder - Class in org.attribyte.api.http
-
Builds immutable HTTP HEAD requests.
- HeadRequestBuilder(String, Map) - Constructor for class org.attribyte.api.http.HeadRequestBuilder
-
Creates a HEAD request builder with URI parsed from a string and
pre-parsed parameters.
- HeadRequestBuilder(String, boolean) - Constructor for class org.attribyte.api.http.HeadRequestBuilder
-
Creates a HEAD request builder with URI parsed from a string with parameter case-sensitivity specified.
- HeadRequestBuilder(URI, boolean) - Constructor for class org.attribyte.api.http.HeadRequestBuilder
-
Creates a HEAD request builder with parameter case-sensitivity specified.
- HeadRequestBuilder(String) - Constructor for class org.attribyte.api.http.HeadRequestBuilder
-
Creates a HEAD request builder with URI parsed from a string.
- HeadRequestBuilder(URI) - Constructor for class org.attribyte.api.http.HeadRequestBuilder
-
Creates a HEAD request builder.
- IMPLEMENTATION_DEFAULT - Static variable in class org.attribyte.api.http.ClientOptions
-
Indicates that implementation defaults should be used.
- inflate(byte[]) - Static method in class org.attribyte.util.EncodingUtil
-
Inflate from ZLIB compression.
- inflate(byte[], int, int) - Static method in class org.attribyte.util.EncodingUtil
-
Inflate from ZLIB compression.
- info(String) - Method in class org.attribyte.api.ConsoleLogger
-
- info(String) - Method in interface org.attribyte.api.Logger
-
Logs an info message.
- info(String) - Method in class org.attribyte.api.NOOPLogger
-
- init(String, Properties, Logger) - Method in interface org.attribyte.api.http.Client
-
Initializes the client.
- init(String, Properties, Logger) - Method in class org.attribyte.api.http.impl.commons.Commons3Client
-
- init(String, Properties, Logger) - Method in class org.attribyte.api.http.impl.commons.Commons4Client
-
- init(String, Properties, Logger) - Method in class org.attribyte.api.http.impl.jetty.JettyClient
-
- init(String, Properties, Logger) - Method in class org.attribyte.api.http.impl.ning.NingClient
-
Initialize from properties.
- initClass(String, Class<?>) - Method in class org.attribyte.util.InitUtil
-
Create an instance of a class.
- initClassList(String, Class<?>) - Method in class org.attribyte.util.InitUtil
-
Creates a list of instances of a class.
- InitializationException - Exception in org.attribyte.api
-
An exception raised when component initialization fails.
- InitializationException(String) - Constructor for exception org.attribyte.api.InitializationException
-
- InitializationException(String, Throwable) - Constructor for exception org.attribyte.api.InitializationException
-
- InitUtil - Class in org.attribyte.util
-
Convenience methods for initializing from properties.
- InitUtil(String, Properties) - Constructor for class org.attribyte.util.InitUtil
-
Creates a properties init util with case-insensitive names.
- InitUtil(String, Properties, boolean) - Constructor for class org.attribyte.util.InitUtil
-
- InvalidURIException - Exception in org.attribyte.api
-
An exception raised when an attempt is made to create an invalid URI.
- InvalidURIException(String) - Constructor for exception org.attribyte.api.InvalidURIException
-
- InvalidURIException(String, Throwable) - Constructor for exception org.attribyte.api.InvalidURIException
-
- InvalidURIException(URISyntaxException) - Constructor for exception org.attribyte.api.InvalidURIException
-
- isAllowed(String, String) - Method in class org.attribyte.api.http.util.RobotsTxt
-
Determine if a user agent is allowed for the specified path.
- isAllowed(String, String, boolean) - Method in class org.attribyte.api.http.util.RobotsTxt
-
Determine if a user agent is allowed for the specified path.
- isAuthorized(AuthScheme, Request) - Method in interface org.attribyte.api.http.Authorizer
-
Determine if a request is authorized.
- isFormEncoded() - Method in class org.attribyte.api.http.Request
-
Determine if the request is encoded as a form application/x-www-form-urlencoded
- isOK(int) - Static method in class org.attribyte.api.http.Response.Code
-
Determines if a response code is "OK".
- isSymlink(File) - Static method in class org.attribyte.util.FileUtil
-
Attempt to determine if a file is a symlink.
- Pair<K,V> - Class in org.attribyte.util
-
A pair of objects.
- Pair(K, V) - Constructor for class org.attribyte.util.Pair
-
Create the key, value pair.
- Parameter - Class in org.attribyte.api.http
-
An immutable HTTP request (query string) parameter.
- Parameter(String, String) - Constructor for class org.attribyte.api.http.Parameter
-
Creates a parameter.
- Parameter(String, String[]) - Constructor for class org.attribyte.api.http.Parameter
-
Creates a multi-valued parameter.
- Parameter(String, Collection<String>) - Constructor for class org.attribyte.api.http.Parameter
-
Creates a multi-valued parameter from a collection of values.
- parameters - Variable in class org.attribyte.api.http.Request
-
An immutable map of parameters.
- parse(String, Client, String, Set<String>, Logger) - Static method in class org.attribyte.api.http.util.RobotsTxt
-
Creates a robots.txt from the standard location (/robots.txt).
- parseBoolean(String, boolean) - Static method in class org.attribyte.util.StringUtil
-
Parse a boolean.
- parseDouble(String, float) - Static method in class org.attribyte.util.StringUtil
-
Parse a double.
- parseFloat(String, float) - Static method in class org.attribyte.util.StringUtil
-
Parse a float.
- parseInt(String, int) - Static method in class org.attribyte.util.StringUtil
-
Parse an integer.
- parseLong(String, long) - Static method in class org.attribyte.util.StringUtil
-
Parse a long.
- parseParameters(String) - Static method in class org.attribyte.api.http.Header
-
Parses ';' separated parameters in a header value.
- parseParameters(String) - Static method in class org.attribyte.api.http.Request
-
Parse parameters from a query string.
- parseParameters(String, boolean) - Static method in class org.attribyte.api.http.Request
-
Parse parameters from a query string.
- parseParametersPreserveNameCase(String) - Static method in class org.attribyte.api.http.Request
-
Parse parameters from a query string, preserving case in parameter names.
- PostRequestBuilder - Class in org.attribyte.api.http
-
Builds immutable HTTP POST requests.
- PostRequestBuilder(String, byte[]) - Constructor for class org.attribyte.api.http.PostRequestBuilder
-
Creates a POST request builder with a parsed URI.
- PostRequestBuilder(URI, byte[]) - Constructor for class org.attribyte.api.http.PostRequestBuilder
-
Creates a POST request builder.
- PostRequestBuilder(String, ByteString) - Constructor for class org.attribyte.api.http.PostRequestBuilder
-
Creates a POST request builder with a parsed URI and
the body specified as a ByteString.
- PostRequestBuilder(URI, ByteString) - Constructor for class org.attribyte.api.http.PostRequestBuilder
-
Creates a POST request builder and
the body specified as a ByteString.
- props - Variable in class org.attribyte.util.CLI
-
The properties.
- proxyHost - Variable in class org.attribyte.api.http.ClientOptions
-
A proxy server.
- proxyPort - Variable in class org.attribyte.api.http.ClientOptions
-
The proxy server port.
- putHeaders(Collection<Header>) - Method in class org.attribyte.api.http.ResponseBuilder
-
Adds a collection of headers.
- PutRequestBuilder - Class in org.attribyte.api.http
-
Builds immutable HTTP PUT requests.
- PutRequestBuilder(String, byte[]) - Constructor for class org.attribyte.api.http.PutRequestBuilder
-
Creates a PUT request builder with a parsed URI.
- PutRequestBuilder(URI, byte[]) - Constructor for class org.attribyte.api.http.PutRequestBuilder
-
Creates a PUT request builder.
- PutRequestBuilder(String, ByteString) - Constructor for class org.attribyte.api.http.PutRequestBuilder
-
Creates a PUT request builder with a parsed URI
and the body specified as a ByteString.
- PutRequestBuilder(URI, ByteString) - Constructor for class org.attribyte.api.http.PutRequestBuilder
-
Creates a PUT request builder
and the body specified as a ByteString.
- randomString(int) - Static method in class org.attribyte.util.StringUtil
-
Gets a string of random characters.
- realm - Variable in class org.attribyte.api.http.AuthScheme
-
- recode(String) - Method in class org.attribyte.util.URIEncoder
-
Decodes all non-reserved characters in a URL.
- recode(URI) - Static method in class org.attribyte.util.URIEncoder
-
Recodes a URI.
- recodeQueryString(String) - Static method in class org.attribyte.util.URIEncoder
-
Recodes a query string.
- recodeURL(String) - Static method in class org.attribyte.util.URIEncoder
-
Decodes all non-reserved characters in a URL,
then recodes the components.
- REMOTE_ADDR - Static variable in class org.attribyte.api.http.Request
-
The name of an attribute that may hold the remote address.
- Request - Class in org.attribyte.api.http
-
An immutable HTTP request.
- Request.Method - Enum in org.attribyte.api.http
-
The HTTP methods.
- requestBufferSize - Variable in class org.attribyte.api.http.ClientOptions
-
The request buffer size (4096).
- RequestBuilder - Class in org.attribyte.api.http
-
Builds HTTP requests.
- RequestBuilderWithParameters - Class in org.attribyte.api.http
-
Builds HTTP requests that allow parameters.
- RequestOptions - Class in org.attribyte.api.http
-
Request-specific options.
- RequestOptions(boolean, int, int) - Constructor for class org.attribyte.api.http.RequestOptions
-
Creates request options.
- requestTimeoutMillis - Variable in class org.attribyte.api.http.ClientOptions
-
The maximum amount of time to wait for a response after sending a request (5s).
- Response - Class in org.attribyte.api.http
-
An immutable HTTP response.
- Response(int, Map<?, ?>) - Constructor for class org.attribyte.api.http.Response
-
Creates a response.
- Response(int, Map<?, ?>, Map<String, Object>) - Constructor for class org.attribyte.api.http.Response
-
Creates a response with attributes.
- Response.Code - Class in org.attribyte.api.http
-
Common HTTP response codes.
- responseBufferSize - Variable in class org.attribyte.api.http.ClientOptions
-
The response buffer size (16384).
- ResponseBuilder - Class in org.attribyte.api.http
-
Builds immutable HTTP responses.
- ResponseBuilder() - Constructor for class org.attribyte.api.http.ResponseBuilder
-
Creates a response builder.
- ResponseBuilder(int) - Constructor for class org.attribyte.api.http.ResponseBuilder
-
Creates a response builder with a response code.
- ResponseBuilder(int, byte[]) - Constructor for class org.attribyte.api.http.ResponseBuilder
-
Creates a response builder with a response code and body as bytes.
- ResponseBuilder(int, String) - Constructor for class org.attribyte.api.http.ResponseBuilder
-
Creates a response builder with a response code and body as a string.
- ResponseBuilder(int, ByteSource) - Constructor for class org.attribyte.api.http.ResponseBuilder
-
Creates a response builder with a response code and body as a ByteSource.
- RobotsTxt - Class in org.attribyte.api.http.util
-
A parsed robots.txt file.
- RobotsTxt(Reader, Set<String>) - Constructor for class org.attribyte.api.http.util.RobotsTxt
-