Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractView - Class in net.solarnetwork.web.support
-
Extension of
AbstractViewthat preserves model attribute ordering and supports serializing model properties with aPropertySerializerRegistrar. - AbstractView() - Constructor for class net.solarnetwork.web.support.AbstractView
- afterHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Exception) - Method in class net.solarnetwork.web.support.RequestInfoHandshakeInterceptor
- augmentResponse(Writer) - Method in interface net.solarnetwork.web.support.ViewResponseAugmentor
-
Augment the response in some way.
- AUTH_TOKEN_ID_LENGTH - Static variable in class net.solarnetwork.web.security.AuthenticationData
-
The fixed length of a SolarNetwork authentication token ID.
- AuthenticationData - Class in net.solarnetwork.web.security
-
Abstract base class for parsing and exposing the authentication data included in a HTTP authentication header.
- AuthenticationData(AuthenticationScheme, SecurityHttpServletRequestWrapper, String) - Constructor for class net.solarnetwork.web.security.AuthenticationData
-
Constructor.
- AuthenticationDataFactory - Class in net.solarnetwork.web.security
-
Factory for creating
AuthenticationDatainstances. - AuthenticationDataFactory() - Constructor for class net.solarnetwork.web.security.AuthenticationDataFactory
- authenticationDataForAuthorizationHeader(SecurityHttpServletRequestWrapper) - Static method in class net.solarnetwork.web.security.AuthenticationDataFactory
-
Obtain a
AuthenticationDatainstance from a HTTP request. - AuthenticationDataToken - Class in net.solarnetwork.web.security
-
Support for JWT encoded authorization data.
- AuthenticationDataToken(Cookie) - Constructor for class net.solarnetwork.web.security.AuthenticationDataToken
-
Construct from an existing cookie.
- AuthenticationDataToken(AuthenticationData, byte[]) - Constructor for class net.solarnetwork.web.security.AuthenticationDataToken
-
Construct from
AuthenticationData. - AuthenticationDataToken(AuthenticationData, String) - Constructor for class net.solarnetwork.web.security.AuthenticationDataToken
-
Construct from
AuthenticationData. - AuthenticationDataTokenAuthenticationFilter - Class in net.solarnetwork.web.security
-
Authentication filter for
AuthenticationDatastyle token authentication. - AuthenticationDataTokenAuthenticationFilter() - Constructor for class net.solarnetwork.web.security.AuthenticationDataTokenAuthenticationFilter
-
Default constructor.
- AuthenticationDataTokenAuthenticationFilter(UserDetailsService) - Constructor for class net.solarnetwork.web.security.AuthenticationDataTokenAuthenticationFilter
-
Construct with a
UserDetailsService. - AuthenticationDataTokenChannelInterceptor - Class in net.solarnetwork.web.security
-
Authentication filter for
AuthenticationDatastyle token authentication on a STOMP message channel. - AuthenticationDataTokenChannelInterceptor(UserDetailsService) - Constructor for class net.solarnetwork.web.security.AuthenticationDataTokenChannelInterceptor
-
Constructor.
- AuthenticationDataV1 - Class in net.solarnetwork.web.security
-
Original HMAC-SHA1 authentication token scheme.
- AuthenticationDataV1(SecurityHttpServletRequestWrapper, String) - Constructor for class net.solarnetwork.web.security.AuthenticationDataV1
-
Constructor.
- AuthenticationDataV2 - Class in net.solarnetwork.web.security
-
Version 2 authentication token scheme based on HMAC-SHA256.
- AuthenticationDataV2(SecurityHttpServletRequestWrapper, String) - Constructor for class net.solarnetwork.web.security.AuthenticationDataV2
-
Constructor.
- AuthenticationDataV2(SecurityHttpServletRequestWrapper, String, String) - Constructor for class net.solarnetwork.web.security.AuthenticationDataV2
-
Constructor.
- AuthenticationScheme - Enum Class in net.solarnetwork.web.security
-
Authentication scheme constants.
- AuthenticationUtils - Class in net.solarnetwork.web.security
-
Utility methods for authentication support.
- AuthenticationUtils() - Constructor for class net.solarnetwork.web.security.AuthenticationUtils
- AuthorizationCredentialsProvider - Interface in net.solarnetwork.web.security
-
API for a provider of authorization credentials.
- AuthorizationV2RequestInterceptor - Class in net.solarnetwork.web.support
-
Interceptor to add an Authorization HTTP header using the SNWS2 scheme.
- AuthorizationV2RequestInterceptor(AuthorizationCredentialsProvider) - Constructor for class net.solarnetwork.web.support.AuthorizationV2RequestInterceptor
-
Constructor.
B
- beforeHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Map<String, Object>) - Method in class net.solarnetwork.web.support.RequestInfoHandshakeInterceptor
-
Populate request information as session attributes.
C
- CLAIM_EXPIRES - Static variable in class net.solarnetwork.web.security.AuthenticationDataToken
-
The payload key for the token expiration date claim.
- CLAIM_ISSUED_AT - Static variable in class net.solarnetwork.web.security.AuthenticationDataToken
-
The payload key for the token issue date.
- CLAIM_SUBJECT - Static variable in class net.solarnetwork.web.security.AuthenticationDataToken
-
The payload key for the token subject.
- computeMACDigest(byte[], byte[], String) - Static method in class net.solarnetwork.web.security.AuthenticationUtils
-
Compute a Base64 MAC digest from signature data.
- computeMACDigest(byte[], String, String) - Static method in class net.solarnetwork.web.security.AuthenticationUtils
-
Compute a Base64 MAC digest from signature data.
- computeMACDigest(String, String) - Method in class net.solarnetwork.web.security.AuthenticationData
-
Compute a Base64 MAC digest from the signature data.
- computeMACDigest(String, String, String) - Static method in class net.solarnetwork.web.security.AuthenticationUtils
-
Compute a Base64 MAC digest from signature data.
- computeSignatureDigest(String) - Method in class net.solarnetwork.web.security.AuthenticationData
-
Compute the signature digest from the request data and a given secret key.
- computeSignatureDigest(String) - Method in class net.solarnetwork.web.security.AuthenticationDataV1
- computeSignatureDigest(String) - Method in class net.solarnetwork.web.security.AuthenticationDataV2
- computeSignatureDigest(String, Instant) - Method in class net.solarnetwork.web.security.AuthenticationDataV2
-
Compute the signature digest, using a specific signing date.
- COOKIE_NAME_AUTH_TOKEN - Static variable in class net.solarnetwork.web.security.AuthenticationDataTokenAuthenticationFilter
-
The name of the cookie used for cookie based tokens.
- cookieValue() - Method in class net.solarnetwork.web.security.AuthenticationDataToken
-
Get a value suitable for storing on a
Cookiefrom the token data.
D
- DEFAULT_COMPRESSIBLE_CONTENT_PATTERN - Static variable in class net.solarnetwork.web.security.SecurityHttpServletRequestWrapper
-
The
compressibleContentTypePatternproperty default value. - DEFAULT_CSV_CONTENT_TYPE - Static variable in class net.solarnetwork.web.support.SimpleCsvView
-
Default content type.
- DEFAULT_DATA_MODEL_KEY - Static variable in class net.solarnetwork.web.support.SimpleCsvView
-
The default value for the
dataModelKeyproperty. - DEFAULT_FIELD_ORDER_KEY - Static variable in class net.solarnetwork.web.support.SimpleCsvView
-
The default value for the
fieldOrderKeyproperty. - DEFAULT_JAVA_BEAN_IGNORE_PROPERTIES - Static variable in class net.solarnetwork.web.support.AbstractView
-
The default value for the
javaBeanIgnorePropertiesproperty. - DEFAULT_JAVA_BEAN_IGNORE_PROPERTIES - Static variable in class net.solarnetwork.web.support.SimpleCsvHttpMessageConverter
-
The default value for the
javaBeanIgnorePropertiesproperty. - DEFAULT_JAVA_BEAN_STRING_VALUES - Static variable in class net.solarnetwork.web.support.AbstractView
-
The default value for the
javaBeanTreatAsStringValuesproperty. - DEFAULT_JAVA_BEAN_STRING_VALUES - Static variable in class net.solarnetwork.web.support.SimpleCsvHttpMessageConverter
-
The default value for the
javaBeanTreatAsStringValuesproperty. - DEFAULT_MINIMUM_COMPRESS_LENGTH - Static variable in class net.solarnetwork.web.security.SecurityHttpServletRequestWrapper
-
The
minimumCompressLengthproperty default value. - DEFAULT_MINIMUM_SPOOL_LENGTH - Static variable in class net.solarnetwork.web.security.SecurityHttpServletRequestWrapper
-
The
minimumSpoolLengthproperty default value. - DEFAULT_ROOT_ELEMENT_NAME - Static variable in class net.solarnetwork.web.support.SimpleXmlView
-
The
rootElementNameproperty default value. - DEFAULT_THEME_PATH_VARIABLE - Static variable in class net.solarnetwork.web.support.UrlPathThemeResolver
-
Default value for the
UrlPathThemeResolver.themePathVariableproperty. - DEFAULT_XML_CONTENT_TYPE - Static variable in class net.solarnetwork.web.support.SimpleXmlHttpMessageConverter
-
Default content type.
- DEFAULT_XML_CONTENT_TYPE - Static variable in class net.solarnetwork.web.support.SimpleXmlView
-
Default content type.
- deleteCachedContent() - Method in class net.solarnetwork.web.security.SecurityHttpServletRequestWrapper
-
Immediately delete any cached request body content.
- destroy() - Method in class net.solarnetwork.web.support.ResponseHeaderFilter
- DigestAlgorithm - Enum Class in net.solarnetwork.web.security
-
Supported algorithms for the HTTP
Digestheader. - doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class net.solarnetwork.web.support.ResponseHeaderFilter
- doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class net.solarnetwork.web.security.AuthenticationDataTokenAuthenticationFilter
E
- EMPTY_STRING_SHA256_HEX - Static variable in class net.solarnetwork.web.security.WebConstants
-
The hex-encoded SHA256 value of an empty string.
- executePingTest() - Method in class net.solarnetwork.web.support.PingController
-
Execute all available ping tests, returning JSON.
- executePingTest(Model) - Method in class net.solarnetwork.web.support.PingController
-
Execute all available ping tests, returning HTML.
- EXPLICIT_HOST_PROP - Static variable in class net.solarnetwork.web.security.AuthenticationDataFactory
-
The system property name of an "explicit" HTTP Host header value to use for authentication signature calculation.
F
- forAlgorithmName(String) - Static method in enum class net.solarnetwork.web.security.DigestAlgorithm
-
Get a
DigestAlgorithmfor a given algorithm name.
G
- getAlgorithmName() - Method in enum class net.solarnetwork.web.security.DigestAlgorithm
-
Get the header algorithm name associated with the digest.
- getAuthorizationId() - Method in interface net.solarnetwork.web.security.AuthorizationCredentialsProvider
-
Get the authorization identifier.
- getAuthorizationId() - Method in class net.solarnetwork.web.support.StaticAuthorizationCredentialsProvider
- getAuthorizationSecret() - Method in interface net.solarnetwork.web.security.AuthorizationCredentialsProvider
-
Get the authorization secret.
- getAuthorizationSecret() - Method in class net.solarnetwork.web.support.StaticAuthorizationCredentialsProvider
- getAuthorizationSigningDate() - Method in interface net.solarnetwork.web.security.AuthorizationCredentialsProvider
-
Get the pre-computed signing key sign date.
- getAuthorizationSigningDate() - Method in class net.solarnetwork.web.support.StaticAuthorizationCredentialsProvider
- getAuthorizationSigningKey() - Method in interface net.solarnetwork.web.security.AuthorizationCredentialsProvider
-
Get a pre-computed signing key.
- getAuthorizationSigningKey() - Method in class net.solarnetwork.web.support.StaticAuthorizationCredentialsProvider
- getAuthTokenId() - Method in class net.solarnetwork.web.security.AuthenticationData
-
Get the authentication token ID.
- getAuthTokenId() - Method in class net.solarnetwork.web.security.AuthenticationDataV1
- getAuthTokenId() - Method in class net.solarnetwork.web.security.AuthenticationDataV2
- getBeans() - Method in class net.solarnetwork.web.support.ServletContextBeanInjector
-
Get the beans.
- getClassNamesAllowedForNesting() - Method in class net.solarnetwork.web.support.SimpleXmlHttpMessageConverter
-
Get the class names allowed for nesting.
- getClassNamesAllowedForNesting() - Method in class net.solarnetwork.web.support.SimpleXmlView
-
Get the class names allowed for nesting.
- getContentMD5() - Method in class net.solarnetwork.web.security.SecurityHttpServletRequestWrapper
-
Compute the MD5 hash of the request body.
- getContentSHA1() - Method in class net.solarnetwork.web.security.SecurityHttpServletRequestWrapper
-
Compute the SHA1 hash of the request body.
- getContentSHA256() - Method in class net.solarnetwork.web.security.SecurityHttpServletRequestWrapper
-
Compute the SHA-256 hash of the request body.
- getContentSHA512() - Method in class net.solarnetwork.web.security.SecurityHttpServletRequestWrapper
-
Compute the SHA-512 hash of the request body.
- getDataModelKey() - Method in class net.solarnetwork.web.support.SimpleCsvView
-
Get the data model key.
- getDate() - Method in class net.solarnetwork.web.security.AuthenticationData
-
Get the date associated with the request.
- getDate() - Method in class net.solarnetwork.web.support.PingController.PingResults
-
Get the date the tests were executed.
- getDateSkew() - Method in class net.solarnetwork.web.security.AuthenticationData
-
Get the date skew (in milliseconds) associated with the request (from the system date).
- getDescription() - Method in class net.solarnetwork.web.support.MultipartFileResource
- getExpires() - Method in class net.solarnetwork.web.security.AuthenticationDataToken
-
Get the expiration date, expressed as seconds since the Unix epoch.
- getFieldOrderKey() - Method in class net.solarnetwork.web.support.SimpleCsvView
-
Get the field order key.
- getFilename() - Method in class net.solarnetwork.web.support.MultipartFileResource
- getIdentity() - Method in class net.solarnetwork.web.security.AuthenticationDataToken
-
Get the identity value, e.g.
- getIndentAmount() - Method in class net.solarnetwork.web.support.JSONView
-
Get the number of spaces to indent (pretty print) the JSON output with.
- getInputStream() - Method in class net.solarnetwork.web.security.SecurityHttpServletRequestWrapper
- getInputStream() - Method in class net.solarnetwork.web.support.MultipartFileResource
- getIssued() - Method in class net.solarnetwork.web.security.AuthenticationDataToken
-
Get the issue date, expressed as seconds since the Unix epoch.
- getJavaBeanIgnoreProperties() - Method in class net.solarnetwork.web.support.AbstractView
-
Get a set of JavaBean properties to ignore for all JavaBeans.
- getJavaBeanIgnoreProperties() - Method in class net.solarnetwork.web.support.SimpleCsvHttpMessageConverter
-
Get the JavaBean properties to ignore.
- getJavaBeanTreatAsStringValues() - Method in class net.solarnetwork.web.support.AbstractView
-
Get the classes to treat as Strings for all JavaBeans.
- getJavaBeanTreatAsStringValues() - Method in class net.solarnetwork.web.support.SimpleCsvHttpMessageConverter
-
Get the JavaBean classes to treat as strings.
- getKeys(Locale) - Method in interface net.solarnetwork.web.support.MessagesSource
-
Get an enumeration of keys.
- getKeys(Locale) - Method in class net.solarnetwork.web.support.ReloadableResourceBundleMessagesSource
- getMessageInternal(String, Object[], Locale) - Method in class net.solarnetwork.web.support.ReloadableResourceBundleMessagesSource
- getModelKey() - Method in class net.solarnetwork.web.support.SimpleXmlView
-
Get a specific model key to render into XML.
- getModelObjectIgnoreTypes() - Method in class net.solarnetwork.web.support.AbstractView
-
Get a set of class types to ignore from the model, and never output in the response.
- getParent() - Method in class net.solarnetwork.web.support.ReloadableResourceBundleMessagesSource
- getPropertyEditorRegistrar() - Method in class net.solarnetwork.web.support.JSONView
-
Get the optional registrar of PropertyEditor instances that can be used to serialize specific objects into String values.
- getPropertySerializerRegistrar() - Method in class net.solarnetwork.web.support.AbstractView
-
Get an optional registrar of PropertySerializer instances that can be used to serialize specific objects into String values.
- getPropertySerializerRegistrar() - Method in class net.solarnetwork.web.support.SimpleCsvHttpMessageConverter
-
Get the property serializer registrar.
- getPropertySerializerRegistrar() - Method in class net.solarnetwork.web.support.SimpleXmlHttpMessageConverter
-
Get the property serializer registrar.
- getResponseCharacterEncoding() - Method in class net.solarnetwork.web.support.AbstractView
-
Get the configured character encoding to use for the response.
- getResults() - Method in class net.solarnetwork.web.support.PingController.PingResults
-
Get a map of test ID to test results.
- getRootElementAugmentor() - Method in class net.solarnetwork.web.support.SimpleXmlView
-
Get the root element response augementor.
- getRootElementName() - Method in class net.solarnetwork.web.support.SimpleXmlView
-
Get the root XML element name to use.
- getScheme() - Method in class net.solarnetwork.web.security.AuthenticationData
-
The scheme of the authentication data.
- getSchemeName() - Method in enum class net.solarnetwork.web.security.AuthenticationScheme
-
Get the scheme name.
- getSignature() - Method in class net.solarnetwork.web.security.AuthenticationDataToken
-
Get the digest signature bytes.
- getSignatureData() - Method in class net.solarnetwork.web.security.AuthenticationData
-
Get the extracted signature data from this request.
- getSignatureData() - Method in class net.solarnetwork.web.security.AuthenticationDataV1
- getSignatureData() - Method in class net.solarnetwork.web.security.AuthenticationDataV2
- getSignatureDigest() - Method in class net.solarnetwork.web.security.AuthenticationData
-
Get the signature digest as presented in the HTTP header value.
- getSignatureDigest() - Method in class net.solarnetwork.web.security.AuthenticationDataV1
- getSignatureDigest() - Method in class net.solarnetwork.web.security.AuthenticationDataV2
- getSignedHeaderNames() - Method in class net.solarnetwork.web.security.AuthenticationDataV2
-
Get the set of signed header names.
- getTests() - Method in class net.solarnetwork.web.support.PingController
-
Get the configured tests.
- getThemePathVariable() - Method in class net.solarnetwork.web.support.UrlPathThemeResolver
-
Get the theme path variable name.
- getXmlOutputFactory() - Method in class net.solarnetwork.web.support.SimpleXmlHttpMessageConverter
-
Get the XML output factory.
H
- HEADER_DATE - Static variable in class net.solarnetwork.web.security.WebConstants
-
A date header, e.g.
- HEADER_ERROR_MESSAGE - Static variable in class net.solarnetwork.web.security.WebConstants
-
An error message header.
- HEADER_PREFIX - Static variable in class net.solarnetwork.web.security.WebConstants
-
The prefix used for all custom HTTP headers.
- HEADER_SIGN_ALG - Static variable in class net.solarnetwork.web.security.AuthenticationDataToken
-
The header key for the signature algorithm type.
- HEADER_TOKEN_TYPE - Static variable in class net.solarnetwork.web.security.AuthenticationDataToken
-
The header key for the token type.
- httpDate(Date) - Static method in class net.solarnetwork.web.security.AuthenticationData
-
Get a HTTP formatted date.
- httpDate(Date) - Static method in class net.solarnetwork.web.security.AuthenticationUtils
-
Get a HTTP formatted date.
I
- init() - Method in class net.solarnetwork.web.support.ServletContextBeanInjector
-
Initialize the ServletContext.
- init(FilterConfig) - Method in class net.solarnetwork.web.support.ResponseHeaderFilter
- intercept(HttpRequest, byte[], ClientHttpRequestExecution) - Method in class net.solarnetwork.web.support.AuthorizationV2RequestInterceptor
- intercept(HttpRequest, byte[], ClientHttpRequestExecution) - Method in class net.solarnetwork.web.support.LoggingHttpRequestInterceptor
- isAllGood() - Method in class net.solarnetwork.web.support.PingController.PingResults
-
Return true if there are test results available and all the results return true for
PingTestResult.isSuccess(). - isDateValid(long) - Method in class net.solarnetwork.web.security.AuthenticationData
-
Test if the date skew is less than a maximum date skew.
- isIncludeHeader() - Method in class net.solarnetwork.web.support.SimpleCsvHttpMessageConverter
-
Get the "include header" option.
- isIncludeParentheses() - Method in class net.solarnetwork.web.support.JSONView
-
Get the "include parentheses" option.
- iso8601Date(Date) - Static method in class net.solarnetwork.web.security.AuthenticationUtils
-
Get an ISO8601 formatted date.
- isSingleBeanAsRoot() - Method in class net.solarnetwork.web.support.SimpleXmlView
-
Get the single-bean-as-root setting.
- isUseModelTimeZoneForDates() - Method in class net.solarnetwork.web.support.SimpleXmlView
-
Get the model time zone settings.
J
- JSON_CONTENT_TYPE - Static variable in class net.solarnetwork.web.support.JSONView
-
The default content type: application/json;charset=UTF-8.
- JSONView - Class in net.solarnetwork.web.support
-
View to return JSON encoded data.
- JSONView() - Constructor for class net.solarnetwork.web.support.JSONView
-
Default constructor.
L
- LoggingHttpRequestInterceptor - Class in net.solarnetwork.web.support
-
A client HTTP interceptor for logging the full details of each request.
- LoggingHttpRequestInterceptor() - Constructor for class net.solarnetwork.web.support.LoggingHttpRequestInterceptor
M
- MD5 - Enum constant in enum class net.solarnetwork.web.security.DigestAlgorithm
-
The MD5 algorithm.
- MessagesSource - Interface in net.solarnetwork.web.support
-
Extension of MessageSource to allow for getting all messages.
- MultipartFileResource - Class in net.solarnetwork.web.support
-
Resourcethat delegates operations to aMultipartFile. - MultipartFileResource(MultipartFile) - Constructor for class net.solarnetwork.web.support.MultipartFileResource
-
Constructor.
N
- net.solarnetwork.web.domain - package net.solarnetwork.web.domain
- net.solarnetwork.web.security - package net.solarnetwork.web.security
- net.solarnetwork.web.support - package net.solarnetwork.web.support
- nullSafeHeaderValue(HttpServletRequest, String) - Static method in class net.solarnetwork.web.security.AuthenticationData
-
Get a string value of a specific HTTP header, returning an empty string if not available.
P
- parseTokenData(String) - Static method in class net.solarnetwork.web.security.AuthenticationDataToken
-
Parse token data into a map.
- PatternMatchingResourceBundleMessagesSource - Class in net.solarnetwork.web.support
-
Extension of
ReloadableResourceBundleMessagesSourcethat supports a pattern resolver for matching any number of resources. - PatternMatchingResourceBundleMessagesSource() - Constructor for class net.solarnetwork.web.support.PatternMatchingResourceBundleMessagesSource
- PingController - Class in net.solarnetwork.web.support
-
A web controller for running a set of
PingTesttests and returning the results. - PingController() - Constructor for class net.solarnetwork.web.support.PingController
- PingController.PingResults - Class in net.solarnetwork.web.support
-
An overall test results class.
- PingResults(Instant, Map<String, PingTestResultDisplay>) - Constructor for class net.solarnetwork.web.support.PingController.PingResults
-
Construct with values.
- preReceive(MessageChannel) - Method in class net.solarnetwork.web.security.AuthenticationDataTokenChannelInterceptor
- preSend(Message<?>, MessageChannel) - Method in class net.solarnetwork.web.security.AuthenticationDataTokenChannelInterceptor
R
- readInternal(Class<? extends Object>, HttpInputMessage) - Method in class net.solarnetwork.web.support.SimpleCsvHttpMessageConverter
- readInternal(Class<? extends Object>, HttpInputMessage) - Method in class net.solarnetwork.web.support.SimpleXmlHttpMessageConverter
- refreshProperties(String, ReloadableResourceBundleMessageSource.PropertiesHolder) - Method in class net.solarnetwork.web.support.PatternMatchingResourceBundleMessagesSource
- registerMessageResource(String) - Method in interface net.solarnetwork.web.support.MessagesSource
-
Register an additional message resource at runtime.
- registerMessageResource(String) - Method in class net.solarnetwork.web.support.ReloadableResourceBundleMessagesSource
- ReloadableResourceBundleMessagesSource - Class in net.solarnetwork.web.support
-
Extension of
ReloadableResourceBundleMessagesSourceto allow finding all keys for all messages. - ReloadableResourceBundleMessagesSource() - Constructor for class net.solarnetwork.web.support.ReloadableResourceBundleMessagesSource
- render(Map<String, ?>, HttpServletRequest, HttpServletResponse) - Method in class net.solarnetwork.web.support.AbstractView
-
This method performs the same functions as
AbstractView.render(Map, HttpServletRequest, HttpServletResponse)except that it uses a LinkedHashMap to preserve model order rather than a HashMap. - renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class net.solarnetwork.web.support.JSONView
- renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class net.solarnetwork.web.support.SimpleCsvView
- renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class net.solarnetwork.web.support.SimpleXmlView
- Request - Class in net.solarnetwork.web.domain
-
A web request envelope object.
- Request(String, String, Map<String, Object>) - Constructor for class net.solarnetwork.web.domain.Request
-
Constructor.
- REQUEST_HEADERS - Static variable in class net.solarnetwork.web.support.RequestInfoHandshakeInterceptor
-
The attribute name for the
HttpHeadersof the HTTP request. - REQUEST_PARAM_SET_COOKIE - Static variable in class net.solarnetwork.web.security.AuthenticationDataTokenAuthenticationFilter
-
A request parameter to signal that an authentication cookie should be set on the response.
- REQUEST_URI_ATTR - Static variable in class net.solarnetwork.web.support.RequestInfoHandshakeInterceptor
-
The attribute name for the
URIof the HTTP request. - requestFactory() - Static method in class net.solarnetwork.web.support.LoggingHttpRequestInterceptor
-
Get a client request factory with logging support if either request or response logging is enabled.
- requestFactory(ClientHttpRequestFactory) - Static method in class net.solarnetwork.web.support.LoggingHttpRequestInterceptor
-
Wrap a client request factory with logging support if either request or response logging is enabled.
- RequestInfoHandshakeInterceptor - Class in net.solarnetwork.web.support
-
HandshakeInterceptorthat populates properties from the connection as message headers. - RequestInfoHandshakeInterceptor() - Constructor for class net.solarnetwork.web.support.RequestInfoHandshakeInterceptor
- resolveThemeName(HttpServletRequest) - Method in class net.solarnetwork.web.support.UrlPathThemeResolver
- resolveViewFromUrlExtension(HttpServletRequest, String) - Static method in class net.solarnetwork.web.support.WebUtils
-
Resolve a ModelAndView with an empty model and a view name determined by the URL "suffix".
- response(V) - Static method in class net.solarnetwork.web.domain.Response
-
Helper method to construct instance using generic return type inference.
- Response<T> - Class in net.solarnetwork.web.domain
-
A simple service response envelope object.
- Response() - Constructor for class net.solarnetwork.web.domain.Response
-
Construct a successful response with no data.
- Response(Boolean, String, String, T) - Constructor for class net.solarnetwork.web.domain.Response
-
Constructor.
- Response(T) - Constructor for class net.solarnetwork.web.domain.Response
-
Construct a successful response with just data.
- ResponseHeaderFilter - Class in net.solarnetwork.web.support
-
Filter for adding arbitrary HTTP headers to requests, to add cache headers to static files.
- ResponseHeaderFilter() - Constructor for class net.solarnetwork.web.support.ResponseHeaderFilter
S
- SecurityException - Exception in net.solarnetwork.web.security
-
Exception for security errors.
- SecurityException() - Constructor for exception net.solarnetwork.web.security.SecurityException
-
Constructor.
- SecurityException(String) - Constructor for exception net.solarnetwork.web.security.SecurityException
-
Constructor.
- SecurityException(String, Throwable) - Constructor for exception net.solarnetwork.web.security.SecurityException
-
Constructor.
- SecurityException(Throwable) - Constructor for exception net.solarnetwork.web.security.SecurityException
-
Constructor.
- SecurityHttpServletRequestWrapper - Class in net.solarnetwork.web.security
-
HttpServletRequestWrapperto aid in computing hash values for the request content. - SecurityHttpServletRequestWrapper(HttpServletRequest, int) - Constructor for class net.solarnetwork.web.security.SecurityHttpServletRequestWrapper
-
Construct from a request.
- SecurityHttpServletRequestWrapper(HttpServletRequest, int, boolean) - Constructor for class net.solarnetwork.web.security.SecurityHttpServletRequestWrapper
-
Construct from a request.
- SecurityHttpServletRequestWrapper(HttpServletRequest, int, boolean, int) - Constructor for class net.solarnetwork.web.security.SecurityHttpServletRequestWrapper
-
Construct from a request.
- SecurityHttpServletRequestWrapper(HttpServletRequest, int, boolean, int, Pattern, int, Path) - Constructor for class net.solarnetwork.web.security.SecurityHttpServletRequestWrapper
-
Construct from a request.
- ServletContextBeanInjector - Class in net.solarnetwork.web.support
-
Helper class to inject beans into a ServletContext.
- ServletContextBeanInjector() - Constructor for class net.solarnetwork.web.support.ServletContextBeanInjector
- setAuthenticationDetailsSource(AuthenticationDetailsSource<HttpServletRequest, ?>) - Method in class net.solarnetwork.web.security.AuthenticationDataTokenAuthenticationFilter
-
Set the details source to use.
- setAuthenticationEntryPoint(AuthenticationEntryPoint) - Method in class net.solarnetwork.web.security.AuthenticationDataTokenAuthenticationFilter
-
Set an
AuthenticationEntryPointto handle authentication errors. - setBasenames(String...) - Method in class net.solarnetwork.web.support.ReloadableResourceBundleMessagesSource
- setBeans(Map<String, Object>) - Method in class net.solarnetwork.web.support.ServletContextBeanInjector
-
Set the beans.
- setClassNamesAllowedForNesting(Set<String>) - Method in class net.solarnetwork.web.support.SimpleXmlHttpMessageConverter
-
Set the class names allowed for nesting.
- setClassNamesAllowedForNesting(Set<String>) - Method in class net.solarnetwork.web.support.SimpleXmlView
-
Set the class names allowed for nesting.
- setDataModelKey(String) - Method in class net.solarnetwork.web.support.SimpleCsvView
-
Set the data model key.
- setFieldOrderKey(String) - Method in class net.solarnetwork.web.support.SimpleCsvView
-
Set the field order key.
- setIncludeHeader(boolean) - Method in class net.solarnetwork.web.support.SimpleCsvHttpMessageConverter
-
Set the "include header" option.
- setIncludeParentheses(boolean) - Method in class net.solarnetwork.web.support.JSONView
-
Set the "include parentheses" option.
- setIndentAmount(int) - Method in class net.solarnetwork.web.support.JSONView
-
Set the number of spaces to indent (pretty print) the JSON output with.
- setJavaBeanIgnoreProperties(Set<String>) - Method in class net.solarnetwork.web.support.AbstractView
-
Set a set of JavaBean properties to ignore for all JavaBeans.
- setJavaBeanIgnoreProperties(Set<String>) - Method in class net.solarnetwork.web.support.SimpleCsvHttpMessageConverter
-
Set the JavaBean properties to ignore.
- setJavaBeanTreatAsStringValues(Set<Class<?>>) - Method in class net.solarnetwork.web.support.AbstractView
-
Set the classes to treat as Strings for all JavaBeans.
- setJavaBeanTreatAsStringValues(Set<Class<?>>) - Method in class net.solarnetwork.web.support.SimpleCsvHttpMessageConverter
-
Set the JavaBean classes to treat as strings.
- setMaxDateSkew(long) - Method in class net.solarnetwork.web.security.AuthenticationDataTokenAuthenticationFilter
-
Set the maximum amount of difference in the supplied HTTP
Date(or X-SN-Date) header value with the current time as reported by the system. - setMaxDateSkew(long) - Method in class net.solarnetwork.web.security.AuthenticationDataTokenChannelInterceptor
-
Configure the maximum allowable date skew.
- setModelKey(String) - Method in class net.solarnetwork.web.support.SimpleXmlView
-
Set the model key to use as the object to render to XML.
- setModelObjectIgnoreTypes(Set<Class<?>>) - Method in class net.solarnetwork.web.support.AbstractView
-
Set a set of class types to ignore from the model, and never output in the response.
- setParent(MessagesSource) - Method in class net.solarnetwork.web.support.ReloadableResourceBundleMessagesSource
- setPropertyEditorRegistrar(PropertyEditorRegistrar) - Method in class net.solarnetwork.web.support.JSONView
-
Set the optional registrar of PropertyEditor instances that can be used to serialize specific objects into String values.
- setPropertySerializerRegistrar(PropertySerializerRegistrar) - Method in class net.solarnetwork.web.support.AbstractView
-
Set an optional registrar of PropertySerializer instances that can be used to serialize specific objects into String values.
- setPropertySerializerRegistrar(PropertySerializerRegistrar) - Method in class net.solarnetwork.web.support.SimpleCsvHttpMessageConverter
-
Set the property serializer registrar.
- setPropertySerializerRegistrar(PropertySerializerRegistrar) - Method in class net.solarnetwork.web.support.SimpleXmlHttpMessageConverter
-
Set the property serializer registrar.
- setResourceLoader(ResourceLoader) - Method in class net.solarnetwork.web.support.PatternMatchingResourceBundleMessagesSource
- setResourceResolver(ResourcePatternResolver) - Method in class net.solarnetwork.web.support.PatternMatchingResourceBundleMessagesSource
-
Set the resource resolver to use to.
- setRootElementAugmentor(ViewResponseAugmentor) - Method in class net.solarnetwork.web.support.SimpleXmlView
-
Set the root element response augmentor.
- setRootElementName(String) - Method in class net.solarnetwork.web.support.SimpleXmlView
-
A root XML element name to use for the view output.
- setServletContext(ServletContext) - Method in class net.solarnetwork.web.support.ServletContextBeanInjector
- setSingleBeanAsRoot(boolean) - Method in class net.solarnetwork.web.support.SimpleXmlView
-
Toggle the single-bean-as-root setting.
- setTests(List<PingTest>) - Method in class net.solarnetwork.web.support.PingController
-
Set the tests.
- setThemePathVariable(String) - Method in class net.solarnetwork.web.support.UrlPathThemeResolver
-
Set the theme path variable name.
- setUseModelTimeZoneForDates(boolean) - Method in class net.solarnetwork.web.support.SimpleXmlView
-
Toggle the use of a model-specific time zone for date values.
- setUserDetailsService(UserDetailsService) - Method in class net.solarnetwork.web.security.AuthenticationDataTokenAuthenticationFilter
-
Set the details service.
- setXmlOutputFactory(XMLOutputFactory) - Method in class net.solarnetwork.web.support.SimpleXmlHttpMessageConverter
-
Set the XML output factory.
- SHA1 - Enum constant in enum class net.solarnetwork.web.security.DigestAlgorithm
-
The SHA1 algorithm.
- SHA256 - Enum constant in enum class net.solarnetwork.web.security.DigestAlgorithm
-
The SHA-256 algorithm.
- SHA512 - Enum constant in enum class net.solarnetwork.web.security.DigestAlgorithm
-
The SHA-512 algorithm.
- SIGN_ALG_HMAC_SHA256 - Static variable in class net.solarnetwork.web.security.AuthenticationDataToken
-
The HMAC-SHA256 signature algorithm type.
- SimpleCsvHttpMessageConverter - Class in net.solarnetwork.web.support
-
HttpMessageConverterthat marshals objects into CSV documents. - SimpleCsvHttpMessageConverter() - Constructor for class net.solarnetwork.web.support.SimpleCsvHttpMessageConverter
-
Default constructor.
- SimpleCsvView - Class in net.solarnetwork.web.support
-
Spring
Viewfor turning objects into CSV through JavaBean introspection. - SimpleCsvView() - Constructor for class net.solarnetwork.web.support.SimpleCsvView
-
Default constructor.
- SimpleXmlHttpMessageConverter - Class in net.solarnetwork.web.support
-
HttpMessageConverterthat marshals objects into XML documents. - SimpleXmlHttpMessageConverter() - Constructor for class net.solarnetwork.web.support.SimpleXmlHttpMessageConverter
-
Default constructor.
- SimpleXmlView - Class in net.solarnetwork.web.support
-
Spring
Viewfor turning objects into XML through JavaBean introspection. - SimpleXmlView() - Constructor for class net.solarnetwork.web.support.SimpleXmlView
-
Constructor.
- StaticAuthorizationCredentialsProvider - Class in net.solarnetwork.web.support
-
A simple statically assigned authorization credentials provider.
- StaticAuthorizationCredentialsProvider(String, byte[], Instant) - Constructor for class net.solarnetwork.web.support.StaticAuthorizationCredentialsProvider
-
Constructor for a signing key.
- StaticAuthorizationCredentialsProvider(String, String) - Constructor for class net.solarnetwork.web.support.StaticAuthorizationCredentialsProvider
-
Constructor.
- supports(Class<?>) - Method in class net.solarnetwork.web.support.SimpleCsvHttpMessageConverter
- supports(Class<?>) - Method in class net.solarnetwork.web.support.SimpleXmlHttpMessageConverter
- supportsLogging(ClientHttpRequestFactory) - Static method in class net.solarnetwork.web.support.LoggingHttpRequestInterceptor
-
Test if a
ClientHttpRequestFactorysupports logging with this interceptor.
T
- TOKEN_COMPONENT_KEY_CREDENTIAL - Static variable in class net.solarnetwork.web.security.AuthenticationDataV2
-
The token component for the credential (token ID).
- TOKEN_COMPONENT_KEY_SIGNATURE - Static variable in class net.solarnetwork.web.security.AuthenticationDataV2
-
The token component for the signature.
- TOKEN_COMPONENT_KEY_SIGNED_HEADERS - Static variable in class net.solarnetwork.web.security.AuthenticationDataV2
-
The token component for the signed headers list.
- TOKEN_TYPE_JWT - Static variable in class net.solarnetwork.web.security.AuthenticationDataToken
-
The JWT token type.
- transferTo(File) - Method in class net.solarnetwork.web.support.MultipartFileResource
U
- uriEncode(CharSequence) - Static method in class net.solarnetwork.web.security.AuthenticationUtils
-
AWS style implementation of "uri encoding" using UTF-8 encoding.
- UrlPathThemeResolver - Class in net.solarnetwork.web.support
-
ThemeResolverthat resolves a theme name from a URL path variable. - UrlPathThemeResolver() - Constructor for class net.solarnetwork.web.support.UrlPathThemeResolver
-
Default constructor.
- UTF8_CHAR_ENCODING - Static variable in class net.solarnetwork.web.support.JSONView
-
The default character encoding used: UTF-8.
V
- V1 - Enum constant in enum class net.solarnetwork.web.security.AuthenticationScheme
-
The original scheme.
- V2 - Enum constant in enum class net.solarnetwork.web.security.AuthenticationScheme
-
The version 2 scheme.
- validateContentDigest(SecurityHttpServletRequestWrapper) - Static method in class net.solarnetwork.web.security.AuthenticationData
-
Validate a digest header value presented in a request against the request body content.
- valueOf(String) - Static method in enum class net.solarnetwork.web.security.AuthenticationScheme
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.solarnetwork.web.security.DigestAlgorithm
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.solarnetwork.web.security.AuthenticationScheme
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.solarnetwork.web.security.DigestAlgorithm
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verify(byte[]) - Method in class net.solarnetwork.web.security.AuthenticationDataToken
-
Verify the token cookie data using a provided signing secret key and the current date.
- verify(byte[], long) - Method in class net.solarnetwork.web.security.AuthenticationDataToken
-
Verify the token cookie data using a provided signing secret key and date.
- verify(String) - Method in class net.solarnetwork.web.security.AuthenticationDataToken
-
Verify the token cookie data using a provided signing secret key and the current date.
- verify(String, long) - Method in class net.solarnetwork.web.security.AuthenticationDataToken
-
Verify the token cookie data using a provided signing secret key and date.
- ViewResponseAugmentor - Interface in net.solarnetwork.web.support
-
API for augmenting a view response.
W
- WebConstants - Class in net.solarnetwork.web.security
-
Global web constants for the central SolarNetwork applications.
- WebUtils - Class in net.solarnetwork.web.support
-
Common utility helper methods for web processing.
- WebUtils() - Constructor for class net.solarnetwork.web.support.WebUtils
- writeInternal(Object, HttpOutputMessage) - Method in class net.solarnetwork.web.support.SimpleCsvHttpMessageConverter
- writeInternal(Object, HttpOutputMessage) - Method in class net.solarnetwork.web.support.SimpleXmlHttpMessageConverter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form