Uses of Annotation Type
net.shibboleth.utilities.java.support.annotation.constraint.NonnullElements
Packages that use NonnullElements
Package
Description
Additional implementations of, and helpers for working with, collections.
Classes for working with Apache HttpClient.
Classes for working with HTTP URLs and the protocol.
A set of utilities dealing with Java's primitive types.
Interfaces for searching over data.
Helpers for common security related tasks.
Implementations of security interfaces.
A set of helper functions for performing actions on DOM nodes.
-
Uses of NonnullElements in net.shibboleth.utilities.java.support.collection
Fields in net.shibboleth.utilities.java.support.collection with annotations of type NonnullElementsMethods in net.shibboleth.utilities.java.support.collection with annotations of type NonnullElementsModifier and TypeMethodDescription<T> List<T>
Gets the instances mapped to the given type or an empty list.ClassToInstanceMultiMap.getIndexTypes
(B value) Get the effective set of all class types via which the specified value should be indexed.<T> List<T>
LockableClassToInstanceMultiMap.getWithLock
(Class<T> type) Convenience method which executes the like-named method from superclassClassToInstanceMultiMap
under a read lock.ClassToInstanceMultiMap.keys()
Gets the set of keys contained in this map.LockableClassToInstanceMultiMap.keysWithLock()
Convenience method which executes the like-named method from superclassClassToInstanceMultiMap
under a read lock.Collection<? extends B>
ClassToInstanceMultiMap.values()
The collection of values currently present in the map.Collection<? extends B>
LockableClassToInstanceMultiMap.valuesWithLock()
Convenience method which executes the like-named method from superclassClassToInstanceMultiMap
under a read lock.Method parameters in net.shibboleth.utilities.java.support.collection with annotations of type NonnullElementsModifier and TypeMethodDescriptionprivate void
ClassToInstanceMultiMap.getSuperTypes
(Class<?> clazz, Set<Class<?>> accumulator) Gets all of the superclasses and interfaces implemented by the given class.void
Adds all the values to the map.void
ClassToInstanceMultiMap.putAll
(ClassToInstanceMultiMap<? extends B> map) Adds all the values to the map.void
LockableClassToInstanceMultiMap.putAllWithLock
(Iterable<? extends B> newValues) Convenience method which executes the like-named method from superclassClassToInstanceMultiMap
under a write lock.void
LockableClassToInstanceMultiMap.putAllWithLock
(ClassToInstanceMultiMap<? extends B> map) Convenience method which executes the like-named method from superclassClassToInstanceMultiMap
under a write lock.void
Remove the specified values from the map and from the value list of all indexes.void
ClassToInstanceMultiMap.removeAll
(ClassToInstanceMultiMap<? extends B> map) Remove the values contained in the specified map from this map and from the value list of all indexes.void
LockableClassToInstanceMultiMap.removeAllWithLock
(Iterable<? extends B> removeValues) Convenience method which executes the like-named method from superclassClassToInstanceMultiMap
under a write lock.void
LockableClassToInstanceMultiMap.removeAllWithLock
(ClassToInstanceMultiMap<? extends B> map) Convenience method which executes the like-named method from superclassClassToInstanceMultiMap
under a write lock. -
Uses of NonnullElements in net.shibboleth.utilities.java.support.httpclient
Fields in net.shibboleth.utilities.java.support.httpclient with annotations of type NonnullElementsModifier and TypeFieldDescriptionprivate List<org.apache.http.HttpRequestInterceptor>
HttpClientBuilder.requestInterceptorsFirst
List of request interceptors to add first.private List<org.apache.http.HttpRequestInterceptor>
HttpClientBuilder.requestInterceptorsLast
List of request interceptors to add last.private List<org.apache.http.HttpResponseInterceptor>
HttpClientBuilder.responseInterceptorsFirst
List of response interceptors to add first.private List<org.apache.http.HttpResponseInterceptor>
HttpClientBuilder.responseInterceptorsLast
List of response interceptors to add last.private List<HttpClientContextHandler>
HttpClientBuilder.staticContextHandlers
List of static context handlers.Methods in net.shibboleth.utilities.java.support.httpclient with annotations of type NonnullElementsModifier and TypeMethodDescriptionList<org.apache.http.HttpRequestInterceptor>
HttpClientBuilder.getFirstRequestInterceptors()
Get the list of request interceptors to add first.List<org.apache.http.HttpResponseInterceptor>
HttpClientBuilder.getFirstResponseInterceptors()
Get the list of response interceptors to add first.List<org.apache.http.HttpRequestInterceptor>
HttpClientBuilder.getLastRequestInterceptors()
Get the list of request interceptors to add last.List<org.apache.http.HttpResponseInterceptor>
HttpClientBuilder.getLastResponseInterceptors()
Get the list of response interceptors to add last.HttpClientBuilder.getStaticContextHandlers()
Get the list of staticHttpClientContextHandler
.Method parameters in net.shibboleth.utilities.java.support.httpclient with annotations of type NonnullElementsModifier and TypeMethodDescriptionvoid
HttpClientBuilder.setFirstRequestInterceptors
(List<org.apache.http.HttpRequestInterceptor> interceptors) Set the list of request interceptors to add first.void
HttpClientBuilder.setFirstResponseInterceptors
(List<org.apache.http.HttpResponseInterceptor> interceptors) Set the list of response interceptors to add first.void
HttpClientBuilder.setLastRequestInterceptors
(List<org.apache.http.HttpRequestInterceptor> interceptors) Set the list of request interceptors to add last.void
HttpClientBuilder.setLastResponseInterceptors
(List<org.apache.http.HttpResponseInterceptor> interceptors) Set the list of response interceptors to add last.void
HttpClientBuilder.setStaticContextHandlers
(List<HttpClientContextHandler> handlers) Set the list of staticHttpClientContextHandler
. -
Uses of NonnullElements in net.shibboleth.utilities.java.support.net
Fields in net.shibboleth.utilities.java.support.net with annotations of type NonnullElementsModifier and TypeFieldDescriptionprivate Collection<Function<Pair<javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse>, Boolean>> DynamicResponseHeaderFilter.callbacks
Callbacks to add headers dynamically.CookieBufferingFilter.CookieBufferingHttpServletResponseProxy.cookieMap
Map of delayed cookie additions.DynamicResponseHeaderFilter.headers
Statically defined headers to return.SameSiteCookieHeaderFilter.sameSiteCookies
Map of cookie name to same-site attribute value.Methods in net.shibboleth.utilities.java.support.net with annotations of type NonnullElementsModifier and TypeMethodDescriptionCookieBufferingFilter.CookieBufferingHttpServletResponseProxy.getCookies()
Get the map of cookies that will be set.static List<Locale.LanguageRange>
HttpServletSupport.getLanguageRange
(javax.servlet.http.HttpServletRequest request) Return theLocale.LanguageRange
associated with this request.Method parameters in net.shibboleth.utilities.java.support.net with annotations of type NonnullElementsModifier and TypeMethodDescriptionvoid
DynamicResponseHeaderFilter.setCallbacks
(Collection<Function<Pair<javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse>, Boolean>> theCallbacks) Set the callbacks to invoke to dynamically attach headers.void
DynamicResponseHeaderFilter.setHeaders
(Map<String, String> map) Set the headers to statically attach to all responses.void
SameSiteCookieHeaderFilter.setSameSiteCookies
(Map<SameSiteCookieHeaderFilter.SameSiteValue, List<String>> map) Set the names of cookies to add the same-site attribute to.static boolean
HttpServletSupport.validateContentType
(javax.servlet.http.HttpServletRequest request, Set<MediaType> validTypes, boolean noContentTypeIsValid, boolean isOneOfStrategy) Validate the Content-Type of the specified request. -
Uses of NonnullElements in net.shibboleth.utilities.java.support.primitive
Fields in net.shibboleth.utilities.java.support.primitive with annotations of type NonnullElementsMethods in net.shibboleth.utilities.java.support.primitive with annotations of type NonnullElementsModifier and TypeMethodDescriptionstatic Collection<String>
StringSupport.normalizeStringCollection
(Collection<String> values) Normalize a string collection by: Safely trimming each member. Converting all empty members to null. Removing any null members. -
Uses of NonnullElements in net.shibboleth.utilities.java.support.resolver
Methods in net.shibboleth.utilities.java.support.resolver with annotations of type NonnullElementsModifier and TypeMethodDescriptionResolver.resolve
(CriteriaType criteria) Process the specified criteria and return the resulting instances of the product type which satisfy the criteria. -
Uses of NonnullElements in net.shibboleth.utilities.java.support.security
Methods in net.shibboleth.utilities.java.support.security with annotations of type NonnullElementsModifier and TypeMethodDescriptionprotected org.bouncycastle.asn1.ASN1Encodable[]
SelfSignedCertificateGenerator.buildSubjectAltNames()
Builds the subject alt names for the certificate.Method parameters in net.shibboleth.utilities.java.support.security with annotations of type NonnullElementsModifier and TypeMethodDescriptionvoid
SelfSignedCertificateGenerator.setDNSSubjectAltNames
(Collection<String> altNames) Set the optional DNS subject alt names.void
SelfSignedCertificateGenerator.setURISubjectAltNames
(Collection<String> altNames) Set the optional URI subject alt names. -
Uses of NonnullElements in net.shibboleth.utilities.java.support.security.impl
Fields in net.shibboleth.utilities.java.support.security.impl with annotations of type NonnullElementsModifier and TypeFieldDescriptionprivate Collection<IPRange>
IPRangeAccessControl.allowedRanges
List of CIDR blocks allowed to access this servlet.private Map<String,
AccessControl> BasicAccessControlService.policyMap
Map of named policies.Method parameters in net.shibboleth.utilities.java.support.security.impl with annotations of type NonnullElementsModifier and TypeMethodDescriptionvoid
IPRangeAccessControl.setAllowedRanges
(Collection<IPRange> ranges) Set the CIDR address ranges to allow.void
BasicAccessControlService.setPolicyMap
(Map<String, AccessControl> map) Set the policies to store. -
Uses of NonnullElements in net.shibboleth.utilities.java.support.xml
Fields in net.shibboleth.utilities.java.support.xml with annotations of type NonnullElementsModifier and TypeFieldDescriptionSchemaBuilder.sources
Sources of schema material compatible with JAXP.Methods in net.shibboleth.utilities.java.support.xml with annotations of type NonnullElementsModifier and TypeMethodDescriptionBasicParserPool.getBuilderAttributes()
Gets the builder attributes used when creating builders.BasicParserPool.getBuilderFeatures()
Gets the builders' features.