- EhCacheFactoryBean - Class in org.craftercms.commons.cache
-
Spring FactoryBean
used to create EhCache caches as beans.
- EhCacheFactoryBean() - Constructor for class org.craftercms.commons.cache.EhCacheFactoryBean
-
- Email - Interface in org.craftercms.commons.mail
-
Represents an email (possibly with from, to, body, etc., depending of the implementation).
- EMAIL_PATTERN - Static variable in class org.craftercms.commons.mail.EmailUtils
-
- EmailAddressException - Exception in org.craftercms.commons.mail
-
Thrown when an email address in wrong format is encountered.
- EmailAddressException(Throwable) - Constructor for exception org.craftercms.commons.mail.EmailAddressException
-
- EmailException - Exception in org.craftercms.commons.mail
-
Thrown when an email can't be sent for some reason.
- EmailException(String, Object...) - Constructor for exception org.craftercms.commons.mail.EmailException
-
- EmailException(String, Throwable, Object...) - Constructor for exception org.craftercms.commons.mail.EmailException
-
- EmailFactory - Interface in org.craftercms.commons.mail
-
Factory for creating
Email
s.
- EmailFactoryImpl - Class in org.craftercms.commons.mail.impl
-
- EmailFactoryImpl() - Constructor for class org.craftercms.commons.mail.impl.EmailFactoryImpl
-
- EmailImpl - Class in org.craftercms.commons.mail.impl
-
Default implementation of
Email
, which uses Spring Mail to send a message.
- EmailImpl(JavaMailSender, MimeMessage) - Constructor for class org.craftercms.commons.mail.impl.EmailImpl
-
- EmailPreparationException - Exception in org.craftercms.commons.mail
-
Thrown when an email message couldn't be prepared properly.
- EmailPreparationException(Throwable) - Constructor for exception org.craftercms.commons.mail.EmailPreparationException
-
- EmailSendException - Exception in org.craftercms.commons.mail
-
Thrown when an email couldn't be sent for some reason.
- EmailSendException(Throwable) - Constructor for exception org.craftercms.commons.mail.EmailSendException
-
- EmailUtils - Class in org.craftercms.commons.mail
-
Utility methods for email related stuff.
- ENCODE - Static variable in class org.craftercms.commons.crypto.Base64
-
Deprecated.
Specify encoding.
- encodeBytes(byte[]) - Static method in class org.craftercms.commons.crypto.Base64
-
Deprecated.
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int) - Static method in class org.craftercms.commons.crypto.Base64
-
Deprecated.
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int, int) - Static method in class org.craftercms.commons.crypto.Base64
-
Deprecated.
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int, int, int) - Static method in class org.craftercms.commons.crypto.Base64
-
Deprecated.
Encodes a byte array into Base64 notation.
- encodeFileToFile(String, String) - Static method in class org.craftercms.commons.crypto.Base64
-
Deprecated.
Reads infile and encodes it to outfile.
- encodeFromFile(String) - Static method in class org.craftercms.commons.crypto.Base64
-
Deprecated.
Convenience method for reading a binary file
and base64-encoding it.
- encodeObject(Serializable) - Static method in class org.craftercms.commons.crypto.Base64
-
Deprecated.
Serializes an object and returns the Base64-encoded
version of that serialized object.
- encodeObject(Serializable, int) - Static method in class org.craftercms.commons.crypto.Base64
-
Deprecated.
Serializes an object and returns the Base64-encoded
version of that serialized object.
- encodeToFile(byte[], String) - Static method in class org.craftercms.commons.crypto.Base64
-
Deprecated.
Convenience method for encoding data to a file.
- encrypt(String) - Method in class org.craftercms.commons.crypto.impl.AesTextEncryptor
-
- encrypt(String) - Method in class org.craftercms.commons.crypto.impl.NoOpTextEncryptor
-
- encrypt(byte[]) - Method in class org.craftercms.commons.crypto.SimpleAesCipher
-
Deprecated.
- encrypt(byte[]) - Method in class org.craftercms.commons.crypto.SimpleCipher
-
- encrypt(String) - Method in interface org.craftercms.commons.crypto.TextEncryptor
-
Encrypts the specified clear text.
- encryptBase64(String) - Method in class org.craftercms.commons.crypto.SimpleCipher
-
- error(String, Object...) - Method in class org.craftercms.commons.i10n.I10nLogger
-
- error(String, Throwable, Object...) - Method in class org.craftercms.commons.i10n.I10nLogger
-
- ERROR_KEY_DEC_ERROR - Static variable in class org.craftercms.commons.crypto.SimpleCipher
-
- ERROR_KEY_ENC_ERROR - Static variable in class org.craftercms.commons.crypto.SimpleCipher
-
- ERROR_KEY_GET_KEY_ERROR - Static variable in class org.craftercms.commons.crypto.impl.SecretKeyRepositoryImpl
-
- ERROR_KEY_INVALID_ALG - Static variable in class org.craftercms.commons.crypto.SimpleDigest
-
- ERROR_KEY_IV_NOT_SET - Static variable in class org.craftercms.commons.crypto.SimpleCipher
-
- ERROR_KEY_KEY_NOT_SET - Static variable in class org.craftercms.commons.crypto.SimpleCipher
-
- ERROR_KEY_KEY_STORE_LOAD_ERROR - Static variable in class org.craftercms.commons.crypto.impl.SecretKeyRepositoryImpl
-
- ERROR_KEY_KEY_STORE_STORE_ERROR - Static variable in class org.craftercms.commons.crypto.impl.SecretKeyRepositoryImpl
-
- ERROR_KEY_SAVE_KEY_ERROR - Static variable in class org.craftercms.commons.crypto.impl.SecretKeyRepositoryImpl
-
- ERROR_KEY_TEMPLATE_CONFIG_MISSING - Static variable in class org.craftercms.commons.mail.impl.EmailFactoryImpl
-
- errorDetails - Variable in exception org.craftercms.commons.rest.RestServiceException
-
- errorResponseType - Variable in class org.craftercms.commons.rest.RestTemplate
-
- Exclude - Annotation Type in org.craftercms.commons.jackson.mvc.annotations
-
Exclude (Suppress) the Annotated field from been process it will be ignore.
- extension - Variable in class org.craftercms.commons.rest.AbstractRestClientBase
-
- GDataPropertyFilter - Class in org.craftercms.commons.jackson.mvc
-
A Gdata like property filter (aka selector) gets the information from .
- GDataPropertyFilter() - Constructor for class org.craftercms.commons.jackson.mvc.GDataPropertyFilter
-
- generateAesIv() - Static method in class org.craftercms.commons.crypto.CipherUtils
-
Generates a random initialization vector for an AES cipher.
- generateAesKey() - Static method in class org.craftercms.commons.crypto.CipherUtils
-
Generates a random AES encryption key.
- generateKey(String) - Static method in class org.craftercms.commons.crypto.CipherUtils
-
Generates a random encryption key.
- generateRandomBytes(int) - Static method in class org.craftercms.commons.crypto.CryptoUtils
-
Generates a random array of bytes, using the singleton
SecureRandom
.
- get(String) - Method in class org.craftercms.commons.properties.OverrideProperties
-
Gets the Query with the given name.
- getAbsoluteUrl(String) - Method in class org.craftercms.commons.rest.AbstractRestClientBase
-
- getAcceptableMediaTypes(HttpServletRequest) - Method in class org.craftercms.commons.rest.HttpMessageConvertingResponseWriter
-
Return the acceptable media types from the request.
- getActualLogger() - Method in class org.craftercms.commons.i10n.I10nLogger
-
- getAllSupportedMediaTypes(List<HttpMessageConverter<?>>) - Method in class org.craftercms.commons.rest.HttpMessageConvertingResponseWriter
-
Return the media types supported by all provided message converters sorted by specificity via
MediaType.sortBySpecificity(List)
.
- getBase64Salt() - Method in class org.craftercms.commons.crypto.SimpleDigest
-
- getBaseRequestUrl(HttpServletRequest, boolean) - Static method in class org.craftercms.commons.http.HttpUtils
-
Returns the portion from the URL that includes the scheme, server name and port number, without the server
path.
- getCipher() - Method in class org.craftercms.commons.crypto.SimpleCipher
-
- getCookie(String, HttpServletRequest) - Static method in class org.craftercms.commons.http.HttpUtils
-
Returns the cookie with the given name for the given request
- getCookieValue(String, HttpServletRequest) - Static method in class org.craftercms.commons.http.HttpUtils
-
Returns the cookie value with the given name for the given request
- getCurrent() - Static method in class org.craftercms.commons.http.RequestContext
-
Returns the context for the current thread.
- getDigest() - Method in class org.craftercms.commons.crypto.SimpleDigest
-
- getEmail(String, String[], String[], String[], String, String, boolean) - Method in interface org.craftercms.commons.mail.EmailFactory
-
- getEmail(String, String[], String[], String[], String, String, Object, boolean) - Method in interface org.craftercms.commons.mail.EmailFactory
-
- getEmail(String, String[], String[], String[], String, String, boolean) - Method in class org.craftercms.commons.mail.impl.EmailFactoryImpl
-
- getEmail(String, String[], String[], String[], String, String, Object, boolean) - Method in class org.craftercms.commons.mail.impl.EmailFactoryImpl
-
- getErrorDetails() - Method in exception org.craftercms.commons.rest.RestServiceException
-
- getFilterName() - Method in class org.craftercms.commons.jackson.mvc.AbstractCrafterPropertyFilter
-
- getFilterName() - Method in class org.craftercms.commons.jackson.mvc.GDataPropertyFilter
-
- getFullUrl(HttpServletRequest, String) - Static method in class org.craftercms.commons.http.HttpUtils
-
Returns the full URL for the relative URL based in the specified request.
- getIterations() - Method in class org.craftercms.commons.crypto.SimpleDigest
-
- getIv() - Method in class org.craftercms.commons.crypto.SimpleCipher
-
- getJsonPrefix() - Method in class org.craftercms.commons.jackson.mvc.CrafterJackson2MessageConverter
-
- getKey(String, boolean) - Method in class org.craftercms.commons.crypto.impl.SecretKeyRepositoryImpl
-
- getKey(String, boolean) - Method in interface org.craftercms.commons.crypto.SecretKeyRepository
-
Returns the secret key for the specified key name
- getKey() - Method in class org.craftercms.commons.crypto.SimpleCipher
-
- getLocalizedMessage(String, Object...) - Method in class org.craftercms.commons.i10n.I10nLogger
-
- getLocalizedMessage(ResourceBundle, String, Object...) - Static method in class org.craftercms.commons.i10n.I10nUtils
-
Returns a formatted, localized message according to the specified resource bundle and key.
- getMessage() - Method in exception org.craftercms.commons.i10n.AbstractI10nException
-
- getMessage() - Method in exception org.craftercms.commons.i10n.AbstractI10nRuntimeException
-
- getMessageConverters() - Method in class org.craftercms.commons.rest.HttpMessageConvertingResponseErrorHandler
-
- getMostSpecificMediaType(MediaType, MediaType) - Method in class org.craftercms.commons.rest.HttpMessageConvertingResponseWriter
-
Return the more specific of the acceptable and the producible media types with the q-value of the former.
- getMostSuperClassName(Class<?>) - Method in class org.craftercms.commons.jackson.mvc.GDataPropertyFilter
-
- getObject() - Method in class org.craftercms.commons.cache.EhCacheFactoryBean
-
- getObject() - Method in class org.craftercms.commons.crypto.SecretKeyFactoryBean
-
- getObjectFor(Class<T>, Object, String, Object) - Method in interface org.craftercms.commons.jackson.mvc.annotations.InjectValueFactory
-
- getObjectType() - Method in class org.craftercms.commons.cache.EhCacheFactoryBean
-
- getObjectType() - Method in class org.craftercms.commons.crypto.SecretKeyFactoryBean
-
- getObjectType() - Method in class org.craftercms.commons.jackson.mvc.SelectorFilterFactory
-
- getProducibleMediaTypes(Class<?>) - Method in class org.craftercms.commons.rest.HttpMessageConvertingResponseWriter
-
Returns the media types that can be produced:
Media types of configured converters that can write the specific return value, or
MediaType.ALL
- getRequest() - Method in class org.craftercms.commons.http.RequestContext
-
- getRequestUriWithoutContextPath(HttpServletRequest) - Static method in class org.craftercms.commons.http.HttpUtils
-
Returns the request URI without the context path.
- getResourceBundle() - Method in exception org.craftercms.commons.crypto.CryptoException
-
- getResourceBundle() - Method in exception org.craftercms.commons.i10n.AbstractI10nException
-
- getResourceBundle() - Method in exception org.craftercms.commons.i10n.AbstractI10nRuntimeException
-
- getResourceBundle() - Method in exception org.craftercms.commons.mail.EmailException
-
- getResponse() - Method in class org.craftercms.commons.http.RequestContext
-
- getResponseBodyAsString(ClientHttpResponse) - Method in class org.craftercms.commons.rest.HttpMessageConvertingResponseErrorHandler
-
- getResponseStatus() - Method in exception org.craftercms.commons.rest.RestServiceException
-
- getResponseType() - Method in class org.craftercms.commons.rest.HttpMessageConvertingResponseErrorHandler
-
- getSalt() - Method in class org.craftercms.commons.crypto.SimpleDigest
-
- GZIP - Static variable in class org.craftercms.commons.crypto.Base64
-
Deprecated.
Specify that data should be gzip-compressed.