Uses of Annotation Interface
org.springframework.lang.Nullable
Packages that use Nullable
Package
Description
Core Spring AOP interfaces, built on AOP Alliance AOP interoperability interfaces.
AspectJ integration package.
Classes enabling AspectJ 5 @Annotated classes to be used in Spring AOP.
Support package for declarative AOP configuration,
with XML schema being the primary configuration format.
Package containing Spring's basic AOP infrastructure, compliant with the
AOP Alliance interfaces.
SPI package allowing Spring AOP framework to handle arbitrary advice types.
Bean post-processors for use in ApplicationContexts to simplify AOP usage
by automatically creating AOP proxies without the need to use a ProxyFactoryBean.
Various
TargetSourceCreator
implementations for use with Spring's AOP auto-proxying support.Provides miscellaneous interceptor implementations.
Support for AOP-based scoping of target objects, with configurable backend.
Convenience classes for using Spring's AOP API.
Annotation support for AOP pointcuts.
Various
TargetSource implementations for use
with Spring AOP.Support for dynamic, refreshable
TargetSource
implementations for use with Spring AOP.Support for recording method invocations relevant to
RuntimeHints metadata.Support classes for components that contribute generated code equivalent to a
runtime behavior.
Support for registering the need for reflection, resources, java
serialization and proxies at runtime.
Convenience classes for using runtime hints.
Support for generating GraalVM native configuration from runtime hints.
This package contains interfaces and classes for manipulating Java beans.
The core package implementing Spring's lightweight Inversion of Control (IoC) container.
Support package for annotation-driven bean configuration.
AOT support for bean factories.
SPI interfaces and configuration-related convenience classes for bean factories.
Support package for Groovy-based bean definitions.
Support infrastructure for bean definition parsing.
Support package for the Java
ServiceLoader facility.Classes supporting the
org.springframework.beans.factory package.Mechanism to determine bean wiring metadata from a bean instance.
Contains an abstract XML-based
BeanFactory implementation,
including a standard "spring-beans" XSD.Properties editors used to convert from String values to object
types such as java.util.Properties.
Classes supporting the org.springframework.beans package,
such as utility classes for sorting and holding lists of beans.
Spring's generic cache abstraction.
Annotations and supporting classes for declarative cache management.
Support classes for the open source cache in
Caffeine library,
allowing to set up Caffeine caches within Spring's cache abstraction.
Implementation package for
java.util.concurrent based caches.AOP-based solution for declarative caching demarcation.
Implementation package for JSR-107 (javax.cache aka "JCache") based caches.
Support package for declarative JSR-107 caching configuration.
AOP-based solution for declarative caching demarcation using JSR-107 annotations.
Support classes for the org.springframework.cache package.
Transaction-aware decorators for the org.springframework.cache package.
This package builds on the beans package to add support for
message sources and for the Observer design pattern, and the
ability for application objects to obtain resources using a
consistent API.
Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
AOT support for application contexts.
Support classes for application events, like standard context events.
Expression parsing support within a Spring application context.
Abstraction for determining the current Locale,
plus global holder that exposes a thread-bound Locale.
Support package for reading and managing the components index.
Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
Load-time weaving support for a Spring application context, building on Spring's
LoadTimeWeaver abstraction.Provides basic classes for exception handling and version detection,
and other core helpers that are not specific to any part of the framework.
Core support package for annotations, meta-annotations, and merged
annotations with attribute overrides.
Type conversion system API.
SPI to implement Converters for the type conversion system.
Default implementation of the type conversion system.
Spring's environment abstraction consisting of bean definition
profile and hierarchical property source support.
Generic abstraction for (file-based) resources, used throughout the framework.
Generic abstraction for working with byte buffer implementations.
Support classes for Spring's resource abstraction.
Useful delegates for Spring's logging conventions.
Support package for recording metrics during application startup.
Root package for Spring's serializer interfaces and implementations.
Support classes for Spring's serializer abstraction.
Support for styling values as Strings, with ToStringCreator as central class.
This package defines Spring's core TaskExecutor abstraction,
and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.
Support classes for Spring's TaskExecutor abstraction.
Test support classes for Spring's I/O support.
Support classes for compiling and testing generated code.
Core support package for type introspection.
Support classes for reading annotation and class-level metadata.
Core support package for type filtering (e.g.
Exception hierarchy enabling sophisticated error handling independent
of the data access approach in use.
Support classes for DAO implementations,
providing miscellaneous utility methods.
Core abstractions behind the Spring Expression Language.
Common utility classes behind the Spring Expression Language.
SpEL's central implementation package.
SpEL's abstract syntax tree.
SpEL's standard parser implementation.
SpEL's default implementations for various core abstractions.
Integration with the JSR-310
java.time package in JDK 8.Support classes for the formatting package,
providing common implementations as well as adapters.
Contains a basic abstraction over client/server-side HTTP.
Contains an abstraction over client-side HTTP.
This package provides support for client HTTP
Observation.Abstractions for reactive HTTP client support including
ClientHttpRequest and
ClientHttpResponse as well as a
ClientHttpConnector.This package provides generic HTTP support classes,
to be used by higher-level classes like RestTemplate.
JSON encoder and decoder support.
Multipart support.
Provides an encoder and a decoder for
Google Protocol Buffers.
XML encoder and decoder support.
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
Provides HttpMessageConverter implementations for handling JSON.
Provides an HttpMessageConverter implementation for handling
Google Protocol Buffers.
Provides HttpMessageConverter implementations for handling XML.
Contains an abstraction over server-side HTTP.
Instrumentation for
observing HTTP server applications.Abstractions for reactive HTTP server support including a
ServerHttpRequest and
ServerHttpResponse along with an
HttpHandler for processing.Instrumentation for
observing reactive HTTP server applications.Support package for load time weaving based on class loaders,
as required by JPA providers (but not JPA-specific).
Support for class instrumentation on GlassFish.
Support for class instrumentation on JBoss AS 6 and 7.
Support for class instrumentation on Tomcat.
This package provides a facility for generic JCA message endpoint management.
Provides generic support classes for JCA usage within Spring,
mainly for local setup of a JCA ResourceAdapter and/or ConnectionFactory.
The classes in this package make JDBC easier to use and
reduce the likelihood of common errors.
Provides the core JDBC framework, based on JdbcTemplate
and its associated callback interfaces and helper objects.
Context metadata abstraction for the configuration and execution
of table inserts and stored procedure calls.
JdbcTemplate variant with named parameter support.
Simplification layer for table inserts and stored procedure calls.
Classes supporting the
org.springframework.jdbc.core package.Provides a utility class for easy DataSource access,
a PlatformTransactionManager for a single DataSource,
and various simple DataSource implementations.
Provides extensible support for creating embedded database instances.
Provides extensible support for initializing databases through scripts.
Provides a strategy for looking up JDBC DataSources by name.
The classes in this package represent RDBMS queries, updates, and stored
procedures as threadsafe, reusable objects.
Support classes for the JDBC framework, used by the classes in the
jdbc.core and jdbc.object packages.
Provides a strategy interface for Large OBject handling,
as well as a customizable default implementation.
Provides a convenient holder for disconnected result sets.
Abstraction for handling fields of SQLXML data type.
This package contains integration classes for JMS,
allowing for Spring-style JMS access.
Support package for declarative messaging configuration,
with Java configuration and XML schema support.
Provides a PlatformTransactionManager implementation for a single
JMS ConnectionFactory, and a SingleConnectionFactory adapter.
Core package of the JMS support.
Classes supporting the
org.springframework.jms.core package.This package contains the base message listener container facility.
Message listener adapter mechanism that delegates to target listener
methods, converting messages to appropriate message content types
(such as String or byte array) that get passed into listener methods.
This package provides JCA-based endpoint management for JMS message listeners.
This package provides generic JMS support classes,
to be used by higher-level classes like JmsTemplate.
Provides a MessageConverter abstraction to convert
between Java objects and JMS messages.
Support classes for Spring's JMS framework.
Provides support for accessing remote MBean resources.
This package provides declarative creation and registration of
Spring-managed beans as JMX MBeans.
Annotations for MBean exposure.
Provides a strategy for MBeanInfo assembly.
Provides generic JMX metadata classes and basic support for reading
JMX metadata in a provider-agnostic manner.
Provides a strategy for ObjectName creation.
Contains support classes for connecting to local and remote
MBeanServers
and for exposing an MBeanServer to remote clients.The classes in this package make JNDI easier to use,
facilitating the accessing of configuration stored in JNDI,
and provide useful superclasses for JNDI access classes.
Support classes for JNDI usage,
including a JNDI-based BeanFactory implementation.
Spring's generic mail infrastructure.
JavaMail support for Spring's mail infrastructure.
Support for working with messaging APIs and protocols.
Provides support for message conversion.
Defines interfaces and implementation classes for messaging templates.
Basic abstractions for working with message handler methods.
Annotations and support classes for handling messages.
Support classes for working with annotated message-handling methods with
non-blocking, reactive contracts.
Support classes for working with annotated message-handling methods.
Common infrastructure for invoking message handler methods.
Common infrastructure for invoking message handler methods with non-blocking,
and reactive contracts.
Support for the RSocket protocol.
Support classes for working with annotated RSocket stream handling methods.
Annotations to declare an RSocket service contract with request methods along
with a proxy factory backed by an
RSocketRequester.Generic support for Simple Messaging Protocols including protocols such as STOMP.
Support classes for handling messages from simple messaging protocols
(like STOMP).
Provides a "simple" message broker implementation along with an abstract base
class and other supporting types such as a registry for subscriptions.
Configuration support for WebSocket messaging using higher level messaging protocols.
Generic support for simple messaging protocols (like STOMP).
Support for handling messages to "user" destinations (i.e.
Provides implementations of
Message along with
a MessageBuilder and MessageHeaderAccessor for building and working with messages and
message headers, as well as various MessageChannel
implementations and channel interceptor support.Contains abstractions and implementation classes for establishing TCP connections via
TcpOperations,
handling messages via
TcpConnectionHandler,
as well as sending messages via
TcpConnection.Mock implementations of reactive HTTP server contracts.
A comprehensive set of Servlet API 6.0 mock objects, targeted at usage with
Spring's Web MVC framework.
Mock implementations of Spring's reactive server web API abstractions.
Root package for Spring's O/R Mapping integration classes.
Package providing integration of
Hibernate 5.x
with Spring concepts.
Classes supporting the
org.springframework.orm.hibernate5 package.Package providing integration of JPA (Java Persistence API) with Spring concepts.
Internal support for managing JPA persistence units.
Classes supporting the
org.springframework.orm.jpa package.Support classes for adapting to specific JPA vendors.
Package providing integration of JAXB
with Spring's O/X Mapping support.
Contains (un)marshallers optimized to store binary data in MIME attachments.
Provides generic support classes for using Spring's O/X Mapping integration
within various scenario's.
Package providing integration of XStream
with Spring's O/X Mapping support.
The classes in this package make R2DBC easier to use and
reduce the likelihood of common errors.
Provides a utility class for easy ConnectionFactory access,
a ReactiveTransactionManager for a single ConnectionFactory,
and various simple ConnectionFactory implementations.
Provides extensible support for initializing databases through scripts.
Core domain types around DatabaseClient.
Classes providing an abstraction over SQL bind markers.
General exceptions for Spring's scheduling support,
independent of any specific scheduling system.
Annotation support for asynchronous method execution.
Scheduling convenience classes for the
java.util.concurrent
and jakarta.enterprise.concurrent packages, allowing to set up a
ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring
context.Support package for declarative scheduling configuration,
with XML schema being the primary configuration format.
Support classes for the open source scheduler
Quartz,
allowing to set up Quartz Schedulers, JobDetails and
Triggers as beans in a Spring context.
Generic support classes for scheduling.
Core interfaces for Spring's scripting support.
Package providing integration of
BeanShell
(and BeanShell2)
into Spring's scripting infrastructure.
Package providing integration of
Groovy
into Spring's scripting infrastructure.
Support classes for Spring's scripting package.
Support classes for annotation-driven tests.
This package contains the Spring TestContext Framework which
provides annotation-driven unit and integration testing support that is
agnostic of the actual testing framework in use.
Ahead-of-time (AOT) support for the Spring TestContext Framework.
Support for context caching within the Spring TestContext Framework.
Test event support classes for the Spring TestContext Framework.
Core support for integrating the Spring TestContext Framework
with the JUnit Jupiter extension model in JUnit 5.
Support classes for integrating the Spring TestContext Framework
with JUnit 4.12 or higher.
Custom JUnit 4
Statements used in the Spring TestContext Framework.Support classes for the Spring TestContext Framework.
Support classes for integrating the Spring TestContext Framework
with TestNG.
Transactional support classes for the Spring TestContext Framework.
Web support classes for the Spring TestContext Framework.
General utility classes for use in unit and integration tests.
Contains client-side REST testing support.
Contains built-in
RequestMatcher
implementations.Contains built-in
ResponseCreator
implementations.Support for testing Spring WebFlux server endpoints via
WebTestClient.Contains server-side support for testing Spring MVC applications.
Support for testing Spring MVC applications via
WebTestClient
with MockMvc for server request
handling.Server-side support for testing Spring MVC applications with
MockMvc
and HtmlUnit.Contains built-in
RequestBuilder
implementations.Contains built-in
ResultMatcher and ResultHandler implementations.Contains built-in
MockMvcBuilder implementations.Spring's core transaction management APIs (independent of any specific transaction
management system); an exception hierarchy for Spring's transaction infrastructure;
and transaction manager, definition, and status interfaces.
Spring's support for annotation-based transaction demarcation.
Support package for declarative transaction configuration,
with XML schema being the primary configuration format.
Spring's support for listening to transaction events.
AOP-based solution for declarative transaction demarcation.
Transaction SPI implementation for JTA.
Support classes for reactive transaction management.
Support classes for the org.springframework.transaction package.
Generic support for UI layer concepts.
Contains classes defining the application context subinterface
for UI applications.
Classes supporting the org.springframework.ui.context package.
Support classes for setting up
FreeMarker
within a Spring application context.
Miscellaneous utility classes, such as utilities for working with strings,
classes, collections, reflection, etc.
Useful generic
java.util.Comparator implementations,
such as an invertible comparator and a compound comparator.Useful generic
java.util.concurrent.Future extensions.Useful generic
java.util.function helper classes.Useful unit data types.
Miscellaneous utility classes for XML parsing and transformation,
such as error handlers that log warnings via Commons Logging.
Provides data binding and validation functionality,
for usage in business and/or UI layers.
Support classes for annotation-based constraint evaluation,
e.g.
Support classes for integrating a JSR-303 Bean Validation provider
(such as Hibernate Validator) into a Spring ApplicationContext
and in particular with Spring's data binding and validation APIs.
Support classes for handling validation results.
Common, generic interfaces that define minimal boundary points
between Spring's web infrastructure and other framework modules.
This package contains classes used to determine the requested the media types in a request.
Provides web-specific data binding functionality.
Annotations for binding requests to controllers and handler methods
as well as for binding request parameters to method arguments.
Support classes for web data binding.
Core package of the client-side web support.
Contains a variant of the application context interface for web applications,
and the ContextLoaderListener that bootstraps a root web application context.
Support for generic request context holding, in particular for
scoping of application objects per HTTP request or HTTP session.
Support for asynchronous request processing.
Classes supporting the
org.springframework.web.context package,
such as WebApplicationContext implementations and various utility classes.Support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor strategy.Reactive support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor strategy.Provides generic filter base classes allowing for bean-style configuration.
Support classes for integrating a JSF web layer with a Spring service layer
which is hosted in a Spring root WebApplicationContext.
ELResolvers for integrating a JSF web layer with a Spring service layer
which is hosted in a Spring root WebApplicationContext.
Common infrastructure for handler method processing, as used by
Spring MVC's
org.springframework.web.servlet.mvc.method package.Support classes for annotation-based handler method processing.
Generic support classes for handler method processing.
Multipart resolution framework for handling file uploads.
Support classes for the multipart resolution framework.
Top-level package for the
spring-webflux module that contains
DispatcherHandler, the main entry
point for WebFlux server endpoint processing including key contracts used to
map requests to handlers, invoke them, and process the result.Spring WebFlux configuration infrastructure.
Provides a foundation for both the reactive client and server subpackages.
Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive reactive HTTP adapter layer.Provides the types that make up Spring's functional web framework for Reactive environments.
Classes supporting the
org.springframework.web.reactive.function.server package.Provides HandlerMapping implementations including abstract base classes.
Support classes for serving static resources.
Support for various programming model styles including the invocation of
different types of handlers, e.g.
RequestCondition
and implementations for matching requests based on different criteria.Infrastructure for handler method processing.
Infrastructure for annotation-based handler method processing.
Support for result handling through view resolution.
Support classes for the integration of
FreeMarker
as Spring web view technology.
Support classes for views based on the JSR-223 script engine abstraction
(as included in Java 6+), e.g.
Abstractions and support classes for reactive WebSocket interactions.
Classes adapting Spring's Reactive WebSocket API to and from WebSocket runtimes.
Server support for WebSocket interactions.
Server-side support classes for WebSocket requests.
Holds implementations of
RequestUpgradeStrategy.Core interfaces and classes for Spring's generic, reactive web support.
Implementations to adapt to the underlying
org.springframework.http.client.reactive reactive HTTP adapter
and HttpHandler.Provides common WebHandler implementations and a
WebHandlerDecorator.Locale related support classes.
Support for creating a client proxy for an HTTP service annotated with
HttpExchange methods.Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
Defines the XML configuration namespace for Spring MVC.
Annotation-based setup for Spring MVC.
Provides the types that make up Spring's functional web framework for Servlet environments.
Classes supporting the
org.springframework.web.servlet.function package.Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
Locale support classes for Spring's web MVC framework.
Standard controller implementations for the Servlet MVC framework that comes with
Spring.
Support package for annotation-based Servlet MVC controllers.
Common MVC logic for matching incoming requests based on conditions.
Servlet-based infrastructure for handler method processing,
building on the
org.springframework.web.method package.MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package.Support package for MVC controllers.
Support classes for serving static resources.
Support classes for Spring's web MVC framework.
This package contains Spring's JSP standard tag library for JSP 2.0+.
Spring's form tag library for JSP views in Spring's Web MVC framework.
Theme support classes for Spring's web MVC framework.
Provides standard View and ViewResolver implementations,
including abstract base classes for custom implementations.
Support classes for the integration of
FreeMarker
as Spring web view technology.
Support classes for providing a View implementation based on JSON serialization.
Support classes for views based on the JSR-223 script engine abstraction
(as included in Java 6+), e.g.
Support classes for providing a View implementation based on XML Marshalling.
Support classes for XSLT,
providing a View implementation for XSLT stylesheets.
Common abstractions and Spring configuration support for WebSocket applications.
Classes adapting Spring's WebSocket API to and from WebSocket providers.
Adapter classes for the Jetty WebSocket API.
Adapter classes for the standard Jakarta WebSocket API.
Client-side abstractions for WebSocket applications.
Client-side support for the Jetty WebSocket API.
Client-side classes for use with standard Jakarta WebSocket endpoints.
Support for annotation-based WebSocket setup in configuration classes.
Convenient
WebSocketHandler
implementations and decorators.WebSocket integration for Spring's messaging module.
Server-side abstractions for WebSocket interactions.
Server-side support for the Jetty 9+ WebSocket API.
Server-side classes for use with standard JSR-356 WebSocket endpoints.
Server-side support classes including container-specific strategies
for upgrading a request.
Top-level SockJS types.
SockJS client implementation of
WebSocketClient.Support classes for creating SockJS frames including the encoding and decoding
of SockJS message frames.
Support classes for SockJS including an
AbstractSockJsService
implementation.Server-side support for SockJS transports including
TransportHandler implementations
for processing incoming requests, their
session
counterparts for sending messages over the various transports, and
DefaultSockJsService.TransportHandler
implementation classes as well as a concrete
SockJsService.SockJS specific implementations of
WebSocketSession.Miscellaneous web utility classes, such as HTML escaping and cookie handling.
Dedicated support for matching HTTP request paths.
-
Uses of Nullable in org.springframework.aop
Methods in org.springframework.aop with annotations of type NullableModifier and TypeMethodDescriptionTargetSource.getTarget()Return a target instance.Class<?>TargetClassAware.getTargetClass()Return the target class behind the implementing object (typically a proxy configuration or an actual proxy).Class<?>TargetSource.getTargetClass()Return the type of targets returned by thisTargetSource.ProxyMethodInvocation.getUserAttribute(String key) Return the value of the specified user attribute.Method parameters in org.springframework.aop with annotations of type NullableModifier and TypeMethodDescriptionvoidAfterReturningAdvice.afterReturning(Object returnValue, Method method, Object[] args, Object target) Callback after a given method successfully returned.voidAfterReturningAdvice.afterReturning(Object returnValue, Method method, Object[] args, Object target) Callback after a given method successfully returned.voidCallback before a given method is invoked.voidProxyMethodInvocation.setUserAttribute(String key, Object value) Add the specified user attribute with the given value to this invocation. -
Uses of Nullable in org.springframework.aop.aspectj
Methods in org.springframework.aop.aspectj with annotations of type NullableModifier and TypeMethodDescriptionfinal ClassLoaderAbstractAspectJAdvice.getAspectClassLoader()Return the ClassLoader for aspect instances.AspectInstanceFactory.getAspectClassLoader()Expose the aspect class loader that this factory uses.SimpleAspectInstanceFactory.getAspectClassLoader()SingletonAspectInstanceFactory.getAspectClassLoader()static AspectJPrecedenceInformationAspectJAopUtils.getAspectJPrecedenceInformationFor(Advisor anAdvisor) Return the AspectJPrecedenceInformation provided by this advisor or its advice.protected StringAspectJExpressionPointcut.getCurrentProxiedBeanName()protected TypeAbstractAspectJAdvice.getDiscoveredReturningGenericType()AspectJExpressionPointcutAdvisor.getExpression()protected org.aspectj.weaver.tools.JoinPointMatchAbstractAspectJAdvice.getJoinPointMatch()Get the current join point match at the join point we are being dispatched on.protected org.aspectj.weaver.tools.JoinPointMatchAbstractAspectJAdvice.getJoinPointMatch(ProxyMethodInvocation pmi) AspectJExpressionPointcutAdvisor.getLocation()String[]AspectJAdviceParameterNameDiscoverer.getParameterNames(Constructor<?> ctor) An advice method can never be a constructor in Spring.String[]AspectJAdviceParameterNameDiscoverer.getParameterNames(Method method) Deduce the parameter names for an advice method.MethodInvocationProceedingJoinPoint.getTarget()Returns the Spring AOP target.AspectJAfterAdvice.invoke(MethodInvocation mi) AspectJAfterThrowingAdvice.invoke(MethodInvocation mi) AspectJAroundAdvice.invoke(MethodInvocation mi) MethodInvocationProceedingJoinPoint.proceed()Method parameters in org.springframework.aop.aspectj with annotations of type NullableModifier and TypeMethodDescriptionvoidAspectJAfterReturningAdvice.afterReturning(Object returnValue, Method method, Object[] args, Object target) voidAspectJAfterReturningAdvice.afterReturning(Object returnValue, Method method, Object[] args, Object target) protected Object[]AbstractAspectJAdvice.argBinding(org.aspectj.lang.JoinPoint jp, org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable ex) Take the arguments at the method execution join point and output a set of arguments to the advice method.protected Object[]AbstractAspectJAdvice.argBinding(org.aspectj.lang.JoinPoint jp, org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable ex) Take the arguments at the method execution join point and output a set of arguments to the advice method.protected Object[]AbstractAspectJAdvice.argBinding(org.aspectj.lang.JoinPoint jp, org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable ex) Take the arguments at the method execution join point and output a set of arguments to the advice method.voidbooleanbooleanbooleanprotected ObjectAbstractAspectJAdvice.invokeAdviceMethod(org.aspectj.lang.JoinPoint jp, org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable t) protected ObjectAbstractAspectJAdvice.invokeAdviceMethod(org.aspectj.lang.JoinPoint jp, org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable t) protected ObjectAbstractAspectJAdvice.invokeAdviceMethod(org.aspectj.lang.JoinPoint jp, org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable t) protected ObjectAbstractAspectJAdvice.invokeAdviceMethod(org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable ex) Invoke the advice method.protected ObjectAbstractAspectJAdvice.invokeAdviceMethod(org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable ex) Invoke the advice method.protected ObjectAbstractAspectJAdvice.invokeAdviceMethod(org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable ex) Invoke the advice method.voidAspectJExpressionPointcutAdvisor.setExpression(String expression) voidAspectJExpressionPointcutAdvisor.setLocation(String location) voidAspectJAdviceParameterNameDiscoverer.setReturningName(String returningName) IfafterReturningadvice binds the return value, thereturningvariable name must be specified.voidAspectJAdviceParameterNameDiscoverer.setThrowingName(String throwingName) IfafterThrowingadvice binds the thrown value, thethrowingvariable name must be specified.Constructor parameters in org.springframework.aop.aspectj with annotations of type NullableModifierConstructorDescriptionAspectJAdviceParameterNameDiscoverer(String pointcutExpression) Create a new discoverer that attempts to discover parameter names. -
Uses of Nullable in org.springframework.aop.aspectj.annotation
Methods in org.springframework.aop.aspectj.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected static AbstractAspectJAdvisorFactory.AspectJAnnotationAbstractAspectJAdvisorFactory.findAspectJAnnotationOnMethod(Method method) Find and return the first AspectJ annotation on the given method (there should only be one anyway...).AspectJAdvisorFactory.getAdvice(Method candidateAdviceMethod, AspectJExpressionPointcut expressionPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, String aspectName) Build a Spring AOP Advice for the given AspectJ advice method.ReflectiveAspectJAdvisorFactory.getAdvice(Method candidateAdviceMethod, AspectJExpressionPointcut expressionPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, String aspectName) AspectJAdvisorFactory.getAdvisor(Method candidateAdviceMethod, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, String aspectName) Build a Spring AOP Advisor for the given AspectJ advice method.ReflectiveAspectJAdvisorFactory.getAdvisor(Method candidateAdviceMethod, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrderInAspect, String aspectName) BeanFactoryAspectInstanceFactory.getAspectClassLoader()LazySingletonAspectInstanceFactoryDecorator.getAspectClassLoader()BeanFactoryAspectInstanceFactory.getAspectCreationMutex()LazySingletonAspectInstanceFactoryDecorator.getAspectCreationMutex()MetadataAwareAspectInstanceFactory.getAspectCreationMutex()Get the best possible creation mutex for this factory.Constructor parameters in org.springframework.aop.aspectj.annotation with annotations of type NullableModifierConstructorDescriptionBeanFactoryAspectInstanceFactory(BeanFactory beanFactory, String name, Class<?> type) Create a BeanFactoryAspectInstanceFactory, providing a type that AspectJ should introspect to create AJType metadata.ReflectiveAspectJAdvisorFactory(BeanFactory beanFactory) Create a newReflectiveAspectJAdvisorFactory, propagating the givenBeanFactoryto the createdAspectJExpressionPointcutinstances, for bean pointcut handling as well as consistentClassLoaderresolution. -
Uses of Nullable in org.springframework.aop.config
Methods in org.springframework.aop.config with annotations of type NullableModifier and TypeMethodDescriptionSimpleBeanFactoryAwareAspectInstanceFactory.getAspectClassLoader()MethodLocatingFactoryBean.getObject()AdvisorComponentDefinition.getSource()PointcutComponentDefinition.getSource()static BeanDefinitionAopConfigUtils.registerAspectJAnnotationAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry) static BeanDefinitionAopConfigUtils.registerAspectJAnnotationAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, Object source) static BeanDefinitionAopConfigUtils.registerAspectJAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry) static BeanDefinitionAopConfigUtils.registerAspectJAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, Object source) static BeanDefinitionAopConfigUtils.registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry) static BeanDefinitionAopConfigUtils.registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, Object source) Method parameters in org.springframework.aop.config with annotations of type NullableModifier and TypeMethodDescriptionstatic BeanDefinitionAopConfigUtils.registerAspectJAnnotationAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, Object source) static BeanDefinitionAopConfigUtils.registerAspectJAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, Object source) static BeanDefinitionAopConfigUtils.registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, Object source) Constructor parameters in org.springframework.aop.config with annotations of type NullableModifierConstructorDescriptionAdvisorComponentDefinition(String advisorBeanName, BeanDefinition advisorDefinition, BeanDefinition pointcutDefinition) AspectComponentDefinition(String aspectName, BeanDefinition[] beanDefinitions, BeanReference[] beanReferences, Object source) AspectComponentDefinition(String aspectName, BeanDefinition[] beanDefinitions, BeanReference[] beanReferences, Object source) AspectComponentDefinition(String aspectName, BeanDefinition[] beanDefinitions, BeanReference[] beanReferences, Object source) -
Uses of Nullable in org.springframework.aop.framework
Fields in org.springframework.aop.framework with annotations of type NullableModifier and TypeFieldDescriptionprotected AdvisorAbstractAdvisingBeanPostProcessor.advisorprotected final ObjectReflectiveMethodInvocation.targetMethods in org.springframework.aop.framework with annotations of type NullableModifier and TypeMethodDescriptionProxyFactoryBean.getObject()Return a proxy.Class<?>AbstractSingletonProxyFactoryBean.getObjectType()Class<?>ProxyFactoryBean.getObjectType()Return the type of the proxy.protected ClassLoaderProxyProcessorSupport.getProxyClassLoader()Return the configured proxy ClassLoader for this processor.static ObjectAopProxyUtils.getSingletonTarget(Object candidate) Obtain the singleton target object behind the given proxy, if any.Class<?>AdvisedSupport.getTargetClass()final ObjectReflectiveMethodInvocation.getThis()ReflectiveMethodInvocation.getUserAttribute(String key) protected ObjectReflectiveMethodInvocation.invokeJoinpoint()Invoke the joinpoint using reflection.ReflectiveMethodInvocation.proceed()Method parameters in org.springframework.aop.framework with annotations of type NullableModifier and TypeMethodDescriptionbooleanAdvisedSupport.adviceIncluded(Advice advice) Is the given advice included in any advisor within this proxy configuration?intAdvisedSupport.countAdvicesOfType(Class<?> adviceClass) Count advices of the given class.AdvisedSupport.getInterceptorsAndDynamicInterceptionAdvice(Method method, Class<?> targetClass) Determine a list ofMethodInterceptorobjects for the given method, based on this configuration.AdvisorChainFactory.getInterceptorsAndDynamicInterceptionAdvice(Advised config, Method method, Class<?> targetClass) Determine a list ofMethodInterceptorobjects for the given advisor chain configuration.DefaultAdvisorChainFactory.getInterceptorsAndDynamicInterceptionAdvice(Advised config, Method method, Class<?> targetClass) AopProxy.getProxy(ClassLoader classLoader) Create a new proxy object.ProxyFactory.getProxy(ClassLoader classLoader) Create a new proxy according to the settings in this factory.Class<?>AopProxy.getProxyClass(ClassLoader classLoader) Determine the proxy class.Class<?>ProxyFactory.getProxyClass(ClassLoader classLoader) Determine the proxy class according to the settings in this factory.voidProxyFactoryBean.setProxyClassLoader(ClassLoader classLoader) Set the ClassLoader to generate the proxy class in.voidProxyProcessorSupport.setProxyClassLoader(ClassLoader classLoader) Set the ClassLoader to generate the proxy class in.voidAdvisedSupport.setTargetClass(Class<?> targetClass) Set a target class to be proxied, indicating that the proxy should be castable to the given class.voidAdvisedSupport.setTargetSource(TargetSource targetSource) voidReflectiveMethodInvocation.setUserAttribute(String key, Object value) Constructor parameters in org.springframework.aop.framework with annotations of type NullableModifierConstructorDescriptionprotectedReflectiveMethodInvocation(Object proxy, Object target, Method method, Object[] arguments, Class<?> targetClass, List<Object> interceptorsAndDynamicMethodMatchers) Construct a new ReflectiveMethodInvocation with the given arguments.protectedReflectiveMethodInvocation(Object proxy, Object target, Method method, Object[] arguments, Class<?> targetClass, List<Object> interceptorsAndDynamicMethodMatchers) Construct a new ReflectiveMethodInvocation with the given arguments.protectedReflectiveMethodInvocation(Object proxy, Object target, Method method, Object[] arguments, Class<?> targetClass, List<Object> interceptorsAndDynamicMethodMatchers) Construct a new ReflectiveMethodInvocation with the given arguments. -
Uses of Nullable in org.springframework.aop.framework.adapter
Methods in org.springframework.aop.framework.adapter with annotations of type NullableModifier and TypeMethodDescriptionAfterReturningAdviceInterceptor.invoke(MethodInvocation mi) MethodBeforeAdviceInterceptor.invoke(MethodInvocation mi) ThrowsAdviceInterceptor.invoke(MethodInvocation mi) -
Uses of Nullable in org.springframework.aop.framework.autoproxy
Fields in org.springframework.aop.framework.autoproxy with annotations of type NullableModifier and TypeFieldDescriptionprotected static final Object[]AbstractAutoProxyCreator.DO_NOT_PROXYConvenience constant for subclasses: Return value for "do not proxy".Methods in org.springframework.aop.framework.autoproxy with annotations of type NullableModifier and TypeMethodDescriptionConstructor<?>[]AbstractAutoProxyCreator.determineCandidateConstructors(Class<?> beanClass, String beanName) static Class<?>AutoProxyUtils.determineTargetClass(ConfigurableListableBeanFactory beanFactory, String beanName) Determine the original target class for the specified bean, if possible, otherwise falling back to a regulargetTypelookup.protected Object[]AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean(Class<?> beanClass, String beanName, TargetSource targetSource) protected abstract Object[]AbstractAutoProxyCreator.getAdvicesAndAdvisorsForBean(Class<?> beanClass, String beanName, TargetSource customTargetSource) Return whether the given bean is to be proxied, what additional advices (e.g.protected Object[]BeanNameAutoProxyCreator.getAdvicesAndAdvisorsForBean(Class<?> beanClass, String beanName, TargetSource targetSource) Identify as a bean to proxy if the bean name matches one of the names in the configured list of supported names.DefaultAdvisorAutoProxyCreator.getAdvisorBeanNamePrefix()Return the prefix for bean names that will cause them to be included for auto-proxying by this object.protected BeanFactoryAbstractAutoProxyCreator.getBeanFactory()Return the owningBeanFactory.static StringProxyCreationContext.getCurrentProxiedBeanName()Return the name of the currently proxied bean instance.protected TargetSourceAbstractAutoProxyCreator.getCustomTargetSource(Class<?> beanClass, String beanName) Create a target source for bean instances.TargetSourceCreator.getTargetSource(Class<?> beanClass, String beanName) Create a special TargetSource for the given bean, if any.Class<?>AbstractAutoProxyCreator.predictBeanType(Class<?> beanClass, String beanName) Method parameters in org.springframework.aop.framework.autoproxy with annotations of type NullableModifier and TypeMethodDescriptionprotected Advisor[]AbstractAutoProxyCreator.buildAdvisors(String beanName, Object[] specificInterceptors) Determine the advisors for the given bean, including the specific interceptors as well as the common interceptor, all adapted to the Advisor interface.protected Advisor[]AbstractAutoProxyCreator.buildAdvisors(String beanName, Object[] specificInterceptors) Determine the advisors for the given bean, including the specific interceptors as well as the common interceptor, all adapted to the Advisor interface.protected ObjectAbstractAutoProxyCreator.createProxy(Class<?> beanClass, String beanName, Object[] specificInterceptors, TargetSource targetSource) Create an AOP proxy for the given bean.protected ObjectAbstractAutoProxyCreator.createProxy(Class<?> beanClass, String beanName, Object[] specificInterceptors, TargetSource targetSource) Create an AOP proxy for the given bean.static Class<?>AutoProxyUtils.determineTargetClass(ConfigurableListableBeanFactory beanFactory, String beanName) Determine the original target class for the specified bean, if possible, otherwise falling back to a regulargetTypelookup.protected Object[]AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean(Class<?> beanClass, String beanName, TargetSource targetSource) protected abstract Object[]AbstractAutoProxyCreator.getAdvicesAndAdvisorsForBean(Class<?> beanClass, String beanName, TargetSource customTargetSource) Return whether the given bean is to be proxied, what additional advices (e.g.protected Object[]BeanNameAutoProxyCreator.getAdvicesAndAdvisorsForBean(Class<?> beanClass, String beanName, TargetSource targetSource) Identify as a bean to proxy if the bean name matches one of the names in the configured list of supported names.protected ObjectAbstractAutoProxyCreator.getCacheKey(Class<?> beanClass, String beanName) Build a cache key for the given bean class and bean name.AbstractAutoProxyCreator.postProcessAfterInitialization(Object bean, String beanName) Create a proxy with the configured interceptors if the bean is identified as one to proxy by the subclass.voidDefaultAdvisorAutoProxyCreator.setAdvisorBeanNamePrefix(String advisorBeanNamePrefix) Set the prefix for bean names that will cause them to be included for auto-proxying by this object.protected booleanAbstractAutoProxyCreator.shouldProxyTargetClass(Class<?> beanClass, String beanName) Determine whether the given bean should be proxied with its target class rather than its interfaces.static booleanAutoProxyUtils.shouldProxyTargetClass(ConfigurableListableBeanFactory beanFactory, String beanName) Determine whether the given bean should be proxied with its target class rather than its interfaces. -
Uses of Nullable in org.springframework.aop.framework.autoproxy.target
Methods in org.springframework.aop.framework.autoproxy.target with annotations of type NullableModifier and TypeMethodDescriptionprotected abstract AbstractBeanFactoryBasedTargetSourceAbstractBeanFactoryBasedTargetSourceCreator.createBeanFactoryBasedTargetSource(Class<?> beanClass, String beanName) Subclasses must implement this method to return a new AbstractPrototypeBasedTargetSource if they wish to create a custom TargetSource for this bean, ornullif they are not interested it in, in which case no special target source will be created.protected AbstractBeanFactoryBasedTargetSourceLazyInitTargetSourceCreator.createBeanFactoryBasedTargetSource(Class<?> beanClass, String beanName) protected final AbstractBeanFactoryBasedTargetSourceQuickTargetSourceCreator.createBeanFactoryBasedTargetSource(Class<?> beanClass, String beanName) protected final BeanFactoryAbstractBeanFactoryBasedTargetSourceCreator.getBeanFactory()Return the BeanFactory that this TargetSourceCreators runs in.final TargetSourceAbstractBeanFactoryBasedTargetSourceCreator.getTargetSource(Class<?> beanClass, String beanName) -
Uses of Nullable in org.springframework.aop.interceptor
Fields in org.springframework.aop.interceptor with annotations of type NullableModifier and TypeFieldDescriptionprotected LogAbstractTraceInterceptor.defaultLoggerThe defaultLoginstance used to write trace messages.Methods in org.springframework.aop.interceptor with annotations of type NullableModifier and TypeMethodDescriptionprotected AsyncTaskExecutorAsyncExecutionAspectSupport.determineAsyncExecutor(Method method) Determine the specific executor to use when executing the given method.protected ObjectAsyncExecutionAspectSupport.doSubmit(Callable<Object> task, AsyncTaskExecutor executor, Class<?> returnType) Delegate for actually executing the given task with the chosen executor.protected ExecutorAsyncExecutionAspectSupport.findQualifiedExecutor(BeanFactory beanFactory, String qualifier) Retrieve a target executor for the given qualifier.protected ExecutorAsyncExecutionAspectSupport.getDefaultExecutor(BeanFactory beanFactory) Retrieve or build a default executor for this advice instance.protected ExecutorAsyncExecutionInterceptor.getDefaultExecutor(BeanFactory beanFactory) This implementation searches for a uniqueTaskExecutorbean in the context, or for anExecutorbean named "taskExecutor" otherwise.protected abstract StringAsyncExecutionAspectSupport.getExecutorQualifier(Method method) Return the qualifier or bean name of the executor to be used when executing the given async method, typically specified in the form of an annotation attribute.protected StringAsyncExecutionInterceptor.getExecutorQualifier(Method method) Get the qualifier for a specific executor to use when executing the given method.AbstractTraceInterceptor.invoke(MethodInvocation invocation) Determines whether logging is enabled for the particularMethodInvocation.AsyncExecutionInterceptor.invoke(MethodInvocation invocation) Intercept the given method invocation, submit the actual calling of the method to the correct task executor and return immediately to the caller.ConcurrencyThrottleInterceptor.invoke(MethodInvocation methodInvocation) DebugInterceptor.invoke(MethodInvocation invocation) ExposeInvocationInterceptor.invoke(MethodInvocation mi) protected abstract ObjectAbstractTraceInterceptor.invokeUnderTrace(MethodInvocation invocation, Log logger) Subclasses must override this method to perform any tracing around the suppliedMethodInvocation.Method parameters in org.springframework.aop.interceptor with annotations of type NullableModifier and TypeMethodDescriptionvoidAsyncExecutionAspectSupport.configure(Supplier<Executor> defaultExecutor, Supplier<AsyncUncaughtExceptionHandler> exceptionHandler) Configure this aspect with the given executor and exception handler suppliers, applying the corresponding default if a supplier is not resolvable.voidAsyncExecutionAspectSupport.configure(Supplier<Executor> defaultExecutor, Supplier<AsyncUncaughtExceptionHandler> exceptionHandler) Configure this aspect with the given executor and exception handler suppliers, applying the corresponding default if a supplier is not resolvable.protected ExecutorAsyncExecutionAspectSupport.findQualifiedExecutor(BeanFactory beanFactory, String qualifier) Retrieve a target executor for the given qualifier.protected ExecutorAsyncExecutionAspectSupport.getDefaultExecutor(BeanFactory beanFactory) Retrieve or build a default executor for this advice instance.protected ExecutorAsyncExecutionInterceptor.getDefaultExecutor(BeanFactory beanFactory) This implementation searches for a uniqueTaskExecutorbean in the context, or for anExecutorbean named "taskExecutor" otherwise.protected StringCustomizableTraceInterceptor.replacePlaceholders(String message, MethodInvocation methodInvocation, Object returnValue, Throwable throwable, long invocationTime) Replace the placeholders in the given message with the supplied values, or values derived from those supplied.protected StringCustomizableTraceInterceptor.replacePlaceholders(String message, MethodInvocation methodInvocation, Object returnValue, Throwable throwable, long invocationTime) Replace the placeholders in the given message with the supplied values, or values derived from those supplied.voidSet the text that will get appended to the trace data.voidSet the text that will get prepended to the trace data.protected voidAbstractTraceInterceptor.writeToLog(Log logger, String message, Throwable ex) Write the supplied trace message andThrowableto the suppliedLoginstance.Constructor parameters in org.springframework.aop.interceptor with annotations of type NullableModifierConstructorDescriptionAsyncExecutionAspectSupport(Executor defaultExecutor) Create a new instance with a defaultAsyncUncaughtExceptionHandler.AsyncExecutionAspectSupport(Executor defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler) Create a newAsyncExecutionAspectSupportwith the given exception handler.AsyncExecutionInterceptor(Executor defaultExecutor) Create a new instance with a defaultAsyncUncaughtExceptionHandler.AsyncExecutionInterceptor(Executor defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler) Create a newAsyncExecutionInterceptor. -
Uses of Nullable in org.springframework.aop.scope
Method parameters in org.springframework.aop.scope with annotations of type NullableModifier and TypeMethodDescriptionstatic StringScopedProxyUtils.getOriginalBeanName(String targetBeanName) Get the original bean name for the provided target bean name.static booleanScopedProxyUtils.isScopedTarget(String beanName) Determine if thebeanNameis the name of a bean that references the target bean within a scoped proxy. -
Uses of Nullable in org.springframework.aop.support
Methods in org.springframework.aop.support with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectDelegatePerTargetObjectIntroductionInterceptor.doProceed(MethodInvocation mi) Proceed with the suppliedMethodInterceptor.protected ObjectDelegatingIntroductionInterceptor.doProceed(MethodInvocation mi) Proceed with the suppliedMethodInterceptor.AbstractBeanFactoryPointcutAdvisor.getAdviceBeanName()Return the name of the advice bean that this advisor refers to, if any.AbstractExpressionPointcut.getExpression()Return this pointcut's expression.ExpressionPointcut.getExpression()Return the String expression for this pointcut.AbstractExpressionPointcut.getLocation()Return location information about the pointcut expression if available.DelegatePerTargetObjectIntroductionInterceptor.invoke(MethodInvocation mi) Subclasses may need to override this if they want to perform custom behaviour in around advice.DelegatingIntroductionInterceptor.invoke(MethodInvocation mi) Subclasses may need to override this if they want to perform custom behaviour in around advice.static ObjectAopUtils.invokeJoinpointUsingReflection(Object target, Method method, Object[] args) Invoke the given target via reflection, as part of an AOP method invocation.Method parameters in org.springframework.aop.support with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanstatic MethodAopUtils.getMostSpecificMethod(Method method, Class<?> targetClass) Given a method, which may come from an interface, and a target class used in the current AOP invocation, find the corresponding target method if there is one.static ObjectAopUtils.invokeJoinpointUsingReflection(Object target, Method method, Object[] args) Invoke the given target via reflection, as part of an AOP method invocation.static booleanAopUtils.isAopProxy(Object object) Check whether the given object is a JDK dynamic proxy or a CGLIB proxy.static booleanAopUtils.isCglibProxy(Object object) Check whether the given object is a CGLIB proxy.static booleanAopUtils.isEqualsMethod(Method method) Determine whether the given method is an "equals" method.static booleanAopUtils.isFinalizeMethod(Method method) Determine whether the given method is a "finalize" method.static booleanAopUtils.isHashCodeMethod(Method method) Determine whether the given method is a "hashCode" method.static booleanAopUtils.isJdkDynamicProxy(Object object) Check whether the given object is a JDK dynamic proxy.static booleanAopUtils.isToStringMethod(Method method) Determine whether the given method is a "toString" method.protected voidAbstractExpressionPointcut.onSetExpression(String expression) Called when a new pointcut expression is set.static MethodAopUtils.selectInvocableMethod(Method method, Class<?> targetType) Select an invocable method on the target type: either the given method itself if actually exposed on the target type, or otherwise a corresponding method on one of the target type's interfaces or on the target type itself.voidAbstractBeanFactoryPointcutAdvisor.setAdviceBeanName(String adviceBeanName) Specify the name of the advice bean that this advisor should refer to.voidAbstractExpressionPointcut.setExpression(String expression) voidAbstractExpressionPointcut.setLocation(String location) Set the location for debugging.voidDefaultBeanFactoryPointcutAdvisor.setPointcut(Pointcut pointcut) Specify the pointcut targeting the advice.voidDefaultPointcutAdvisor.setPointcut(Pointcut pointcut) Specify the pointcut targeting the advice.Constructor parameters in org.springframework.aop.support with annotations of type NullableModifierConstructorDescriptionControlFlowPointcut(Class<?> clazz, String methodName) Construct a new pointcut that matches all calls below the given method in the given class.DefaultIntroductionAdvisor(Advice advice, IntroductionInfo introductionInfo) Create a DefaultIntroductionAdvisor for the given advice. -
Uses of Nullable in org.springframework.aop.support.annotation
Method parameters in org.springframework.aop.support.annotation with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanbooleanConstructor parameters in org.springframework.aop.support.annotation with annotations of type NullableModifierConstructorDescriptionAnnotationMatchingPointcut(Class<? extends Annotation> classAnnotationType, Class<? extends Annotation> methodAnnotationType) Create a new AnnotationMatchingPointcut for the given annotation types.AnnotationMatchingPointcut(Class<? extends Annotation> classAnnotationType, Class<? extends Annotation> methodAnnotationType) Create a new AnnotationMatchingPointcut for the given annotation types.AnnotationMatchingPointcut(Class<? extends Annotation> classAnnotationType, Class<? extends Annotation> methodAnnotationType, boolean checkInherited) Create a new AnnotationMatchingPointcut for the given annotation types.AnnotationMatchingPointcut(Class<? extends Annotation> classAnnotationType, Class<? extends Annotation> methodAnnotationType, boolean checkInherited) Create a new AnnotationMatchingPointcut for the given annotation types. -
Uses of Nullable in org.springframework.aop.target
Methods in org.springframework.aop.target with annotations of type NullableModifier and TypeMethodDescriptionabstract ObjectAbstractPoolingTargetSource.getTarget()Acquire an object from the pool.EmptyTargetSource.getTarget()Always returnsnull.Class<?>AbstractBeanFactoryBasedTargetSource.getTargetClass()Class<?>AbstractLazyCreationTargetSource.getTargetClass()This default implementation returnsnullif the target isnull(it is hasn't yet been initialized), or the target class if the target has already been initialized.Class<?>EmptyTargetSource.getTargetClass()Always returns the specified target Class, ornullif none.Method parameters in org.springframework.aop.target with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanbooleanTwo HotSwappableTargetSources are equal if the current target objects are equal.booleanTwo invoker interceptors are equal if they have the same target or if the targets or the targets are equal.static EmptyTargetSourceReturn an EmptyTargetSource for the given target Class.static EmptyTargetSourceReturn an EmptyTargetSource for the given target Class. -
Uses of Nullable in org.springframework.aop.target.dynamic
Fields in org.springframework.aop.target.dynamic with annotations of type NullableMethods in org.springframework.aop.target.dynamic with annotations of type Nullable -
Uses of Nullable in org.springframework.aot.agent
Methods in org.springframework.aot.agent with annotations of type NullableModifier and TypeMethodDescriptionstatic URLInstrumentedBridgeMethods.classgetResource(Class<?> clazz, String name) Deprecated.static InputStreamInstrumentedBridgeMethods.classgetResourceAsStream(Class<?> clazz, String name) Deprecated.static URLInstrumentedBridgeMethods.classloadergetResource(ClassLoader classLoader, String name) Deprecated.static InputStreamInstrumentedBridgeMethods.classloadergetResourceAsStream(ClassLoader classLoader, String name) Deprecated.<T> TRecordedInvocation.getReturnValue()Return the value actually returned by the invoked method.Method parameters in org.springframework.aot.agent with annotations of type NullableModifier and TypeMethodDescriptionbooleanstatic voidRuntimeHintsAgent.premain(String agentArgs, Instrumentation inst) RecordedInvocation.Builder.returnValue(Object returnValue) Use the given object as the return value for the invocation.RecordedInvocation.Builder.withArgument(Object argument) Use the given object as the unique argument.RecordedInvocation.Builder.withArguments(Object... arguments) Use the given objects as the invocation arguments. -
Uses of Nullable in org.springframework.aot.generate
Methods in org.springframework.aot.generate with annotations of type NullableModifier and TypeMethodDescriptionorg.springframework.javapoet.CodeBlockMethodReference.ArgumentCodeGenerator.generateCode(org.springframework.javapoet.TypeName argumentType) Generate the code for the given argument type.GeneratedClass.getEnclosingClass()Return the enclosingGeneratedClassornullif this instance represents a top-level class.InMemoryGeneratedFiles.getGeneratedFile(GeneratedFiles.Kind kind, String path) Return theInputStreamSourceof specified file.InMemoryGeneratedFiles.getGeneratedFileContent(GeneratedFiles.Kind kind, String path) Return the content of the specified file.Method parameters in org.springframework.aot.generate with annotations of type NullableModifier and TypeMethodDescriptionorg.springframework.javapoet.ClassNameClassNameGenerator.generateClassName(String featureName, org.springframework.javapoet.ClassName target) Generate a uniqueClassNamebased on the specifiedfeatureNameandtarget.org.springframework.javapoet.CodeBlockDefaultMethodReference.toInvokeCodeBlock(MethodReference.ArgumentCodeGenerator argumentCodeGenerator, org.springframework.javapoet.ClassName targetClassName) org.springframework.javapoet.CodeBlockMethodReference.toInvokeCodeBlock(MethodReference.ArgumentCodeGenerator argumentCodeGenerator, org.springframework.javapoet.ClassName targetClassName) Return this method reference as aCodeBlockusing the specifiedMethodReference.ArgumentCodeGenerator.Constructor parameters in org.springframework.aot.generate with annotations of type NullableModifierConstructorDescriptionDefaultMethodReference(org.springframework.javapoet.MethodSpec method, org.springframework.javapoet.ClassName declaringClass) -
Uses of Nullable in org.springframework.aot.hint
Methods in org.springframework.aot.hint with annotations of type NullableModifier and TypeMethodDescriptionAbstractTypeReference.getEnclosingType()TypeReference.getEnclosingType()Return the enclosing type reference, ornullif this type reference does not have an enclosing type.ConditionalHint.getReachableType()Return the type that should be reachable for this hint to apply, ornullif this hint should always been applied.JavaSerializationHint.getReachableType()JdkProxyHint.getReachableType()ResourceBundleHint.getReachableType()ResourcePatternHint.getReachableType()TypeHint.getReachableType()ReflectionHints.getTypeHint(Class<?> type) Return the reflection hints for the specified type.ReflectionHints.getTypeHint(TypeReference type) Return the reflection hints for the type defined by the specifiedTypeReference.Method parameters in org.springframework.aot.hint with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanResourcePatternHints.Builder.includes(TypeReference reachableType, String... includes) Include resources matching the specified patterns.voidRuntimeHintsRegistrar.registerHints(RuntimeHints hints, ClassLoader classLoader) Contribute hints to the givenRuntimeHintsinstance.ResourceHints.registerPattern(Consumer<ResourcePatternHints.Builder> resourceHint) Register that the resources matching the specified pattern should be made available at runtime.ResourceHints.registerPatternIfPresent(ClassLoader classLoader, String location, Consumer<ResourcePatternHints.Builder> resourceHint) Register a pattern if the givenlocationis available on the classpath.ResourceHints.registerResourceBundle(String baseName, Consumer<ResourceBundleHint.Builder> resourceHint) Register that the resource bundle with the specified base name should be made available at runtime.SerializationHints.registerType(Class<? extends Serializable> type, Consumer<JavaSerializationHint.Builder> serializationHint) Register that the specified type need to be serialized using java serialization.SerializationHints.registerType(TypeReference type, Consumer<JavaSerializationHint.Builder> serializationHint) Register that the type defined by the specifiedTypeReferenceneed to be serialized using java serialization.ReflectionHints.registerTypeIfPresent(ClassLoader classLoader, String typeName, Consumer<TypeHint.Builder> typeHint) Register or customize reflection hints for the specified type if it is available using the specifiedClassLoader.ReflectionHints.registerTypeIfPresent(ClassLoader classLoader, String typeName, MemberCategory... memberCategories) Register or customize reflection hints for the specified type if it is available using the specifiedClassLoader.Constructor parameters in org.springframework.aot.hint with annotations of type NullableModifierConstructorDescriptionprotectedAbstractTypeReference(String packageName, String simpleName, TypeReference enclosingType) -
Uses of Nullable in org.springframework.aot.hint.support
Method parameters in org.springframework.aot.hint.support with annotations of type NullableModifier and TypeMethodDescriptionvoidFilePatternResourceHintsRegistrar.Builder.registerHints(ResourceHints hints, ClassLoader classLoader) Register resource hints for the current state of this builder.voidFilePatternResourceHintsRegistrar.registerHints(ResourceHints hints, ClassLoader classLoader) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Nullable in org.springframework.aot.nativex
Constructor parameters in org.springframework.aot.nativex with annotations of type NullableModifierConstructorDescriptionFileNativeConfigurationWriter(Path basePath, String groupId, String artifactId) FileNativeConfigurationWriter(Path basePath, String groupId, String artifactId) -
Uses of Nullable in org.springframework.beans
Fields in org.springframework.beans with annotations of type NullableModifier and TypeFieldDescriptionString[]AbstractNestablePropertyAccessor.PropertyTokenHolder.keysMethods in org.springframework.beans with annotations of type NullableModifier and TypeMethodDescriptionstatic String[]PropertyAccessorUtils.canonicalPropertyNames(String[] propertyNames) Determine the canonical names for the given property paths.protected ObjectAbstractNestablePropertyAccessor.convertForProperty(String propertyName, Object oldValue, Object newValue, TypeDescriptor td) BeanWrapperImpl.convertForProperty(Object value, String propertyName) Convert the given value for the specified property to the latter's type.<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType) Convert the value to the required type (if necessary from a String).<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, Field field) Convert the value to the required type (if necessary from a String).default <T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) Convert the value to the required type (if necessary from a String).<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) Convert the value to the required type (if necessary from a String).<T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, Field field) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) PropertyEditorRegistry.findCustomEditor(Class<?> requiredType, String propertyPath) Find a custom property editor for the given type and property.PropertyEditorRegistrySupport.findCustomEditor(Class<?> requiredType, String propertyPath) static MethodBeanUtils.findDeclaredMethod(Class<?> clazz, String methodName, Class<?>... paramTypes) Find a method with the given method name and the given parameter types, declared on the given class or one of its superclasses.static MethodBeanUtils.findDeclaredMethodWithMinimalParameters(Class<?> clazz, String methodName) Find a method with the given method name and minimal parameters (best case: none), declared on the given class or one of its superclasses.static PropertyEditorBeanUtils.findEditorByConvention(Class<?> targetType) Find a JavaBeans PropertyEditor following the 'Editor' suffix convention (e.g.static MethodBeanUtils.findMethod(Class<?> clazz, String methodName, Class<?>... paramTypes) Find a method with the given method name and the given parameter types, declared on the given class or one of its superclasses.static MethodBeanUtils.findMethodWithMinimalParameters(Class<?> clazz, String methodName) Find a method with the given method name and minimal parameters (best case: none), declared on the given class or one of its superclasses.static MethodBeanUtils.findMethodWithMinimalParameters(Method[] methods, String methodName) Find a method with the given method name and minimal parameters (best case: none) in the given list of methods.static <T> Constructor<T>BeanUtils.findPrimaryConstructor(Class<T> clazz) Return the primary constructor of the provided class.static PropertyDescriptorBeanUtils.findPropertyForMethod(Method method) Find a JavaBeansPropertyDescriptorfor the given method, with the method either being the read method or the write method for that bean property.static PropertyDescriptorBeanUtils.findPropertyForMethod(Method method, Class<?> clazz) Find a JavaBeansPropertyDescriptorfor the given method, with the method either being the read method or the write method for that bean property.Get the raw property value, if any.BeanMetadataAttributeAccessor.getAttribute(String name) BeanInfoFactory.getBeanInfo(Class<?> beanClass) Return the bean info for the given class, if supported.Class<?>AbstractNestablePropertyAccessor.PropertyHandler.getCollectionType(int nestingLevel) BeanInstantiationException.getConstructingMethod()Return the delegate for bean construction purposes, if known.Constructor<?>BeanInstantiationException.getConstructor()Return the offending constructor, if known.ConfigurablePropertyAccessor.getConversionService()Return the associated ConversionService, if any.PropertyEditorRegistrySupport.getConversionService()Return the associated ConversionService, if any.PropertyValue.getConvertedValue()Return the converted value of this property value, after processed type conversion.PropertyEditorRegistrySupport.getDefaultEditor(Class<?> requiredType) Retrieve the default editor for the given property type, if any.protected abstract AbstractNestablePropertyAccessor.PropertyHandlerAbstractNestablePropertyAccessor.getLocalPropertyHandler(String propertyName) Return aAbstractNestablePropertyAccessor.PropertyHandlerfor the specified localpropertyName.protected org.springframework.beans.BeanWrapperImpl.BeanPropertyHandlerBeanWrapperImpl.getLocalPropertyHandler(String propertyName) protected org.springframework.beans.DirectFieldAccessor.FieldPropertyHandlerDirectFieldAccessor.getLocalPropertyHandler(String propertyName) Class<?>AbstractNestablePropertyAccessor.PropertyHandler.getMapKeyType(int nestingLevel) Class<?>AbstractNestablePropertyAccessor.PropertyHandler.getMapValueType(int nestingLevel) BeanMetadataAttributeAccessor.getMetadataAttribute(String name) Look up the given BeanMetadataAttribute in this accessor's set of attributes.String[]NotWritablePropertyException.getPossibleMatches()Return suggestions for actual bean property names that closely match the invalid property name, if any.PropertyBatchUpdateException.getPropertyAccessException(String propertyName) Return the exception for this field, ornullif there isn't any.PropertyAccessException.getPropertyChangeEvent()Return the PropertyChangeEvent that resulted in the problem.static PropertyDescriptorBeanUtils.getPropertyDescriptor(Class<?> clazz, String propertyName) Retrieve the JavaBeansPropertyDescriptorsfor the given property.AbstractNestablePropertyAccessor.getPropertyHandler(String propertyName) Return theAbstractNestablePropertyAccessor.PropertyHandlerfor the specifiedpropertyName, navigating if necessary.PropertyAccessException.getPropertyName()Return the name of the affected property, if available.TypeMismatchException.getPropertyName()Return the name of the affected property, if available.Class<?>AbstractNestablePropertyAccessor.getPropertyType(String propertyName) Class<?>AbstractNestablePropertyAccessor.PropertyHandler.getPropertyType()Class<?>AbstractPropertyAccessor.getPropertyType(String propertyPath) Class<?>PropertyAccessor.getPropertyType(String propertyName) Determine the property type for the specified property, either checking the property descriptor or checking the value in case of an indexed or mapped element.protected Class<?>PropertyEditorRegistrySupport.getPropertyType(String propertyPath) Determine the property type for the given property path.AbstractNestablePropertyAccessor.getPropertyTypeDescriptor(String propertyName) PropertyAccessor.getPropertyTypeDescriptor(String propertyName) Return a type descriptor for the specified property: preferably from the read method, falling back to the write method.AbstractNestablePropertyAccessor.getPropertyValue(String propertyName) protected ObjectAbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.PropertyTokenHolder tokens) abstract ObjectAbstractPropertyAccessor.getPropertyValue(String propertyName) Actually get the value of a property.MutablePropertyValues.getPropertyValue(String propertyName) PropertyAccessor.getPropertyValue(String propertyName) Get the current value of the specified property.PropertyValues.getPropertyValue(String propertyName) Return the property value with the given name, if any.Class<?>TypeMismatchException.getRequiredType()Return the required target type, if any.BeanMetadataAttribute.getSource()BeanMetadataAttributeAccessor.getSource()default ObjectBeanMetadataElement.getSource()Return the configuration sourceObjectfor this metadata element (may benull).abstract ObjectAbstractNestablePropertyAccessor.PropertyHandler.getValue()BeanMetadataAttribute.getValue()Return the value of the attribute.PropertyAccessException.getValue()Return the affected value that was about to be set, if any.PropertyValue.getValue()Return the value of the property.TypeMismatchException.getValue()Return the offending value (may benull).protected Class<?>PropertyEditorRegistrySupport.guessPropertyTypeFromEditors(String propertyName) Guess the property type of the specified property from the registered custom editors (provided that they were registered for a specific type).abstract TypeDescriptorAbstractNestablePropertyAccessor.PropertyHandler.nested(int level) BeanMetadataAttributeAccessor.removeAttribute(String name) static MethodBeanUtils.resolveSignature(String signature, Class<?> clazz) Parse a method signature in the formmethodName[([arg_list])], wherearg_listis an optional, comma-separated list of fully-qualified type names, and attempts to resolve that signature against the suppliedClass.Method parameters in org.springframework.beans with annotations of type NullableModifier and TypeMethodDescriptionstatic voidCachedIntrospectionResults.acceptClassLoader(ClassLoader classLoader) Accept the given ClassLoader as cache-safe, even if its classes would not qualify as cache-safe in this CachedIntrospectionResults class.Add a PropertyValue object, replacing any existing one for the corresponding property or getting merged with it (if applicable).MutablePropertyValues.addPropertyValues(Map<?, ?> other) Add all property values from the given Map.MutablePropertyValues.addPropertyValues(PropertyValues other) Copy all given PropertyValues into this object.static StringPropertyAccessorUtils.canonicalPropertyName(String propertyName) Determine the canonical name for the given property path.static String[]PropertyAccessorUtils.canonicalPropertyNames(String[] propertyNames) Determine the canonical names for the given property paths.static voidCachedIntrospectionResults.clearClassLoader(ClassLoader classLoader) Clear the introspection cache for the given ClassLoader, removing the introspection results for all classes underneath that ClassLoader, and removing the ClassLoader (and its children) from the acceptance list.booleanprotected ObjectAbstractNestablePropertyAccessor.convertForProperty(String propertyName, Object oldValue, Object newValue, TypeDescriptor td) protected ObjectAbstractNestablePropertyAccessor.convertForProperty(String propertyName, Object oldValue, Object newValue, TypeDescriptor td) BeanWrapperImpl.convertForProperty(Object value, String propertyName) Convert the given value for the specified property to the latter's type.<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType) Convert the value to the required type (if necessary from a String).<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType) Convert the value to the required type (if necessary from a String).<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, Field field) Convert the value to the required type (if necessary from a String).<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, Field field) Convert the value to the required type (if necessary from a String).<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, Field field) Convert the value to the required type (if necessary from a String).default <T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) Convert the value to the required type (if necessary from a String).default <T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) Convert the value to the required type (if necessary from a String).default <T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) Convert the value to the required type (if necessary from a String).<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) Convert the value to the required type (if necessary from a String).<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) Convert the value to the required type (if necessary from a String).<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) Convert the value to the required type (if necessary from a String).<T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, Field field) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, Field field) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, Field field) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) protected voidPropertyEditorRegistrySupport.copyCustomEditorsTo(PropertyEditorRegistry target, String nestedProperty) Copy the custom editors registered in this instance to the given target registry.booleanbooleanbooleanPropertyEditorRegistry.findCustomEditor(Class<?> requiredType, String propertyPath) Find a custom property editor for the given type and property.PropertyEditorRegistry.findCustomEditor(Class<?> requiredType, String propertyPath) Find a custom property editor for the given type and property.PropertyEditorRegistrySupport.findCustomEditor(Class<?> requiredType, String propertyPath) PropertyEditorRegistrySupport.findCustomEditor(Class<?> requiredType, String propertyPath) static PropertyEditorBeanUtils.findEditorByConvention(Class<?> targetType) Find a JavaBeans PropertyEditor following the 'Editor' suffix convention (e.g.static Class<?>BeanUtils.findPropertyType(String propertyName, Class<?>... beanClasses) Determine the bean property type for the given property from the given classes/interfaces, if possible.booleanPropertyEditorRegistrySupport.hasCustomEditorForElement(Class<?> elementType, String propertyPath) Determine whether this registry contains a custom editor for the specified array/collection element.booleanPropertyEditorRegistrySupport.hasCustomEditorForElement(Class<?> elementType, String propertyPath) Determine whether this registry contains a custom editor for the specified array/collection element.static booleanPropertyAccessorUtils.isNestedOrIndexedProperty(String propertyPath) Check whether the given property path indicates an indexed or nested property.Merge the current value set with that of the supplied object.voidPropertyEditorRegistry.registerCustomEditor(Class<?> requiredType, String propertyPath, PropertyEditor propertyEditor) Register the given custom property editor for the given type and property, or for all properties of the given type.voidPropertyEditorRegistry.registerCustomEditor(Class<?> requiredType, String propertyPath, PropertyEditor propertyEditor) Register the given custom property editor for the given type and property, or for all properties of the given type.voidPropertyEditorRegistrySupport.registerCustomEditor(Class<?> requiredType, String propertyPath, PropertyEditor propertyEditor) voidPropertyEditorRegistrySupport.registerCustomEditor(Class<?> requiredType, String propertyPath, PropertyEditor propertyEditor) voidBeanMetadataAttributeAccessor.setAttribute(String name, Object value) voidConfigurablePropertyAccessor.setConversionService(ConversionService conversionService) Specify aConversionServiceto use for converting property values, as an alternative to JavaBeans PropertyEditors.voidPropertyEditorRegistrySupport.setConversionService(ConversionService conversionService) Specify aConversionServiceto use for converting property values, as an alternative to JavaBeans PropertyEditors.voidPropertyValue.setConvertedValue(Object value) Set the converted value of this property value, after processed type conversion.voidAbstractNestablePropertyAccessor.setPropertyValue(String propertyName, Object value) abstract voidAbstractPropertyAccessor.setPropertyValue(String propertyName, Object value) Actually set a property value.voidPropertyAccessor.setPropertyValue(String propertyName, Object value) Set the specified value as current property value.voidSet the configuration sourceObjectfor this metadata element.voidSet the configuration sourceObjectfor this metadata element.abstract voidvoidAbstractNestablePropertyAccessor.setWrappedInstance(Object object, String nestedPath, Object rootObject) Switch the target object, replacing the cached introspection results only if the class of the new object is different to that of the replaced object.voidAbstractNestablePropertyAccessor.setWrappedInstance(Object object, String nestedPath, Object rootObject) Switch the target object, replacing the cached introspection results only if the class of the new object is different to that of the replaced object.voidBeanWrapperImpl.setWrappedInstance(Object object, String nestedPath, Object rootObject) voidBeanWrapperImpl.setWrappedInstance(Object object, String nestedPath, Object rootObject) Constructor parameters in org.springframework.beans with annotations of type NullableModifierConstructorDescriptionBeanInstantiationException(Class<?> beanClass, String msg, Throwable cause) Create a new BeanInstantiationException.BeanInstantiationException(Constructor<?> constructor, String msg, Throwable cause) Create a new BeanInstantiationException.BeanInstantiationException(Method constructingMethod, String msg, Throwable cause) Create a new BeanInstantiationException.BeanMetadataAttribute(String name, Object value) Create a new AttributeValue instance.BeansException(String msg, Throwable cause) Create a new BeansException with the specified message and root cause.BeansException(String msg, Throwable cause) Create a new BeansException with the specified message and root cause.ConversionNotSupportedException(PropertyChangeEvent propertyChangeEvent, Class<?> requiredType, Throwable cause) Create a new ConversionNotSupportedException.ConversionNotSupportedException(PropertyChangeEvent propertyChangeEvent, Class<?> requiredType, Throwable cause) Create a new ConversionNotSupportedException.ConversionNotSupportedException(Object value, Class<?> requiredType, Throwable cause) Create a new ConversionNotSupportedException.ConversionNotSupportedException(Object value, Class<?> requiredType, Throwable cause) Create a new ConversionNotSupportedException.ConversionNotSupportedException(Object value, Class<?> requiredType, Throwable cause) Create a new ConversionNotSupportedException.FatalBeanException(String msg, Throwable cause) Create a new FatalBeanException with the specified message and root cause.InvalidPropertyException(Class<?> beanClass, String propertyName, String msg, Throwable cause) Create a new InvalidPropertyException.MutablePropertyValues(List<PropertyValue> propertyValueList) Construct a new MutablePropertyValues object using the given List of PropertyValue objects as-is.MutablePropertyValues(Map<?, ?> original) Construct a new MutablePropertyValues object from a Map.MutablePropertyValues(PropertyValues original) Deep copy constructor.PropertyAccessException(PropertyChangeEvent propertyChangeEvent, String msg, Throwable cause) Create a new PropertyAccessException.PropertyAccessException(String msg, Throwable cause) Create a new PropertyAccessException without PropertyChangeEvent.PropertyHandler(Class<?> propertyType, boolean readable, boolean writable) PropertyValue(String name, Object value) Create a new PropertyValue instance.PropertyValue(PropertyValue original, Object newValue) Constructor that exposes a new value for an original value holder.TypeMismatchException(PropertyChangeEvent propertyChangeEvent, Class<?> requiredType, Throwable cause) Create a newTypeMismatchException.TypeMismatchException(PropertyChangeEvent propertyChangeEvent, Class<?> requiredType, Throwable cause) Create a newTypeMismatchException.TypeMismatchException(Object value, Class<?> requiredType) Create a newTypeMismatchExceptionwithout aPropertyChangeEvent.TypeMismatchException(Object value, Class<?> requiredType) Create a newTypeMismatchExceptionwithout aPropertyChangeEvent.TypeMismatchException(Object value, Class<?> requiredType, Throwable cause) Create a newTypeMismatchExceptionwithout aPropertyChangeEvent.TypeMismatchException(Object value, Class<?> requiredType, Throwable cause) Create a newTypeMismatchExceptionwithout aPropertyChangeEvent.TypeMismatchException(Object value, Class<?> requiredType, Throwable cause) Create a newTypeMismatchExceptionwithout aPropertyChangeEvent. -
Uses of Nullable in org.springframework.beans.factory
Fields in org.springframework.beans.factory with annotations of type NullableModifier and TypeFieldDescriptionprotected FieldInjectionPoint.fieldprotected MethodParameterInjectionPoint.methodParameterMethods in org.springframework.beans.factory with annotations of type NullableModifier and TypeMethodDescription<A extends Annotation>
AListableBeanFactory.findAnnotationOnBean(String beanName, Class<A> annotationType) Find anAnnotationofannotationTypeon the specified bean, traversing its interfaces and superclasses if no annotation can be found on the given class itself, as well as checking the bean's factory method (if any).<A extends Annotation>
AListableBeanFactory.findAnnotationOnBean(String beanName, Class<A> annotationType, boolean allowFactoryBeanInit) Find anAnnotationofannotationTypeon the specified bean, traversing its interfaces and superclasses if no annotation can be found on the given class itself, as well as checking the bean's factory method (if any).<A extends Annotation>
AInjectionPoint.getAnnotation(Class<A> annotationType) Retrieve a field/parameter annotation of the given type, if any.CannotLoadBeanClassException.getBeanClassName()Return the name of the class we were trying to load.BeanCreationException.getBeanName()Return the name of the bean requested, if any.BeanDefinitionStoreException.getBeanName()Return the name of the bean, if available.NoSuchBeanDefinitionException.getBeanName()Return the name of the missing bean, if it was a lookup by name that failed.NoUniqueBeanDefinitionException.getBeanNamesFound()Return the names of all beans found when only one matching bean was expected.Class<?>NoSuchBeanDefinitionException.getBeanType()Return the required type of the missing bean, if it was a lookup by type that failed.InjectionPoint.getField()Return the wrapped Field, if any.ObjectProvider.getIfAvailable()Return an instance (possibly shared or independent) of the object managed by this factory.ObjectProvider.getIfUnique()Return an instance (possibly shared or independent) of the object managed by this factory.UnsatisfiedDependencyException.getInjectionPoint()Return the injection point (field or method/constructor parameter), if known.InjectionPoint.getMethodParameter()Return the wrapped MethodParameter, if any.FactoryBean.getObject()Return an instance (possibly shared or independent) of the object managed by this factory.Class<?>FactoryBean.getObjectType()Return the type of object that this FactoryBean creates, ornullif not known in advance.HierarchicalBeanFactory.getParentBeanFactory()Return the parent bean factory, ornullif there is none.BeanCreationException.getRelatedCauses()Return the related causes, if any.NoSuchBeanDefinitionException.getResolvableType()Return the requiredResolvableTypeof the missing bean, if it was a lookup by type that failed.BeanCreationException.getResourceDescription()Return the description of the resource that the bean definition came from, if any.BeanDefinitionStoreException.getResourceDescription()Return the description of the resource that the bean definition came from, if available.CannotLoadBeanClassException.getResourceDescription()Return the description of the resource that the bean definition came from.Class<?>Determine the type of the bean with the given name.Class<?>Determine the type of the bean with the given name.Method parameters in org.springframework.beans.factory with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanString[]ListableBeanFactory.getBeanNamesForType(Class<?> type) Return the names of beans matching the given type (including subclasses), judging from either bean definitions or the value ofgetObjectTypein the case of FactoryBeans.String[]ListableBeanFactory.getBeanNamesForType(Class<?> type, boolean includeNonSingletons, boolean allowEagerInit) Return the names of beans matching the given type (including subclasses), judging from either bean definitions or the value ofgetObjectTypein the case of FactoryBeans.ListableBeanFactory.getBeansOfType(Class<T> type) Return the bean instances that match the given object type (including subclasses), judging from either bean definitions or the value ofgetObjectTypein the case of FactoryBeans.ListableBeanFactory.getBeansOfType(Class<T> type, boolean includeNonSingletons, boolean allowEagerInit) Return the bean instances that match the given object type (including subclasses), judging from either bean definitions or the value ofgetObjectTypein the case of FactoryBeans.static booleanBeanFactoryUtils.isFactoryDereference(String name) Return whether the given name is a factory dereference (beginning with the factory dereference prefix).static booleanBeanFactoryUtils.isGeneratedBeanName(String name) Return whether the given name is a bean name which has been generated by the default naming strategy (containing a "#..." part).Constructor parameters in org.springframework.beans.factory with annotations of type NullableModifierConstructorDescriptionBeanCreationException(String resourceDescription, String beanName, String msg) Create a new BeanCreationException.BeanCreationException(String resourceDescription, String beanName, String msg) Create a new BeanCreationException.BeanCreationException(String resourceDescription, String beanName, String msg, Throwable cause) Create a new BeanCreationException.BeanDefinitionStoreException(String resourceDescription, String msg) Create a new BeanDefinitionStoreException.BeanDefinitionStoreException(String resourceDescription, String beanName, String msg) Create a new BeanDefinitionStoreException.BeanDefinitionStoreException(String resourceDescription, String beanName, String msg, Throwable cause) Create a new BeanDefinitionStoreException.BeanDefinitionStoreException(String resourceDescription, String beanName, String msg, Throwable cause) Create a new BeanDefinitionStoreException.BeanDefinitionStoreException(String resourceDescription, String msg, Throwable cause) Create a new BeanDefinitionStoreException.BeanDefinitionStoreException(String resourceDescription, String msg, Throwable cause) Create a new BeanDefinitionStoreException.BeanDefinitionStoreException(String msg, Throwable cause) Create a new BeanDefinitionStoreException.CannotLoadBeanClassException(String resourceDescription, String beanName, String beanClassName, ClassNotFoundException cause) Create a new CannotLoadBeanClassException.CannotLoadBeanClassException(String resourceDescription, String beanName, String beanClassName, ClassNotFoundException cause) Create a new CannotLoadBeanClassException.CannotLoadBeanClassException(String resourceDescription, String beanName, String beanClassName, LinkageError cause) Create a new CannotLoadBeanClassException.CannotLoadBeanClassException(String resourceDescription, String beanName, String beanClassName, LinkageError cause) Create a new CannotLoadBeanClassException.UnsatisfiedDependencyException(String resourceDescription, String beanName, String propertyName, String msg) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException(String resourceDescription, String beanName, String propertyName, String msg) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException(String resourceDescription, String beanName, String propertyName, BeansException ex) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException(String resourceDescription, String beanName, String propertyName, BeansException ex) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException(String resourceDescription, String beanName, InjectionPoint injectionPoint, String msg) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException(String resourceDescription, String beanName, InjectionPoint injectionPoint, String msg) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException(String resourceDescription, String beanName, InjectionPoint injectionPoint, String msg) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException(String resourceDescription, String beanName, InjectionPoint injectionPoint, BeansException ex) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException(String resourceDescription, String beanName, InjectionPoint injectionPoint, BeansException ex) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException(String resourceDescription, String beanName, InjectionPoint injectionPoint, BeansException ex) Create a new UnsatisfiedDependencyException. -
Uses of Nullable in org.springframework.beans.factory.annotation
Fields in org.springframework.beans.factory.annotation with annotations of type NullableModifier and TypeFieldDescriptionprotected final PropertyDescriptorInjectionMetadata.InjectedElement.pdprotected BooleanInjectionMetadata.InjectedElement.skipMethods in org.springframework.beans.factory.annotation with annotations of type NullableModifier and TypeMethodDescriptionConstructor<?>[]AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(Class<?> beanClass, String beanName) protected ObjectQualifierAnnotationAutowireCandidateResolver.findValue(Annotation[] annotationsToSearch) Determine a suggested value from any of the given candidate annotations.protected AnnotationQualifierAnnotationAutowireCandidateResolver.getFactoryMethodAnnotation(RootBeanDefinition bd, Class<? extends Annotation> type) AnnotatedBeanDefinition.getFactoryMethodMetadata()Obtain metadata for this bean definition's factory method, if any.final MethodMetadataAnnotatedGenericBeanDefinition.getFactoryMethodMetadata()protected AnnotationQualifierAnnotationAutowireCandidateResolver.getQualifiedElementAnnotation(RootBeanDefinition bd, Class<? extends Annotation> type) protected ObjectInjectionMetadata.InjectedElement.getResourceToInject(Object target, String requestingBeanName) Either this orInjectionMetadata.InjectedElement.inject(java.lang.Object, java.lang.String, org.springframework.beans.PropertyValues)needs to be overridden.QualifierAnnotationAutowireCandidateResolver.getSuggestedValue(DependencyDescriptor descriptor) Determine whether the given dependency declares a value annotation.AutowiredAnnotationBeanPostProcessor.processAheadOfTime(RegisteredBean registeredBean) InitDestroyAnnotationBeanPostProcessor.processAheadOfTime(RegisteredBean registeredBean) static ObjectParameterResolutionDelegate.resolveDependency(Parameter parameter, int parameterIndex, Class<?> containingClass, AutowireCapableBeanFactory beanFactory) Resolve the dependency for the suppliedParameterfrom the suppliedAutowireCapableBeanFactory.AnnotationBeanWiringInfoResolver.resolveWiringInfo(Object beanInstance) Method parameters in org.springframework.beans.factory.annotation with annotations of type NullableModifier and TypeMethodDescriptionvoidInitDestroyAnnotationBeanPostProcessor.addDestroyAnnotationType(Class<? extends Annotation> destroyAnnotationType) Add a destroy annotation to check for, indicating destruction methods to call when the context is shutting down.voidInitDestroyAnnotationBeanPostProcessor.addInitAnnotationType(Class<? extends Annotation> initAnnotationType) Add an init annotation to check for, indicating initialization methods to call after configuration of a bean.protected booleanInjectionMetadata.InjectedElement.checkPropertySkipping(PropertyValues pvs) Check whether this injector's property needs to be skipped due to an explicit property value having been specified.voidInjectionMetadata.clear(PropertyValues pvs) Clear property skipping for the contained elements.protected voidInjectionMetadata.InjectedElement.clearPropertySkipping(PropertyValues pvs) Clear property skipping for this element.booleanInjectionMetadata.getInjectedElements(PropertyValues pvs) Return theelementsto inject based on the specifiedPropertyValues.protected ObjectInjectionMetadata.InjectedElement.getResourceToInject(Object target, String requestingBeanName) Either this orInjectionMetadata.InjectedElement.inject(java.lang.Object, java.lang.String, org.springframework.beans.PropertyValues)needs to be overridden.voidInjectionMetadata.inject(Object target, String beanName, PropertyValues pvs) voidInjectionMetadata.inject(Object target, String beanName, PropertyValues pvs) protected voidInjectionMetadata.InjectedElement.inject(Object target, String requestingBeanName, PropertyValues pvs) Either this orInjectionMetadata.InjectedElement.getResourceToInject(java.lang.Object, java.lang.String)needs to be overridden.protected voidInjectionMetadata.InjectedElement.inject(Object target, String requestingBeanName, PropertyValues pvs) Either this orInjectionMetadata.InjectedElement.getResourceToInject(java.lang.Object, java.lang.String)needs to be overridden.static booleanBeanFactoryAnnotationUtils.isQualifierMatch(Predicate<String> qualifier, String beanName, BeanFactory beanFactory) Check whether the named bean declares a qualifier of the given name.static booleanInjectionMetadata.needsRefresh(InjectionMetadata metadata, Class<?> clazz) Check whether the given injection metadata needs to be refreshed.voidCustomAutowireConfigurer.setBeanClassLoader(ClassLoader beanClassLoader) protected booleanInjectionMetadata.InjectedElement.shouldInject(PropertyValues pvs) Whether the property values should be injected.Constructor parameters in org.springframework.beans.factory.annotation with annotations of type Nullable -
Uses of Nullable in org.springframework.beans.factory.aot
Methods in org.springframework.beans.factory.aot with annotations of type NullableModifier and TypeMethodDescriptionAotServices.findByBeanName(String beanName) Find the AOT service that was loaded for the given bean name.default <T> TAutowiredArguments.get(int index) Return the resolved argument at the specified index.default <T> TReturn the resolved argument at the specified index.BeanInstanceSupplier.getFactoryMethod()default ObjectAutowiredArguments.getObject(int index) Return the resolved argument at the specified index.BeanFactoryInitializationAotProcessor.processAheadOfTime(ConfigurableListableBeanFactory beanFactory) Process the givenConfigurableListableBeanFactoryinstance ahead-of-time and return a contribution ornull.BeanRegistrationAotProcessor.processAheadOfTime(RegisteredBean registeredBean) Process the givenRegisteredBeaninstance ahead-of-time and return a contribution ornull.<T> TAutowiredFieldValueResolver.resolve(RegisteredBean registeredBean) Resolve the field value for the specified registered bean.<T> TAutowiredFieldValueResolver.resolve(RegisteredBean registeredBean, Class<T> requiredType) Resolve the field value for the specified registered bean.AutowiredMethodArgumentsResolver.resolve(RegisteredBean registeredBean) Resolve the method arguments for the specified registered bean.AutowiredFieldValueResolver.resolveObject(RegisteredBean registeredBean) Resolve the field value for the specified registered bean.Method parameters in org.springframework.beans.factory.aot with annotations of type NullableModifier and TypeMethodDescriptionstatic AotServices.LoaderAotServices.factories(ClassLoader classLoader) Create a newAotServices.Loaderthat will obtain AOT services from "META-INF/spring/aot.factories". -
Uses of Nullable in org.springframework.beans.factory.config
Fields in org.springframework.beans.factory.config with annotations of type NullableModifier and TypeFieldDescriptionprotected StringPlaceholderConfigurerSupport.nullValueprotected StringPlaceholderConfigurerSupport.valueSeparatorDefaults to ":".Methods in org.springframework.beans.factory.config with annotations of type NullableModifier and TypeMethodDescriptiondefault Constructor<?>[]SmartInstantiationAwareBeanPostProcessor.determineCandidateConstructors(Class<?> beanClass, String beanName) Determine the candidate constructors to use for the given bean.BeanExpressionResolver.evaluate(String value, BeanExpressionContext beanExpressionContext) Evaluate the given value as an expression, if applicable; return the value as-is otherwise.String[]BeanDefinitionHolder.getAliases()Return the alias names for the bean, as specified directly for the bean definition.ConstructorArgumentValues.getArgumentValue(int index, Class<?> requiredType) Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.ConstructorArgumentValues.getArgumentValue(int index, Class<?> requiredType, String requiredName) Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.ConstructorArgumentValues.getArgumentValue(int index, Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> usedValueHolders) Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.ConfigurableBeanFactory.getBeanClassLoader()Return this factory's class loader for loading bean classes (onlynullif even the system ClassLoader isn't accessible).BeanDefinition.getBeanClassName()Return the current bean class name of this bean definition.ConfigurableBeanFactory.getBeanExpressionResolver()Return the resolution strategy for expressions in bean definition values.protected BeanFactoryAbstractFactoryBean.getBeanFactory()Return the BeanFactory that this bean runs in.Class<?>RuntimeBeanReference.getBeanType()Return the requested bean type if resolution by type is demanded.Scope.getConversationId()Return the conversation ID for the current underlying scope, if any.ConfigurableBeanFactory.getConversionService()Return the associated ConversionService, if any.ConstructorArgumentValues.ValueHolder.getConvertedValue()Return the converted value of the constructor argument, after processed type conversion.DependencyDescriptor.getDependencyName()Determine the name of the wrapped parameter/field.String[]BeanDefinition.getDependsOn()Return the bean names that this bean depends on.BeanDefinition.getDescription()Return a human-readable description of this bean definition.BeanDefinition.getDestroyMethodName()Return the name of the destroy method.protected Class<?>[]AbstractFactoryBean.getEarlySingletonInterfaces()Return an array of interfaces that a singleton object exposed by this FactoryBean is supposed to implement, for use with an 'early singleton proxy' that will be exposed in case of a circular reference.BeanDefinition.getFactoryBeanName()Return the factory bean name, if any.BeanDefinition.getFactoryMethodName()Return a factory method, if any.ConstructorArgumentValues.getGenericArgumentValue(Class<?> requiredType) Look for a generic argument value that matches the given type.ConstructorArgumentValues.getGenericArgumentValue(Class<?> requiredType, String requiredName) Look for a generic argument value that matches the given type.ConstructorArgumentValues.getGenericArgumentValue(Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> usedValueHolders) Look for the next generic argument value that matches the given type, ignoring argument values that have already been used in the current resolution process.ConstructorArgumentValues.getIndexedArgumentValue(int index, Class<?> requiredType) Get argument value for the given index in the constructor argument list.ConstructorArgumentValues.getIndexedArgumentValue(int index, Class<?> requiredType, String requiredName) Get argument value for the given index in the constructor argument list.BeanDefinition.getInitMethodName()Return the name of the initializer method.ConstructorArgumentValues.ValueHolder.getName()Return the name of the constructor argument.FieldRetrievingFactoryBean.getObject()MethodInvokingFactoryBean.getObject()Returns the same value each time if the singleton property is set to "true", otherwise returns the value returned from invoking the specified method on the fly.final PropertiesPropertiesFactoryBean.getObject()PropertyPathFactoryBean.getObject()ServiceLocatorFactoryBean.getObject()YamlMapFactoryBean.getObject()YamlPropertiesFactoryBean.getObject()abstract Class<?>AbstractFactoryBean.getObjectType()This abstract method declaration mirrors the method in the FactoryBean interface, for a consistent offering of abstract template methods.BeanDefinition.getOriginatingBeanDefinition()Return the originating BeanDefinition, ornullif none.BeanDefinition.getParentName()Return the name of the parent definition of this bean definition, if any.ConfigurableBeanFactory.getRegisteredScope(String scopeName) Return the Scope implementation for the given scope name, if any.BeanDefinition.getResourceDescription()Return a description of the resource that this bean definition came from (for the purpose of showing context in case of errors).BeanDefinition.getScope()Return the name of the current target scope for this bean, ornullif not known yet.final ScopeBeanExpressionContext.getScope()SingletonBeanRegistry.getSingleton(String beanName) Return the (raw) singleton object registered under the given name.BeanDefinitionHolder.getSource()Expose the bean definition's source object.ConstructorArgumentValues.ValueHolder.getSource()RuntimeBeanNameReference.getSource()RuntimeBeanReference.getSource()TypedStringValue.getSource()TypedStringValue.getSpecifiedTypeName()Return the type name as actually specified for this particular value, if any.Class<?>FieldRetrievingFactoryBean.getTargetClass()Return the target class on which the field is defined.FieldRetrievingFactoryBean.getTargetField()Return the name of the field to be retrieved.FieldRetrievingFactoryBean.getTargetObject()Return the target object on which the field is defined.TypedStringValue.getTargetTypeName()Return the type to convert to.ConfigurableBeanFactory.getTempClassLoader()Return the temporary ClassLoader to use for type matching purposes, if any.ConstructorArgumentValues.ValueHolder.getType()Return the type of the constructor argument.ConstructorArgumentValues.ValueHolder.getValue()Return the value for the constructor argument.TypedStringValue.getValue()Return the String value.protected ObjectMethodInvokingBean.invokeWithTargetException()Perform the invocation and convert InvocationTargetException into the underlying target exception.default ObjectBeanPostProcessor.postProcessAfterInitialization(Object bean, String beanName) Apply thisBeanPostProcessorto the given new bean instance after any bean initialization callbacks (like InitializingBean'safterPropertiesSetor a custom init-method).default ObjectBeanPostProcessor.postProcessBeforeInitialization(Object bean, String beanName) Apply thisBeanPostProcessorto the given new bean instance before any bean initialization callbacks (like InitializingBean'safterPropertiesSetor a custom init-method).default ObjectInstantiationAwareBeanPostProcessor.postProcessBeforeInstantiation(Class<?> beanClass, String beanName) Apply this BeanPostProcessor before the target bean gets instantiated.default PropertyValuesInstantiationAwareBeanPostProcessor.postProcessProperties(PropertyValues pvs, Object bean, String beanName) Post-process the given property values before the factory applies them to the given bean.default Class<?>SmartInstantiationAwareBeanPostProcessor.predictBeanType(Class<?> beanClass, String beanName) Predict the type of the bean to be eventually returned from this processor'sInstantiationAwareBeanPostProcessor.postProcessBeforeInstantiation(java.lang.Class<?>, java.lang.String)callback.Remove the object with the givennamefrom the underlying scope.Scope.resolveContextualObject(String key) Resolve the contextual object for the given key, if any.AutowireCapableBeanFactory.resolveDependency(DependencyDescriptor descriptor, String requestingBeanName) Resolve the specified dependency against the beans defined in this factory.AutowireCapableBeanFactory.resolveDependency(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) Resolve the specified dependency against the beans defined in this factory.ConfigurableBeanFactory.resolveEmbeddedValue(String value) Resolve the given embedded value, e.g.DependencyDescriptor.resolveNotUnique(ResolvableType type, Map<String, Object> matchingBeans) Resolve the specified not-unique scenario: by default, throwing aNoUniqueBeanDefinitionException.protected StringPreferencesPlaceholderConfigurer.resolvePlaceholder(String path, String key, Preferences preferences) Deprecated.Resolve the given path and key against the given Preferences.protected StringPropertyPlaceholderConfigurer.resolvePlaceholder(String placeholder, Properties props) Deprecated.Resolve the given placeholder using the given properties.protected StringPropertyPlaceholderConfigurer.resolvePlaceholder(String placeholder, Properties props, int systemPropertiesMode) Deprecated.Resolve the given placeholder using the given properties, performing a system properties check according to the given mode.DependencyDescriptor.resolveShortcut(BeanFactory beanFactory) Resolve a shortcut for this dependency against the given factory, for example taking some pre-resolved information into account.protected StringBeanDefinitionVisitor.resolveStringValue(String strVal) Resolve the given String value, for example parsing placeholders.EmbeddedValueResolver.resolveStringValue(String strVal) protected StringPropertyPlaceholderConfigurer.resolveSystemProperty(String key) Deprecated.Resolve the given key as JVM system property, and optionally also as system environment variable if no matching system property has been found.Class<?>TypedStringValue.resolveTargetType(ClassLoader classLoader) Determine the type to convert to, resolving it from a specified class name if necessary.protected ObjectBeanDefinitionVisitor.resolveValue(Object value) Method parameters in org.springframework.beans.factory.config with annotations of type NullableModifier and TypeMethodDescriptionvoidConstructorArgumentValues.addArgumentValues(ConstructorArgumentValues other) Copy all given argument values into this object, using separate holder instances to keep the values independent of the original object.voidConstructorArgumentValues.addGenericArgumentValue(Object value) Add a generic argument value to be matched by type.voidConstructorArgumentValues.addIndexedArgumentValue(int index, Object value) Add an argument value for the given index in the constructor argument list.voidConstructorArgumentValues.addIndexedArgumentValue(int index, Object value, String type) Add an argument value for the given index in the constructor argument list.protected voidAbstractFactoryBean.destroyInstance(T instance) Callback for destroying a singleton instance.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanBeanExpressionResolver.evaluate(String value, BeanExpressionContext beanExpressionContext) Evaluate the given value as an expression, if applicable; return the value as-is otherwise.ConstructorArgumentValues.getArgumentValue(int index, Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> usedValueHolders) Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.ConstructorArgumentValues.getArgumentValue(int index, Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> usedValueHolders) Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.ConstructorArgumentValues.getArgumentValue(int index, Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> usedValueHolders) Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.ConstructorArgumentValues.getGenericArgumentValue(Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> usedValueHolders) Look for the next generic argument value that matches the given type, ignoring argument values that have already been used in the current resolution process.ConstructorArgumentValues.getGenericArgumentValue(Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> usedValueHolders) Look for the next generic argument value that matches the given type, ignoring argument values that have already been used in the current resolution process.ConstructorArgumentValues.getGenericArgumentValue(Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> usedValueHolders) Look for the next generic argument value that matches the given type, ignoring argument values that have already been used in the current resolution process.ConstructorArgumentValues.getIndexedArgumentValue(int index, Class<?> requiredType) Get argument value for the given index in the constructor argument list.ConstructorArgumentValues.getIndexedArgumentValue(int index, Class<?> requiredType, String requiredName) Get argument value for the given index in the constructor argument list.ConstructorArgumentValues.getIndexedArgumentValue(int index, Class<?> requiredType, String requiredName) Get argument value for the given index in the constructor argument list.voidDependencyDescriptor.initParameterNameDiscovery(ParameterNameDiscoverer parameterNameDiscoverer) Initialize parameter name discovery for the underlying method parameter, if any.booleanBeanDefinitionHolder.matchesName(String candidateName) Determine whether the given candidate name matches the bean name or the aliases stored in this bean definition.voidConfigurableListableBeanFactory.registerResolvableDependency(Class<?> dependencyType, Object autowiredValue) Register a special dependency type with corresponding autowired value.AutowireCapableBeanFactory.resolveDependency(DependencyDescriptor descriptor, String requestingBeanName) Resolve the specified dependency against the beans defined in this factory.AutowireCapableBeanFactory.resolveDependency(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) Resolve the specified dependency against the beans defined in this factory.AutowireCapableBeanFactory.resolveDependency(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) Resolve the specified dependency against the beans defined in this factory.AutowireCapableBeanFactory.resolveDependency(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) Resolve the specified dependency against the beans defined in this factory.protected StringPreferencesPlaceholderConfigurer.resolvePlaceholder(String path, String key, Preferences preferences) Deprecated.Resolve the given path and key against the given Preferences.Class<?>TypedStringValue.resolveTargetType(ClassLoader classLoader) Determine the type to convert to, resolving it from a specified class name if necessary.protected ObjectBeanDefinitionVisitor.resolveValue(Object value) voidConfigurableBeanFactory.setBeanClassLoader(ClassLoader beanClassLoader) Set the class loader to use for loading bean classes.voidCustomScopeConfigurer.setBeanClassLoader(ClassLoader beanClassLoader) voidBeanDefinition.setBeanClassName(String beanClassName) Specify the bean class name of this bean definition.voidConfigurableBeanFactory.setBeanExpressionResolver(BeanExpressionResolver resolver) Specify the resolution strategy for expressions in bean definition values.voidAbstractFactoryBean.setBeanFactory(BeanFactory beanFactory) voidConfigurableBeanFactory.setConversionService(ConversionService conversionService) Specify aConversionServiceto use for converting property values, as an alternative to JavaBeans PropertyEditors.voidConstructorArgumentValues.ValueHolder.setConvertedValue(Object value) Set the converted value of the constructor argument, after processed type conversion.voidBeanDefinition.setDependsOn(String... dependsOn) Set the names of the beans that this bean depends on being initialized.voidBeanDefinition.setDescription(String description) Set a human-readable description of this bean definition.voidBeanDefinition.setDestroyMethodName(String destroyMethodName) Set the name of the destroy method.voidBeanDefinition.setFactoryBeanName(String factoryBeanName) Specify the factory bean to use, if any.voidBeanDefinition.setFactoryMethodName(String factoryMethodName) Specify a factory method, if any.voidBeanDefinition.setInitMethodName(String initMethodName) Set the name of the initializer method.voidSet the name of the constructor argument.voidBeanDefinition.setParentName(String parentName) Set the name of the parent definition of this bean definition, if any.voidOverride the target scope of this bean, specifying a new scope name.voidSet the configuration sourceObjectfor this metadata element.voidSet the configuration sourceObjectfor this metadata element.voidSet the configuration sourceObjectfor this metadata element.voidSet the configuration sourceObjectfor this metadata element.voidTypedStringValue.setSpecifiedTypeName(String specifiedTypeName) Set the type name as actually specified for this particular value, if any.voidFieldRetrievingFactoryBean.setTargetClass(Class<?> targetClass) Set the target class on which the field is defined.voidFieldRetrievingFactoryBean.setTargetField(String targetField) Set the name of the field to be retrieved.voidListFactoryBean.setTargetListClass(Class<? extends List> targetListClass) Set the class to use for the target List.voidMapFactoryBean.setTargetMapClass(Class<? extends Map> targetMapClass) Set the class to use for the target Map.voidFieldRetrievingFactoryBean.setTargetObject(Object targetObject) Set the target object on which the field is defined.voidSetFactoryBean.setTargetSetClass(Class<? extends Set> targetSetClass) Set the class to use for the target Set.voidTypedStringValue.setTargetTypeName(String targetTypeName) Specify the type to convert to.voidConfigurableBeanFactory.setTempClassLoader(ClassLoader tempClassLoader) Specify a temporary ClassLoader to use for type matching purposes.voidSet the type of the constructor argument.voidSet the value for the constructor argument.voidSet the String value.voidPlaceholderConfigurerSupport.setValueSeparator(String valueSeparator) Specify the separating character between the placeholder variable and the associated default value, ornullif no such special character should be processed as a value separator.Constructor parameters in org.springframework.beans.factory.config with annotations of type NullableModifierConstructorDescriptionBeanDefinitionHolder(BeanDefinition beanDefinition, String beanName, String[] aliases) Create a new BeanDefinitionHolder.BeanExpressionContext(ConfigurableBeanFactory beanFactory, Scope scope) TypedStringValue(String value) Create a newTypedStringValuefor the given String value.TypedStringValue(String value, Class<?> targetType) Create a newTypedStringValuefor the given String value and target type.TypedStringValue(String value, String targetTypeName) Create a newTypedStringValuefor the given String value and target type.ValueHolder(Object value) Create a new ValueHolder for the given value.ValueHolder(Object value, String type) Create a new ValueHolder for the given value and type.ValueHolder(Object value, String type) Create a new ValueHolder for the given value and type.ValueHolder(Object value, String type, String name) Create a new ValueHolder for the given value, type and name.ValueHolder(Object value, String type, String name) Create a new ValueHolder for the given value, type and name.ValueHolder(Object value, String type, String name) Create a new ValueHolder for the given value, type and name. -
Uses of Nullable in org.springframework.beans.factory.groovy
Methods in org.springframework.beans.factory.groovy with annotations of type NullableModifier and TypeMethodDescriptiongroovy.lang.BindingGroovyBeanDefinitionReader.getBinding()Return a specified binding for Groovy variables, if any. -
Uses of Nullable in org.springframework.beans.factory.parsing
Methods in org.springframework.beans.factory.parsing with annotations of type NullableModifier and TypeMethodDescriptionNullSourceExtractor.extractSource(Object sourceCandidate, Resource definitionResource) This implementation simply returnsnullfor any input.ReaderContext.extractSource(Object sourceCandidate) Call the source extractor for the given source object.SourceExtractor.extractSource(Object sourceCandidate, Resource definingResource) Extract the source metadata from the candidate object supplied by the configuration parser.final Resource[]ImportDefinition.getActualResources()Problem.getParseState()Get theParseStateat the time of the error (may benull).Problem.getRootCause()Get the underlying exception that caused the error (may benull).final ObjectAliasDefinition.getSource()CompositeComponentDefinition.getSource()final ObjectImportDefinition.getSource()Location.getSource()Get the actual location within the associatedresource(may benull).ParseState.peek()Return theParseState.Entrycurrently at the top of theArrayDequeornullif theArrayDequeis empty.Method parameters in org.springframework.beans.factory.parsing with annotations of type NullableModifier and TypeMethodDescriptionbooleanThis implementation expects the other object to be of type BeanComponentDefinition as well, in addition to the superclass's equality requirements.voidRaise a regular error.voidRaise a regular error.voidRaise a regular error.voidReaderContext.error(String message, Object source, ParseState parseState) Raise a regular error.voidReaderContext.error(String message, Object source, ParseState parseState) Raise a regular error.voidReaderContext.error(String message, Object source, ParseState parseState, Throwable cause) Raise a regular error.voidReaderContext.error(String message, Object source, ParseState parseState, Throwable cause) Raise a regular error.voidReaderContext.error(String message, Object source, ParseState parseState, Throwable cause) Raise a regular error.NullSourceExtractor.extractSource(Object sourceCandidate, Resource definitionResource) This implementation simply returnsnullfor any input.PassThroughSourceExtractor.extractSource(Object sourceCandidate, Resource definingResource) Simply returns the suppliedsourceCandidateas-is.SourceExtractor.extractSource(Object sourceCandidate, Resource definingResource) Extract the source metadata from the candidate object supplied by the configuration parser.voidRaise a fatal error.voidRaise a fatal error.voidRaise a fatal error.voidReaderContext.fatal(String message, Object source, ParseState parseState) Raise a fatal error.voidReaderContext.fatal(String message, Object source, ParseState parseState) Raise a fatal error.voidReaderContext.fatal(String message, Object source, ParseState parseState, Throwable cause) Raise a fatal error.voidReaderContext.fatal(String message, Object source, ParseState parseState, Throwable cause) Raise a fatal error.voidReaderContext.fatal(String message, Object source, ParseState parseState, Throwable cause) Raise a fatal error.voidReaderContext.fireAliasRegistered(String beanName, String alias, Object source) Fire an alias-registered event.voidReaderContext.fireImportProcessed(String importedResource, Object source) Fire an import-processed event.voidReaderContext.fireImportProcessed(String importedResource, Resource[] actualResources, Object source) Fire an import-processed event.voidSet theloggerthat is to be used to report warnings.voidRaise a non-critical warning.voidRaise a non-critical warning.voidRaise a non-critical warning.voidReaderContext.warning(String message, Object source, ParseState parseState) Raise a non-critical warning.voidReaderContext.warning(String message, Object source, ParseState parseState) Raise a non-critical warning.voidReaderContext.warning(String message, Object source, ParseState parseState, Throwable cause) Raise a non-critical warning.voidReaderContext.warning(String message, Object source, ParseState parseState, Throwable cause) Raise a non-critical warning.voidReaderContext.warning(String message, Object source, ParseState parseState, Throwable cause) Raise a non-critical warning.Constructor parameters in org.springframework.beans.factory.parsing with annotations of type NullableModifierConstructorDescriptionAliasDefinition(String beanName, String alias, Object source) Create a new AliasDefinition.BeanComponentDefinition(BeanDefinition beanDefinition, String beanName, String[] aliases) Create a new BeanComponentDefinition for the given bean.CompositeComponentDefinition(String name, Object source) Create a new CompositeComponentDefinition.ImportDefinition(String importedResource, Object source) Create a new ImportDefinition.ImportDefinition(String importedResource, Resource[] actualResources, Object source) Create a new ImportDefinition.ImportDefinition(String importedResource, Resource[] actualResources, Object source) Create a new ImportDefinition.Create a new instance of theLocationclass.Problem(String message, Location location, ParseState parseState, Throwable rootCause) Create a new instance of theProblemclass.Problem(String message, Location location, ParseState parseState, Throwable rootCause) Create a new instance of theProblemclass. -
Uses of Nullable in org.springframework.beans.factory.serviceloader
Methods in org.springframework.beans.factory.serviceloader with annotations of type NullableModifier and TypeMethodDescriptionClass<?>ServiceFactoryBean.getObjectType()Class<?>AbstractServiceLoaderBasedFactoryBean.getServiceType()Return the desired service type.Method parameters in org.springframework.beans.factory.serviceloader with annotations of type NullableModifier and TypeMethodDescriptionvoidAbstractServiceLoaderBasedFactoryBean.setBeanClassLoader(ClassLoader beanClassLoader) voidAbstractServiceLoaderBasedFactoryBean.setServiceType(Class<?> serviceType) Specify the desired service type (typically the service's public API). -
Uses of Nullable in org.springframework.beans.factory.support
Methods in org.springframework.beans.factory.support with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectAbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation(Class<?> beanClass, String beanName) Apply InstantiationAwareBeanPostProcessors to the specified bean definition (by class and name), invoking theirpostProcessBeforeInstantiationmethods.protected StringDefaultListableBeanFactory.determineAutowireCandidate(Map<String, Object> candidates, DependencyDescriptor descriptor) Determine the autowire candidate in the given set of beans.protected Constructor<?>[]AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(Class<?> beanClass, String beanName) Determine candidate constructors to use for the given bean, checking all registeredSmartInstantiationAwareBeanPostProcessors.protected StringDefaultListableBeanFactory.determineHighestPriorityCandidate(Map<String, Object> candidates, Class<?> requiredType) Determine the candidate with the highest priority in the given set of beans.protected StringDefaultListableBeanFactory.determinePrimaryCandidate(Map<String, Object> candidates, Class<?> requiredType) Determine the primary candidate in the given set of beans.protected Class<?>AbstractAutowireCapableBeanFactory.determineTargetType(String beanName, RootBeanDefinition mbd, Class<?>... typesToMatch) Determine the target type for the given bean definition.DefaultListableBeanFactory.doResolveDependency(DependencyDescriptor descriptor, String beanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) protected ObjectEvaluate the given value as an expression, if necessary.protected ObjectBeanDefinitionValueResolver.evaluate(TypedStringValue value) Evaluate the given value as an expression, if necessary.protected ObjectAbstractBeanFactory.evaluateBeanDefinitionString(String value, BeanDefinition beanDefinition) Evaluate the given String as contained in a bean definition, potentially resolving it as an expression.<A extends Annotation>
ADefaultListableBeanFactory.findAnnotationOnBean(String beanName, Class<A> annotationType) <A extends Annotation>
ADefaultListableBeanFactory.findAnnotationOnBean(String beanName, Class<A> annotationType, boolean allowFactoryBeanInit) <A extends Annotation>
AStaticListableBeanFactory.findAnnotationOnBean(String beanName, Class<A> annotationType) <A extends Annotation>
AStaticListableBeanFactory.findAnnotationOnBean(String beanName, Class<A> annotationType, boolean allowFactoryBeanInit) AbstractBeanDefinitionReader.getBeanClassLoader()AbstractBeanFactory.getBeanClassLoader()BeanDefinitionReader.getBeanClassLoader()Return the class loader to use for bean classes.AbstractBeanDefinition.getBeanClassName()Return the current bean class name of this bean definition.AbstractBeanFactory.getBeanExpressionResolver()protected final BeanFactoryGenericTypeAwareAutowireCandidateResolver.getBeanFactory()LookupOverride.getBeanName()Return the name of the bean that should be returned by this method.protected ObjectFactoryBeanRegistrySupport.getCachedObjectForFactoryBean(String beanName) Obtain an object to expose from the given FactoryBean, if available in cached form.AbstractBeanFactory.getConversionService()static MethodSimpleInstantiationStrategy.getCurrentlyInvokedFactoryMethod()Return the factory method currently being invoked ornullif none.protected TypeConverterAbstractBeanFactory.getCustomTypeConverter()Return the custom TypeConverter to use, if any.RootBeanDefinition.getDecoratedDefinition()Return the target definition that is being decorated by this bean definition, if any.PropertiesBeanDefinitionReader.getDefaultParentBean()Deprecated.Return the default parent bean for this bean factory.DefaultListableBeanFactory.getDependencyComparator()Return the dependency comparator for this BeanFactory (may benull).String[]AbstractBeanDefinition.getDependsOn()Return the bean names that this bean depends on.AbstractBeanDefinition.getDescription()Return a human-readable description of this bean definition.AbstractBeanDefinition.getDestroyMethodName()Return the name of the destroy method (the first one in case of multiple methods).BeanDefinitionDefaults.getDestroyMethodName()Return the name of the default destroy method.String[]AbstractBeanDefinition.getDestroyMethodNames()Return the names of the destroy methods.ManagedList.getElementTypeName()Return the default element type name (class name) to be used for this list.ManagedSet.getElementTypeName()Return the default element type name (class name) to be used for this set.AbstractBeanDefinition.getFactoryBeanName()Return the factory bean name, if any.default MethodInstanceSupplier.getFactoryMethod()Return the factory method that this supplier uses to create the instance, ornullif it is not known or this supplier uses another means.AbstractBeanDefinition.getFactoryMethodName()Return a factory method, if any.AbstractBeanDefinition.getInitMethodName()Return the name of the initializer method (the first one in case of multiple methods).BeanDefinitionDefaults.getInitMethodName()Return the name of the default initializer method.String[]AbstractBeanDefinition.getInitMethodNames()Return the names of the initializer methods.Supplier<?>AbstractBeanDefinition.getInstanceSupplier()Return a callback for creating an instance of the bean, if any.ManagedMap.getKeyTypeName()Return the default key type name (class name) to be used for this map.AbstractBeanDefinition.getLazyInit()Return whether this bean should be lazily initialized, i.e.BeanDefinitionDefaults.getLazyInit()Return whether beans should be lazily initialized by default, i.e.default Class<?>AutowireCandidateResolver.getLazyResolutionProxyClass(DependencyDescriptor descriptor, String beanName) Determine the proxy class for lazy resolution of the dependency target, if demanded by the injection point.Class<?>SimpleAutowireCandidateResolver.getLazyResolutionProxyClass(DependencyDescriptor descriptor, String beanName) default ObjectAutowireCandidateResolver.getLazyResolutionProxyIfNecessary(DependencyDescriptor descriptor, String beanName) Build a proxy for lazy resolution of the actual dependency target, if demanded by the injection point.SimpleAutowireCandidateResolver.getLazyResolutionProxyIfNecessary(DependencyDescriptor descriptor, String beanName) AbstractBeanDefinition.getOriginatingBeanDefinition()Return the originating BeanDefinition, ornullif none.MethodOverrides.getOverride(Method method) Return the override for the given method, if any.AbstractAutowireCapableBeanFactory.getParameterNameDiscoverer()Return the ParameterNameDiscoverer to use for resolving method parameter names if needed.RegisteredBean.getParent()Return the parent of this instance ornullif not an inner-bean.AbstractBeanFactory.getParentBeanFactory()ChildBeanDefinition.getParentName()GenericBeanDefinition.getParentName()Constructor<?>[]RootBeanDefinition.getPreferredConstructors()Determine preferred constructors to use for default construction, if any.protected IntegerDefaultListableBeanFactory.getPriority(Object beanInstance) Return the priority assigned for the given bean instance by thejakarta.annotation.Priorityannotation.RootBeanDefinition.getQualifiedElement()Return theAnnotatedElementdefining qualifiers, if any.AbstractBeanDefinition.getQualifier(String typeName) Return the qualifier mapped to the provided type name.AbstractBeanFactory.getRegisteredScope(String scopeName) protected RootBeanDefinitionGenericTypeAwareAutowireCandidateResolver.getResolvedDecoratedDefinition(RootBeanDefinition rbd) RootBeanDefinition.getResolvedFactoryMethod()Return the resolved factory method as a Java Method object, if available.AbstractBeanDefinition.getResource()Return the resource that this bean definition came from.AbstractBeanDefinition.getResourceDescription()Return a description of the resource that this bean definition came from (for the purpose of showing context in case of errors).AbstractBeanDefinitionReader.getResourceLoader()BeanDefinitionReader.getResourceLoader()Return theResourceLoaderto use for resource locations.protected ResolvableTypeGenericTypeAwareAutowireCandidateResolver.getReturnTypeForFactoryMethod(RootBeanDefinition rbd, DependencyDescriptor descriptor) AbstractBeanDefinition.getScope()Return the name of the target scope for the bean.DefaultListableBeanFactory.getSerializationId()Return an id for serialization purposes, if specified, allowing this BeanFactory to be deserialized from this id back into the BeanFactory object, if needed.DefaultSingletonBeanRegistry.getSingleton(String beanName) protected ObjectDefaultSingletonBeanRegistry.getSingleton(String beanName, boolean allowEarlyReference) Return the (raw) singleton object registered under the given name.ManagedList.getSource()ManagedMap.getSource()ManagedProperties.getSource()ManagedSet.getSource()MethodOverride.getSource()default ObjectAutowireCandidateResolver.getSuggestedValue(DependencyDescriptor descriptor) Determine whether a default value is suggested for the given dependency.SimpleAutowireCandidateResolver.getSuggestedValue(DependencyDescriptor descriptor) Class<?>RootBeanDefinition.getTargetType()Return the target type of this bean definition, if known (either specified in advance or resolved on first instantiation).AbstractBeanFactory.getTempClassLoader()Class<?>Class<?>protected Class<?>FactoryBeanRegistrySupport.getTypeForFactoryBean(FactoryBean<?> factoryBean) Determine the type for the given FactoryBean.protected Class<?>AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(String beanName, RootBeanDefinition mbd, Class<?>... typesToMatch) Determine the target type for the given bean definition which is based on a factory method.ManagedMap.getValueTypeName()Return the default value type name (class name) to be used for this map.protected ObjectAbstractAutowireCapableBeanFactory.obtainInstanceFromSupplier(Supplier<?> supplier, String beanName, RootBeanDefinition mbd) Obtain a bean instance from the given supplier.protected ObjectDefaultListableBeanFactory.obtainInstanceFromSupplier(Supplier<?> supplier, String beanName, RootBeanDefinition mbd) protected Class<?>AbstractAutowireCapableBeanFactory.predictBeanType(String beanName, RootBeanDefinition mbd, Class<?>... typesToMatch) protected Class<?>AbstractBeanFactory.predictBeanType(String beanName, RootBeanDefinition mbd, Class<?>... typesToMatch) Predict the eventual bean type (of the processed bean instance) for the specified bean.RegisteredBean.resolveAutowiredArgument(DependencyDescriptor descriptor, TypeConverter typeConverter, Set<String> autowiredBeanNames) Resolve an autowired argument.Class<?>AbstractBeanDefinition.resolveBeanClass(ClassLoader classLoader) Determine the class of the wrapped bean, resolving it from a specified class name if necessary.protected Class<?>AbstractBeanFactory.resolveBeanClass(RootBeanDefinition mbd, String beanName, Class<?>... typesToMatch) Resolve the bean class for the specified bean definition, resolving a bean class name into a Class reference (if necessary) and storing the resolved Class in the bean definition for further use.protected ObjectAbstractAutowireCapableBeanFactory.resolveBeforeInstantiation(String beanName, RootBeanDefinition mbd) Apply before-instantiation post-processors, resolving whether there is a before-instantiation shortcut for the specified bean.AbstractAutowireCapableBeanFactory.resolveDependency(DependencyDescriptor descriptor, String requestingBeanName) DefaultListableBeanFactory.resolveDependency(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) AbstractBeanFactory.resolveEmbeddedValue(String value) protected Class<?>BeanDefinitionValueResolver.resolveTargetType(TypedStringValue value) Resolve the target type in the given TypedStringValue.BeanDefinitionValueResolver.resolveValueIfNecessary(Object argName, Object value) Given a PropertyValue, return a value, resolving any references to other beans in the factory if necessary.Method parameters in org.springframework.beans.factory.support with annotations of type NullableModifier and TypeMethodDescriptionBeanDefinitionBuilder.addConstructorArgValue(Object value) Add an indexed constructor arg value.voidMethodOverrides.addOverrides(MethodOverrides other) Copy all given method overrides into this object.BeanDefinitionBuilder.addPropertyValue(String name, Object value) Add the supplied property value under the given property name.protected BeanWrapperAbstractAutowireCapableBeanFactory.autowireConstructor(String beanName, RootBeanDefinition mbd, Constructor<?>[] ctors, Object[] explicitArgs) "autowire constructor" (with constructor arguments by type) behavior.protected BeanWrapperAbstractAutowireCapableBeanFactory.autowireConstructor(String beanName, RootBeanDefinition mbd, Constructor<?>[] ctors, Object[] explicitArgs) "autowire constructor" (with constructor arguments by type) behavior.protected voidAbstractAutowireCapableBeanFactory.checkDependencies(String beanName, AbstractBeanDefinition mbd, PropertyDescriptor[] pds, PropertyValues pvs) Perform a dependency check that all properties exposed have been set, if desired.protected voidAbstractBeanFactory.checkMergedBeanDefinition(RootBeanDefinition mbd, String beanName, Object[] args) Check the given merged bean definition, potentially throwing validation exceptions.protected ObjectAbstractAutowireCapableBeanFactory.createBean(String beanName, RootBeanDefinition mbd, Object[] args) Central method of this class: creates a bean instance, populates the bean instance, applies post-processors, etc.protected abstract ObjectAbstractBeanFactory.createBean(String beanName, RootBeanDefinition mbd, Object[] args) Create a bean instance for the given merged bean definition (and arguments).static AbstractBeanDefinitionBeanDefinitionReaderUtils.createBeanDefinition(String parentName, String className, ClassLoader classLoader) Create a new GenericBeanDefinition for the given parent name and class name, eagerly loading the bean class if a ClassLoader has been specified.static AbstractBeanDefinitionBeanDefinitionReaderUtils.createBeanDefinition(String parentName, String className, ClassLoader classLoader) Create a new GenericBeanDefinition for the given parent name and class name, eagerly loading the bean class if a ClassLoader has been specified.static AbstractBeanDefinitionBeanDefinitionReaderUtils.createBeanDefinition(String parentName, String className, ClassLoader classLoader) Create a new GenericBeanDefinition for the given parent name and class name, eagerly loading the bean class if a ClassLoader has been specified.protected BeanWrapperAbstractAutowireCapableBeanFactory.createBeanInstance(String beanName, RootBeanDefinition mbd, Object[] args) Create a new instance for the specified bean, using an appropriate instantiation strategy: factory method, constructor autowiring, or simple instantiation.protected voidDefaultSingletonBeanRegistry.destroyBean(String beanName, DisposableBean bean) Destroy the given bean.protected Constructor<?>[]AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(Class<?> beanClass, String beanName) Determine candidate constructors to use for the given bean, checking all registeredSmartInstantiationAwareBeanPostProcessors.protected ObjectAbstractAutowireCapableBeanFactory.doCreateBean(String beanName, RootBeanDefinition mbd, Object[] args) Actually create the specified bean.protected <T> TAbstractBeanFactory.doGetBean(String name, Class<T> requiredType, Object[] args, boolean typeCheckOnly) Return an instance, which may be shared or independent, of the specified bean.protected <T> TAbstractBeanFactory.doGetBean(String name, Class<T> requiredType, Object[] args, boolean typeCheckOnly) Return an instance, which may be shared or independent, of the specified bean.DefaultListableBeanFactory.doResolveDependency(DependencyDescriptor descriptor, String beanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) DefaultListableBeanFactory.doResolveDependency(DependencyDescriptor descriptor, String beanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) DefaultListableBeanFactory.doResolveDependency(DependencyDescriptor descriptor, String beanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanprotected ObjectEvaluate the given value as an expression, if necessary.protected ObjectAbstractBeanFactory.evaluateBeanDefinitionString(String value, BeanDefinition beanDefinition) Evaluate the given String as contained in a bean definition, potentially resolving it as an expression.protected ObjectAbstractBeanFactory.evaluateBeanDefinitionString(String value, BeanDefinition beanDefinition) Evaluate the given String as contained in a bean definition, potentially resolving it as an expression.DefaultListableBeanFactory.findAutowireCandidates(String beanName, Class<?> requiredType, DependencyDescriptor descriptor) Find bean instances that match the required type.Class<?>CglibSubclassingInstantiationStrategy.getActualBeanClass(RootBeanDefinition bd, String beanName, BeanFactory owner) default Class<?>InstantiationStrategy.getActualBeanClass(RootBeanDefinition bd, String beanName, BeanFactory owner) Determine the actual class for the given bean definition, as instantiated at runtime.<T> TReturn an instance, which may be shared or independent, of the specified bean.<T> TReturn an instance, which may be shared or independent, of the specified bean.<T> T<T> TString[]DefaultListableBeanFactory.getBeanNamesForType(Class<?> type) String[]DefaultListableBeanFactory.getBeanNamesForType(Class<?> type, boolean includeNonSingletons, boolean allowEagerInit) String[]StaticListableBeanFactory.getBeanNamesForType(Class<?> type) String[]StaticListableBeanFactory.getBeanNamesForType(Class<?> type, boolean includeNonSingletons, boolean allowEagerInit) String[]StaticListableBeanFactory.getBeanNamesForType(ResolvableType type) String[]StaticListableBeanFactory.getBeanNamesForType(ResolvableType type, boolean includeNonSingletons, boolean allowEagerInit) DefaultListableBeanFactory.getBeansOfType(Class<T> type) DefaultListableBeanFactory.getBeansOfType(Class<T> type, boolean includeNonSingletons, boolean allowEagerInit) StaticListableBeanFactory.getBeansOfType(Class<T> type) StaticListableBeanFactory.getBeansOfType(Class<T> type, boolean includeNonSingletons, boolean allowEagerInit) default Class<?>AutowireCandidateResolver.getLazyResolutionProxyClass(DependencyDescriptor descriptor, String beanName) Determine the proxy class for lazy resolution of the dependency target, if demanded by the injection point.Class<?>SimpleAutowireCandidateResolver.getLazyResolutionProxyClass(DependencyDescriptor descriptor, String beanName) default ObjectAutowireCandidateResolver.getLazyResolutionProxyIfNecessary(DependencyDescriptor descriptor, String beanName) Build a proxy for lazy resolution of the actual dependency target, if demanded by the injection point.SimpleAutowireCandidateResolver.getLazyResolutionProxyIfNecessary(DependencyDescriptor descriptor, String beanName) protected RootBeanDefinitionAbstractBeanFactory.getMergedBeanDefinition(String beanName, BeanDefinition bd, BeanDefinition containingBd) Return a RootBeanDefinition for the given bean, by merging with the parent if the given bean's definition is a child bean definition.protected ObjectAbstractAutowireCapableBeanFactory.getObjectForBeanInstance(Object beanInstance, String name, String beanName, RootBeanDefinition mbd) Overridden in order to implicitly register the currently created bean as dependent on further beans getting programmatically retrieved during aSuppliercallback.protected ObjectAbstractBeanFactory.getObjectForBeanInstance(Object beanInstance, String name, String beanName, RootBeanDefinition mbd) Get the object for the given bean instance, either the bean instance itself or its created object in case of a FactoryBean.protected ObjectAbstractAutowireCapableBeanFactory.initializeBean(String beanName, Object bean, RootBeanDefinition mbd) Initialize the given bean instance, applying factory callbacks as well as init methods and bean post processors.InstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner) Return an instance of the bean with the given name in this factory.InstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner, Object factoryBean, Method factoryMethod, Object... args) Return an instance of the bean with the given name in this factory, creating it via the given factory method.InstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner, Object factoryBean, Method factoryMethod, Object... args) Return an instance of the bean with the given name in this factory, creating it via the given factory method.InstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) Return an instance of the bean with the given name in this factory, creating it via the given constructor.SimpleInstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner) SimpleInstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner, Object factoryBean, Method factoryMethod, Object... args) SimpleInstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner, Object factoryBean, Method factoryMethod, Object... args) SimpleInstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) protected BeanWrapperAbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(String beanName, RootBeanDefinition mbd, Object[] explicitArgs) Instantiate the bean using a named factory method.protected ObjectCglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner) protected ObjectCglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) protected ObjectCglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) protected ObjectSimpleInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner) Subclasses can override this method, which is implemented to throw UnsupportedOperationException, if they can instantiate an object with the Method Injection specified in the given RootBeanDefinition.protected ObjectSimpleInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) Subclasses can override this method, which is implemented to throw UnsupportedOperationException, if they can instantiate an object with the Method Injection specified in the given RootBeanDefinition.protected ObjectSimpleInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) Subclasses can override this method, which is implemented to throw UnsupportedOperationException, if they can instantiate an object with the Method Injection specified in the given RootBeanDefinition.protected voidAbstractAutowireCapableBeanFactory.invokeInitMethods(String beanName, Object bean, RootBeanDefinition mbd) Give a bean a chance to initialize itself after all its properties are set, and a chance to know about its owning bean factory (this object).booleanDefaultSingletonBeanRegistry.isSingletonCurrentlyInCreation(String beanName) Return whether the specified singleton bean is currently in creation (within the entire factory).booleanStaticListableBeanFactory.isTypeMatch(String name, Class<?> typeToMatch) intAbstractBeanDefinitionReader.loadBeanDefinitions(String location, Set<Resource> actualResources) Load bean definitions from the specified resource location.intPropertiesBeanDefinitionReader.loadBeanDefinitions(Resource resource, String prefix) Deprecated.Load bean definitions from the specified properties file.intPropertiesBeanDefinitionReader.loadBeanDefinitions(EncodedResource encodedResource, String prefix) Deprecated.Load bean definitions from the specified properties file.protected booleanDefaultListableBeanFactory.matchesBeanName(String beanName, String candidateName) Determine whether the given candidate name matches the bean name or the aliases stored in this bean definition.static RegisteredBeanRegisteredBean.ofInnerBean(RegisteredBean parent, String innerBeanName, BeanDefinition innerBeanDefinition) Create a newRegisteredBeaninstance for an inner-bean.protected voidAbstractAutowireCapableBeanFactory.populateBean(String beanName, RootBeanDefinition mbd, BeanWrapper bw) Populate the bean instance in the given BeanWrapper with the property values from the bean definition.intPropertiesBeanDefinitionReader.registerBeanDefinitions(Map<?, ?> map, String prefix) Deprecated.Register bean definitions contained in a Map.intPropertiesBeanDefinitionReader.registerBeanDefinitions(Map<?, ?> map, String prefix, String resourceDescription) Deprecated.Register bean definitions contained in a Map.intPropertiesBeanDefinitionReader.registerBeanDefinitions(ResourceBundle rb, String prefix) Deprecated.Register bean definitions contained in a ResourceBundle.voidDefaultListableBeanFactory.registerResolvableDependency(Class<?> dependencyType, Object autowiredValue) Class<?>AbstractBeanDefinition.resolveBeanClass(ClassLoader classLoader) Determine the class of the wrapped bean, resolving it from a specified class name if necessary.AbstractAutowireCapableBeanFactory.resolveDependency(DependencyDescriptor descriptor, String requestingBeanName) DefaultListableBeanFactory.resolveDependency(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) DefaultListableBeanFactory.resolveDependency(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) DefaultListableBeanFactory.resolveDependency(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) AbstractBeanFactory.resolveEmbeddedValue(String value) <T> TBeanDefinitionValueResolver.resolveInnerBean(String innerBeanName, BeanDefinition innerBd, BiFunction<String, RootBeanDefinition, T> resolver) Resolve an inner bean definition and invoke the specifiedresolveron its merged bean definition.BeanDefinitionValueResolver.resolveValueIfNecessary(Object argName, Object value) Given a PropertyValue, return a value, resolving any references to other beans in the factory if necessary.static BeanDefinitionBuilderBeanDefinitionBuilder.rootBeanDefinition(Class<?> beanClass, String factoryMethodName) Create a newBeanDefinitionBuilderused to construct aRootBeanDefinition.static BeanDefinitionBuilderBeanDefinitionBuilder.rootBeanDefinition(String beanClassName, String factoryMethodName) Create a newBeanDefinitionBuilderused to construct aRootBeanDefinition.voidAbstractBeanDefinition.setBeanClass(Class<?> beanClass) Specify the class for this bean.voidAbstractBeanDefinitionReader.setBeanClassLoader(ClassLoader beanClassLoader) Set the ClassLoader to use for bean classes.voidAbstractBeanFactory.setBeanClassLoader(ClassLoader beanClassLoader) voidAbstractBeanDefinition.setBeanClassName(String beanClassName) Specify the bean class name of this bean definition.voidAbstractBeanFactory.setBeanExpressionResolver(BeanExpressionResolver resolver) voidAbstractBeanDefinitionReader.setBeanNameGenerator(BeanNameGenerator beanNameGenerator) Set the BeanNameGenerator to use for anonymous beans (without explicit bean name specified).voidAbstractBeanFactory.setConversionService(ConversionService conversionService) static voidSimpleInstantiationStrategy.setCurrentlyInvokedFactoryMethod(Method method) Set the factory method currently being invoked ornullto reset.voidRootBeanDefinition.setDecoratedDefinition(BeanDefinitionHolder decoratedDefinition) Register a target definition that is being decorated by this bean definition.voidPropertiesBeanDefinitionReader.setDefaultParentBean(String defaultParentBean) Deprecated.Set the default parent bean for this bean factory.voidDefaultListableBeanFactory.setDependencyComparator(Comparator<Object> dependencyComparator) Set aComparatorfor dependency Lists and arrays.voidAbstractBeanDefinition.setDependsOn(String... dependsOn) Set the names of the beans that this bean depends on being initialized.voidAbstractBeanDefinition.setDescription(String description) Set a human-readable description of this bean definition.voidAbstractBeanDefinition.setDestroyMethodName(String destroyMethodName) Set the name of the destroy method.BeanDefinitionBuilder.setDestroyMethodName(String methodName) Set the destroy method for this definition.voidBeanDefinitionDefaults.setDestroyMethodName(String destroyMethodName) Set the name of the default destroy method.voidAbstractBeanDefinition.setDestroyMethodNames(String... destroyMethodNames) Specify the names of multiple destroy methods.voidManagedSet.setElementTypeName(String elementTypeName) Set the default element type name (class name) to be used for this set.voidAbstractBeanDefinition.setFactoryBeanName(String factoryBeanName) Specify the factory bean to use, if any.voidAbstractBeanDefinition.setFactoryMethodName(String factoryMethodName) Specify a factory method, if any.voidAbstractBeanDefinition.setInitMethodName(String initMethodName) Set the name of the initializer method.BeanDefinitionBuilder.setInitMethodName(String methodName) Set the init method for this definition.voidBeanDefinitionDefaults.setInitMethodName(String initMethodName) Set the name of the default initializer method.voidAbstractBeanDefinition.setInitMethodNames(String... initMethodNames) Specify the names of multiple initializer methods.voidAbstractBeanDefinition.setInstanceSupplier(Supplier<?> instanceSupplier) Specify a callback for creating an instance of the bean, as an alternative to a declaratively specified factory method.voidRootBeanDefinition.setInstanceSupplier(Supplier<?> supplier) voidManagedMap.setKeyTypeName(String keyTypeName) Set the default key type name (class name) to be used for this map.voidAbstractAutowireCapableBeanFactory.setParameterNameDiscoverer(ParameterNameDiscoverer parameterNameDiscoverer) Set the ParameterNameDiscoverer to use for resolving method parameter names if needed (e.g.voidAbstractBeanFactory.setParentBeanFactory(BeanFactory parentBeanFactory) voidChildBeanDefinition.setParentName(String parentName) voidGenericBeanDefinition.setParentName(String parentName) voidRootBeanDefinition.setParentName(String parentName) voidPropertiesBeanDefinitionReader.setPropertiesPersister(PropertiesPersister propertiesPersister) Deprecated.Set the PropertiesPersister to use for parsing properties files.voidRootBeanDefinition.setQualifiedElement(AnnotatedElement qualifiedElement) Specify theAnnotatedElementdefining qualifiers, to be used instead of the target class or factory method.voidRootBeanDefinition.setResolvedFactoryMethod(Method method) Set a resolved Java Method for the factory method on this bean definition.voidAbstractBeanDefinition.setResource(Resource resource) Set the resource that this bean definition came from (for the purpose of showing context in case of errors).voidAbstractBeanDefinition.setResourceDescription(String resourceDescription) Set a description of the resource that this bean definition came from (for the purpose of showing context in case of errors).voidAbstractBeanDefinitionReader.setResourceLoader(ResourceLoader resourceLoader) Set the ResourceLoader to use for resource locations.voidSet the name of the target scope for the bean.Set the scope of this definition.voidDefaultListableBeanFactory.setSerializationId(String serializationId) Specify an id for serialization purposes, allowing this BeanFactory to be deserialized from this id back into the BeanFactory object, if needed.voidSet the configuration sourceObjectfor this metadata element.voidSet the configuration sourceObjectfor this metadata element.voidSet the configuration sourceObjectfor this metadata element.voidSet the configuration sourceObjectfor this metadata element.voidSet the configuration sourceObjectfor this metadata element.voidRootBeanDefinition.setTargetType(Class<?> targetType) Specify the target type of this bean definition, if known in advance.voidRootBeanDefinition.setTargetType(ResolvableType targetType) Specify a generics-containing target type of this bean definition, if known in advance.voidAbstractBeanFactory.setTempClassLoader(ClassLoader tempClassLoader) voidManagedMap.setValueTypeName(String valueTypeName) Set the default value type name (class name) to be used for this map.static <T> InstanceSupplier<T>InstanceSupplier.using(Method factoryMethod, ThrowingSupplier<T> supplier) Factory method to create anInstanceSupplierfrom aThrowingSupplier.Constructor parameters in org.springframework.beans.factory.support with annotations of type NullableModifierConstructorDescriptionAbstractAutowireCapableBeanFactory(BeanFactory parentBeanFactory) Create a new AbstractAutowireCapableBeanFactory with the given parent.protectedCreate a new AbstractBeanDefinition with the given constructor argument values and property values.protectedCreate a new AbstractBeanDefinition with the given constructor argument values and property values.AbstractBeanFactory(BeanFactory parentBeanFactory) Create a new AbstractBeanFactory with the given parent.DefaultListableBeanFactory(BeanFactory parentBeanFactory) Create a new DefaultListableBeanFactory with the given parent.LookupOverride(Method method, String beanName) Construct a new LookupOverride.LookupOverride(String methodName, String beanName) Construct a new LookupOverride.RootBeanDefinition(Class<?> beanClass) Create a new RootBeanDefinition for a singleton.RootBeanDefinition(Class<?> beanClass, int autowireMode, boolean dependencyCheck) Create a new RootBeanDefinition for a singleton, using the given autowire mode.RootBeanDefinition(Class<?> beanClass, ConstructorArgumentValues cargs, MutablePropertyValues pvs) Create a new RootBeanDefinition for a singleton, providing constructor arguments and property values.RootBeanDefinition(Class<?> beanClass, ConstructorArgumentValues cargs, MutablePropertyValues pvs) Create a new RootBeanDefinition for a singleton, providing constructor arguments and property values.RootBeanDefinition(Class<?> beanClass, ConstructorArgumentValues cargs, MutablePropertyValues pvs) Create a new RootBeanDefinition for a singleton, providing constructor arguments and property values.RootBeanDefinition(Class<T> beanClass, String scope, Supplier<T> instanceSupplier) Create a new RootBeanDefinition for a scoped bean, constructing each instance through calling the given supplier (possibly a lambda or method reference).RootBeanDefinition(Class<T> beanClass, String scope, Supplier<T> instanceSupplier) Create a new RootBeanDefinition for a scoped bean, constructing each instance through calling the given supplier (possibly a lambda or method reference).RootBeanDefinition(Class<T> beanClass, Supplier<T> instanceSupplier) Create a new RootBeanDefinition for a singleton bean, constructing each instance through calling the given supplier (possibly a lambda or method reference).RootBeanDefinition(Class<T> beanClass, Supplier<T> instanceSupplier) Create a new RootBeanDefinition for a singleton bean, constructing each instance through calling the given supplier (possibly a lambda or method reference).RootBeanDefinition(ResolvableType beanType) Deprecated. -
Uses of Nullable in org.springframework.beans.factory.wiring
Methods in org.springframework.beans.factory.wiring with annotations of type NullableModifier and TypeMethodDescriptionprotected BeanWiringInfoResolverBeanConfigurerSupport.createDefaultBeanWiringInfoResolver()Create the default BeanWiringInfoResolver to be used if none was specified explicitly.BeanWiringInfo.getBeanName()Return the specific bean name that this BeanWiringInfo points to, if any.BeanWiringInfoResolver.resolveWiringInfo(Object beanInstance) Resolve the BeanWiringInfo for the given bean instance. -
Uses of Nullable in org.springframework.beans.factory.xml
Methods in org.springframework.beans.factory.xml with annotations of type NullableModifier and TypeMethodDescriptionNamespaceHandler.decorate(Node source, BeanDefinitionHolder definition, ParserContext parserContext) Parse the specifiedNodeand decorate the suppliedBeanDefinitionHolder, returning the decorated definition.NamespaceHandlerSupport.decorate(Node node, BeanDefinitionHolder definition, ParserContext parserContext) Decorates the suppliedNodeby delegating to theBeanDefinitionDecoratorthat is registered to handle thatNode.protected ObjectBeanDefinitionParserDelegate.extractSource(Element ele) Invoke theSourceExtractorto pull the source metadata from the suppliedElement.protected ObjectDefaultBeanDefinitionDocumentReader.extractSource(Element ele) Invoke theSourceExtractorto pull the source metadata from the suppliedElement.ParserContext.extractSource(Object sourceCandidate) DocumentDefaultsDefinition.getAutowire()Return the default autowire setting for the document that's currently parsed.String[]BeanDefinitionParserDelegate.getAutowireCandidatePatterns()Return any patterns provided in the 'default-autowire-candidates' attribute of the top-level<beans/>element.DocumentDefaultsDefinition.getAutowireCandidates()Return the default autowire-candidate pattern for the document that's currently parsed.protected Class<?>AbstractSingleBeanDefinitionParser.getBeanClass(Element element) Determine the bean class corresponding to the suppliedElement.final ClassLoaderXmlReaderContext.getBeanClassLoader()Return the bean class loader to use, if any.protected StringAbstractSingleBeanDefinitionParser.getBeanClassName(Element element) Determine the bean class name corresponding to the suppliedElement.ParserContext.getContainingBeanDefinition()ParserContext.getContainingComponent()DocumentDefaultsDefinition.getDestroyMethod()Return the default destroy-method setting for the document that's currently parsed.DocumentDefaultsDefinition.getInitMethod()Return the default init-method setting for the document that's currently parsed.DocumentDefaultsDefinition.getLazyInit()Return the default lazy-init flag for the document that's currently parsed.DocumentDefaultsDefinition.getMerge()Return the default merge setting for the document that's currently parsed.BeanDefinitionParserDelegate.getNamespaceURI(Node node) Get the namespace URI for the supplied node.protected StringAbstractSingleBeanDefinitionParser.getParentName(Element element) Determine the name for the parent of the currently parsed bean, in case of the current bean being defined as a child bean.final ResourceLoaderXmlReaderContext.getResourceLoader()Return the resource loader to use, if any.DocumentDefaultsDefinition.getSource()final BeanDefinitionAbstractBeanDefinitionParser.parse(Element element, ParserContext parserContext) BeanDefinitionParser.parse(Element element, ParserContext parserContext) Parse the specifiedElementand register the resultingBeanDefinition(s)with theBeanDefinitionRegistryembedded in the suppliedParserContext.NamespaceHandler.parse(Element element, ParserContext parserContext) Parse the specifiedElementand register any resultingBeanDefinitionswith theBeanDefinitionRegistrythat is embedded in the suppliedParserContext.NamespaceHandlerSupport.parse(Element element, ParserContext parserContext) Parses the suppliedElementby delegating to theBeanDefinitionParserthat is registered for thatElement.SimpleConstructorNamespaceHandler.parse(Element element, ParserContext parserContext) SimplePropertyNamespaceHandler.parse(Element element, ParserContext parserContext) BeanDefinitionParserDelegate.parseBeanDefinitionElement(Element ele) Parses the supplied<bean>element.BeanDefinitionParserDelegate.parseBeanDefinitionElement(Element ele, String beanName, BeanDefinition containingBean) Parse the bean definition itself, without regard to name or aliases.BeanDefinitionParserDelegate.parseBeanDefinitionElement(Element ele, BeanDefinition containingBean) Parses the supplied<bean>element.BeanDefinitionParserDelegate.parseCustomElement(Element ele) Parse a custom element (outside the default namespace).BeanDefinitionParserDelegate.parseCustomElement(Element ele, BeanDefinition containingBd) Parse a custom element (outside the default namespace).BeanDefinitionParserDelegate.parseIdRefElement(Element ele) Return a typed String value Object for the given 'idref' element.protected abstract AbstractBeanDefinitionAbstractBeanDefinitionParser.parseInternal(Element element, ParserContext parserContext) Central template method to actually parse the suppliedElementinto one or moreBeanDefinitions.protected ObjectBeanDefinitionParserDelegate.parseKeyElement(Element keyEle, BeanDefinition bd, String defaultKeyTypeName) Parse a key sub-element of a map element.BeanDefinitionParserDelegate.parsePropertySubElement(Element ele, BeanDefinition bd) Parse a value, ref or collection sub-element of a property or constructor-arg element.BeanDefinitionParserDelegate.parsePropertySubElement(Element ele, BeanDefinition bd, String defaultValueType) Parse a value, ref or collection sub-element of a property or constructor-arg element.BeanDefinitionParserDelegate.parsePropertyValue(Element ele, BeanDefinition bd, String propertyName) Get the value of a property element.Locate theNamespaceHandlerfor the supplied namespace URI from the configured mappings.Resolve the namespace URI and return the locatedNamespaceHandlerimplementation.BeansDtdResolver.resolveEntity(String publicId, String systemId) DelegatingEntityResolver.resolveEntity(String publicId, String systemId) PluggableSchemaResolver.resolveEntity(String publicId, String systemId) ResourceEntityResolver.resolveEntity(String publicId, String systemId) protected InputSourceResourceEntityResolver.resolveSchemaEntity(String publicId, String systemId) A fallback method forResourceEntityResolver.resolveEntity(String, String)that is used when a "schema" entity (DTD or XSD) cannot be resolved as a local resource.Method parameters in org.springframework.beans.factory.xml with annotations of type NullableModifier and TypeMethodDescriptionprotected TypedStringValueBeanDefinitionParserDelegate.buildTypedStringValue(String value, String targetTypeName) Build a typed String value Object for the given raw value.protected AbstractBeanDefinitionBeanDefinitionParserDelegate.createBeanDefinition(String className, String parentName) Create a bean definition for the given class name and parent name.protected AbstractBeanDefinitionBeanDefinitionParserDelegate.createBeanDefinition(String className, String parentName) Create a bean definition for the given class name and parent name.protected BeanDefinitionParserDelegateDefaultBeanDefinitionDocumentReader.createDelegate(XmlReaderContext readerContext, Element root, BeanDefinitionParserDelegate parentDelegate) protected DocumentBuilderDefaultDocumentLoader.createDocumentBuilder(DocumentBuilderFactory factory, EntityResolver entityResolver, ErrorHandler errorHandler) Create a JAXP DocumentBuilder that this bean definition reader will use for parsing XML documents.protected DocumentBuilderDefaultDocumentLoader.createDocumentBuilder(DocumentBuilderFactory factory, EntityResolver entityResolver, ErrorHandler errorHandler) Create a JAXP DocumentBuilder that this bean definition reader will use for parsing XML documents.BeanDefinitionParserDelegate.decorateBeanDefinitionIfRequired(Element ele, BeanDefinitionHolder originalDef, BeanDefinition containingBd) Decorate the given bean definition through a namespace handler, if applicable.BeanDefinitionParserDelegate.decorateIfRequired(Node node, BeanDefinitionHolder originalDef, BeanDefinition containingBd) Decorate the given bean definition through a namespace handler, if applicable.voidBeanDefinitionParserDelegate.initDefaults(Element root, BeanDefinitionParserDelegate parent) Initialize the default lazy-init, autowire, dependency check settings, init-method, destroy-method and merge settings.booleanBeanDefinitionParserDelegate.isDefaultNamespace(String namespaceUri) Determine whether the given URI indicates the default namespace.intXmlBeanDefinitionReader.loadBeanDefinitions(InputSource inputSource, String resourceDescription) Load bean definitions from the specified XML file.BeanDefinitionParserDelegate.parseArrayElement(Element arrayEle, BeanDefinition bd) Parse an array element.BeanDefinitionParserDelegate.parseBeanDefinitionAttributes(Element ele, String beanName, BeanDefinition containingBean, AbstractBeanDefinition bd) Apply the attributes of the given bean element to the given bean * definition.BeanDefinitionParserDelegate.parseBeanDefinitionElement(Element ele, String beanName, BeanDefinition containingBean) Parse the bean definition itself, without regard to name or aliases.BeanDefinitionParserDelegate.parseBeanDefinitionElement(Element ele, BeanDefinition containingBean) Parses the supplied<bean>element.protected voidBeanDefinitionParserDelegate.parseCollectionElements(NodeList elementNodes, Collection<Object> target, BeanDefinition bd, String defaultElementType) BeanDefinitionParserDelegate.parseCustomElement(Element ele, BeanDefinition containingBd) Parse a custom element (outside the default namespace).protected ObjectBeanDefinitionParserDelegate.parseKeyElement(Element keyEle, BeanDefinition bd, String defaultKeyTypeName) Parse a key sub-element of a map element.BeanDefinitionParserDelegate.parseListElement(Element collectionEle, BeanDefinition bd) Parse a list element.BeanDefinitionParserDelegate.parseMapElement(Element mapEle, BeanDefinition bd) Parse a map element.BeanDefinitionParserDelegate.parsePropertySubElement(Element ele, BeanDefinition bd) Parse a value, ref or collection sub-element of a property or constructor-arg element.BeanDefinitionParserDelegate.parsePropertySubElement(Element ele, BeanDefinition bd, String defaultValueType) Parse a value, ref or collection sub-element of a property or constructor-arg element.BeanDefinitionParserDelegate.parsePropertySubElement(Element ele, BeanDefinition bd, String defaultValueType) Parse a value, ref or collection sub-element of a property or constructor-arg element.BeanDefinitionParserDelegate.parsePropertyValue(Element ele, BeanDefinition bd, String propertyName) Get the value of a property element.BeanDefinitionParserDelegate.parseSetElement(Element collectionEle, BeanDefinition bd) Parse a set element.BeanDefinitionParserDelegate.parseValueElement(Element ele, String defaultTypeName) Return a typed String value Object for the given value element.protected voidBeanDefinitionParserDelegate.populateDefaults(DocumentDefaultsDefinition defaults, DocumentDefaultsDefinition parentDefaults, Element root) Populate the given DocumentDefaultsDefinition instance with the default lazy-init, autowire, dependency check settings, init-method, destroy-method and merge settings.BeansDtdResolver.resolveEntity(String publicId, String systemId) BeansDtdResolver.resolveEntity(String publicId, String systemId) DelegatingEntityResolver.resolveEntity(String publicId, String systemId) DelegatingEntityResolver.resolveEntity(String publicId, String systemId) PluggableSchemaResolver.resolveEntity(String publicId, String systemId) PluggableSchemaResolver.resolveEntity(String publicId, String systemId) ResourceEntityResolver.resolveEntity(String publicId, String systemId) ResourceEntityResolver.resolveEntity(String publicId, String systemId) protected InputSourceResourceEntityResolver.resolveSchemaEntity(String publicId, String systemId) A fallback method forResourceEntityResolver.resolveEntity(String, String)that is used when a "schema" entity (DTD or XSD) cannot be resolved as a local resource.voidDocumentDefaultsDefinition.setAutowire(String autowire) Set the default autowire setting for the document that's currently parsed.voidDocumentDefaultsDefinition.setAutowireCandidates(String autowireCandidates) Set the default autowire-candidate pattern for the document that's currently parsed.voidDocumentDefaultsDefinition.setDestroyMethod(String destroyMethod) Set the default destroy-method setting for the document that's currently parsed.voidXmlBeanDefinitionReader.setDocumentLoader(DocumentLoader documentLoader) Specify theDocumentLoaderto use.voidXmlBeanDefinitionReader.setEntityResolver(EntityResolver entityResolver) Set a SAX entity resolver to be used for parsing.voidXmlBeanDefinitionReader.setEventListener(ReaderEventListener eventListener) Specify whichReaderEventListenerto use.voidDocumentDefaultsDefinition.setInitMethod(String initMethod) Set the default init-method setting for the document that's currently parsed.voidDocumentDefaultsDefinition.setLazyInit(String lazyInit) Set the default lazy-init flag for the document that's currently parsed.voidSet the default merge setting for the document that's currently parsed.voidXmlBeanDefinitionReader.setNamespaceHandlerResolver(NamespaceHandlerResolver namespaceHandlerResolver) Specify theNamespaceHandlerResolverto use.voidXmlBeanDefinitionReader.setProblemReporter(ProblemReporter problemReporter) Specify whichProblemReporterto use.voidSet the configuration sourceObjectfor this metadata element.voidXmlBeanDefinitionReader.setSourceExtractor(SourceExtractor sourceExtractor) Specify theSourceExtractorto use.Constructor parameters in org.springframework.beans.factory.xml with annotations of type NullableModifierConstructorDescriptionDefaultNamespaceHandlerResolver(ClassLoader classLoader) Create a newDefaultNamespaceHandlerResolverusing the default mapping file location.DefaultNamespaceHandlerResolver(ClassLoader classLoader, String handlerMappingsLocation) Create a newDefaultNamespaceHandlerResolverusing the supplied mapping file location.DelegatingEntityResolver(ClassLoader classLoader) Create a new DelegatingEntityResolver that delegates to a defaultBeansDtdResolverand a defaultPluggableSchemaResolver.ParserContext(XmlReaderContext readerContext, BeanDefinitionParserDelegate delegate, BeanDefinition containingBeanDefinition) PluggableSchemaResolver(ClassLoader classLoader) Loads the schema URL → schema file location mappings using the default mapping file pattern "META-INF/spring.schemas".PluggableSchemaResolver(ClassLoader classLoader, String schemaMappingsLocation) Loads the schema URL → schema file location mappings using the given mapping file pattern. -
Uses of Nullable in org.springframework.beans.propertyeditors
Methods in org.springframework.beans.propertyeditors with annotations of type NullableModifier and TypeMethodDescriptionCustomCollectionEditor.getAsText()This implementation returnsnullto indicate that there is no appropriate text representation.CustomMapEditor.getAsText()This implementation returnsnullto indicate that there is no appropriate text representation.InputStreamEditor.getAsText()This implementation returnsnullto indicate that there is no appropriate text representation.ReaderEditor.getAsText()This implementation returnsnullto indicate that there is no appropriate text representation.Method parameters in org.springframework.beans.propertyeditors with annotations of type NullableModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidParse the Date from the given text, using the specified DateFormat.voidvoidConvertStringintoProperties, considering it as properties content.voidvoidConvert the given value to a Collection of the target type.voidConvert the given value to a Map of the target type.voidCoerce a Number value into the required target class, if necessary.Constructor parameters in org.springframework.beans.propertyeditors with annotations of type NullableModifierConstructorDescriptionClassArrayEditor(ClassLoader classLoader) Create a defaultClassArrayEditor, using the givenClassLoader.ClassEditor(ClassLoader classLoader) Create a default ClassEditor, using the given ClassLoader.CustomBooleanEditor(String trueString, String falseString, boolean allowEmpty) Create a new CustomBooleanEditor instance, with configurable String values for true and false.CustomBooleanEditor(String trueString, String falseString, boolean allowEmpty) Create a new CustomBooleanEditor instance, with configurable String values for true and false.CustomNumberEditor(Class<? extends Number> numberClass, NumberFormat numberFormat, boolean allowEmpty) Create a new CustomNumberEditor instance, using the given NumberFormat for parsing and rendering.StringArrayPropertyEditor(String separator, String charsToDelete, boolean emptyArrayAsNull) Create a newStringArrayPropertyEditorwith the given separator.StringArrayPropertyEditor(String separator, String charsToDelete, boolean emptyArrayAsNull, boolean trimValues) Create a newStringArrayPropertyEditorwith the given separator.URIEditor(ClassLoader classLoader) Create a new URIEditor, using the given ClassLoader to resolve "classpath:" locations into physical resource URLs.URIEditor(ClassLoader classLoader, boolean encode) Create a new URIEditor, using the given ClassLoader to resolve "classpath:" locations into physical resource URLs. -
Uses of Nullable in org.springframework.beans.support
Methods in org.springframework.beans.support with annotations of type NullableModifier and TypeMethodDescriptionprotected MethodArgumentConvertingMethodInvoker.doFindMatchingMethod(Object[] arguments) Actually find a method with matching parameter type, i.e.protected MethodArgumentConvertingMethodInvoker.findMatchingMethod()This implementation looks for a method with matching parameter types.PagedListHolder.getRefreshDate()Return the last time the list has been fetched from the source provider.PagedListHolder.getSort()Return the sort definition for this holder.ArgumentConvertingMethodInvoker.getTypeConverter()Return the TypeConverter used for argument type conversion.Method parameters in org.springframework.beans.support with annotations of type NullableModifier and TypeMethodDescriptionbooleanvoidPagedListHolder.setSort(SortDefinition sort) Set the sort definition for this holder.voidArgumentConvertingMethodInvoker.setTypeConverter(TypeConverter typeConverter) Set a TypeConverter to use for argument type conversion. -
Uses of Nullable in org.springframework.cache
Methods in org.springframework.cache with annotations of type NullableModifier and TypeMethodDescriptionReturn the value to which this cache maps the specified key.<T> TReturn the value to which this cache maps the specified key, generically specifying a type that return value will be cast to.<T> TReturn the value to which this cache maps the specified key, obtaining that value fromvalueLoaderif necessary.Cache.ValueWrapper.get()Return the actual value in the cache.Get the cache associated with the given name.Cache.ValueRetrievalException.getKey()default Cache.ValueWrapperCache.putIfAbsent(Object key, Object value) Atomically associate the specified value with the specified key in this cache if it is not set already.Method parameters in org.springframework.cache with annotations of type NullableModifier and TypeMethodDescription<T> TReturn the value to which this cache maps the specified key, generically specifying a type that return value will be cast to.voidAssociate the specified value with the specified key in this cache.default Cache.ValueWrapperCache.putIfAbsent(Object key, Object value) Atomically associate the specified value with the specified key in this cache if it is not set already.Constructor parameters in org.springframework.cache with annotations of type NullableModifierConstructorDescriptionValueRetrievalException(Object key, Callable<?> loader, Throwable ex) -
Uses of Nullable in org.springframework.cache.annotation
Fields in org.springframework.cache.annotation with annotations of type NullableModifier and TypeFieldDescriptionprotected Supplier<CacheManager>AbstractCachingConfiguration.cacheManagerprotected Supplier<CacheResolver>AbstractCachingConfiguration.cacheResolverprotected AnnotationAttributesAbstractCachingConfiguration.enableCachingprotected Supplier<CacheErrorHandler>AbstractCachingConfiguration.errorHandlerprotected Supplier<KeyGenerator>AbstractCachingConfiguration.keyGeneratorMethods in org.springframework.cache.annotation with annotations of type NullableModifier and TypeMethodDescription<T> Supplier<T>AbstractCachingConfiguration.CachingConfigurerSupplier.adapt(Function<CachingConfigurer, T> provider) Adapt theCachingConfigurersupplier to another supplier provided by the specified mapping function.default CacheManagerCachingConfigurer.cacheManager()Return the cache manager bean to use for annotation-driven cache management.CachingConfigurerSupport.cacheManager()Deprecated.default CacheResolverCachingConfigurer.cacheResolver()Return theCacheResolverbean to use to resolve regular caches for annotation-driven cache management.CachingConfigurerSupport.cacheResolver()Deprecated.protected Collection<CacheOperation>AnnotationCacheOperationSource.determineCacheOperations(AnnotationCacheOperationSource.CacheOperationProvider provider) Determine the cache operation(s) for the givenAnnotationCacheOperationSource.CacheOperationProvider.default CacheErrorHandlerCachingConfigurer.errorHandler()Return theCacheErrorHandlerto use to handle cache-related errors.CachingConfigurerSupport.errorHandler()Deprecated.protected Collection<CacheOperation>AnnotationCacheOperationSource.findCacheOperations(Class<?> clazz) protected Collection<CacheOperation>AnnotationCacheOperationSource.findCacheOperations(Method method) AnnotationCacheOperationSource.CacheOperationProvider.getCacheOperations(CacheAnnotationParser parser) Return theCacheOperationinstance(s) provided by the specified parser.default KeyGeneratorCachingConfigurer.keyGenerator()Return the key generator bean to use for annotation-driven cache management.CachingConfigurerSupport.keyGenerator()Deprecated.CacheAnnotationParser.parseCacheAnnotations(Class<?> type) Parse the cache definition for the given class, based on an annotation type understood by this parser.CacheAnnotationParser.parseCacheAnnotations(Method method) Parse the cache definition for the given method, based on an annotation type understood by this parser.SpringCacheAnnotationParser.parseCacheAnnotations(Class<?> type) SpringCacheAnnotationParser.parseCacheAnnotations(Method method) Method parameters in org.springframework.cache.annotation with annotations of type Nullable -
Uses of Nullable in org.springframework.cache.caffeine
Methods in org.springframework.cache.caffeine with annotations of type NullableModifier and TypeMethodDescription<T> Tprotected ObjectCaffeineCache.putIfAbsent(Object key, Object value) Method parameters in org.springframework.cache.caffeine with annotations of type NullableModifier and TypeMethodDescriptionvoidCaffeineCache.putIfAbsent(Object key, Object value) voidCaffeineCacheManager.setCacheNames(Collection<String> cacheNames) Specify the set of cache names for this CacheManager's 'static' mode. -
Uses of Nullable in org.springframework.cache.concurrent
Methods in org.springframework.cache.concurrent with annotations of type NullableModifier and TypeMethodDescription<T> TConcurrentMapCacheFactoryBean.getObject()protected ObjectConcurrentMapCache.putIfAbsent(Object key, Object value) Method parameters in org.springframework.cache.concurrent with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectConcurrentMapCache.fromStoreValue(Object storeValue) voidConcurrentMapCache.putIfAbsent(Object key, Object value) voidConcurrentMapCacheManager.setCacheNames(Collection<String> cacheNames) Specify the set of cache names for this CacheManager's 'static' mode.protected ObjectConcurrentMapCache.toStoreValue(Object userValue) Constructor parameters in org.springframework.cache.concurrent with annotations of type NullableModifierConstructorDescriptionprotectedConcurrentMapCache(String name, ConcurrentMap<Object, Object> store, boolean allowNullValues, SerializationDelegate serialization) Create a new ConcurrentMapCache with the specified name and the given internalConcurrentMapto use. -
Uses of Nullable in org.springframework.cache.interceptor
Methods in org.springframework.cache.interceptor with annotations of type NullableModifier and TypeMethodDescriptionprotected Cache.ValueWrapperExecuteCache.get(Object)on the specifiedCacheand invoke the error handler if an exception occurs.protected ObjectCacheAspectSupport.execute(CacheOperationInvoker invoker, Object target, Method method, Object[] args) protected abstract Collection<CacheOperation>AbstractFallbackCacheOperationSource.findCacheOperations(Class<?> clazz) Subclasses need to implement this to return the cache operations for the given class, if any.protected abstract Collection<CacheOperation>AbstractFallbackCacheOperationSource.findCacheOperations(Method method) Subclasses need to implement this to return the cache operations for the given method, if any.protected ObjectCacheAspectSupport.CacheOperationContext.generateKey(Object result) Compute the key for the given caching operation.protected abstract Collection<String>AbstractCacheResolver.getCacheNames(CacheOperationInvocationContext<?> context) Provide the name of the cache(s) to resolve against the current cache manager.AbstractFallbackCacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) Determine the cache operations for this method invocation.CacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) Return the collection of cache operations for this method, ornullif the method contains no cacheable annotations.CompositeCacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) NameMatchCacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) CacheAspectSupport.getCacheOperationSource()Return the CacheOperationSource for this cache aspect.CacheAspectSupport.getCacheResolver()Return the defaultCacheResolverthat this cache aspect delegates to.CacheableOperation.getUnless()CachePutOperation.getUnless()CacheInterceptor.invoke(MethodInvocation invocation) CacheOperationInvoker.invoke()Invoke the cache operation defined by this instance.protected ObjectCacheAspectSupport.invokeOperation(CacheOperationInvoker invoker) Execute the underlying operation (typically in case of cache miss) and return the result of the invocation.Method parameters in org.springframework.cache.interceptor with annotations of type NullableModifier and TypeMethodDescriptionprotected booleanCacheAspectSupport.CacheOperationContext.canPutToCache(Object value) voidCacheAspectSupport.configure(Supplier<CacheErrorHandler> errorHandler, Supplier<KeyGenerator> keyGenerator, Supplier<CacheResolver> cacheResolver, Supplier<CacheManager> cacheManager) Configure this aspect with the given error handler, key generator and cache resolver/manager suppliers, applying the corresponding default if a supplier is not resolvable.voidCacheAspectSupport.configure(Supplier<CacheErrorHandler> errorHandler, Supplier<KeyGenerator> keyGenerator, Supplier<CacheResolver> cacheResolver, Supplier<CacheManager> cacheManager) Configure this aspect with the given error handler, key generator and cache resolver/manager suppliers, applying the corresponding default if a supplier is not resolvable.voidCacheAspectSupport.configure(Supplier<CacheErrorHandler> errorHandler, Supplier<KeyGenerator> keyGenerator, Supplier<CacheResolver> cacheResolver, Supplier<CacheManager> cacheManager) Configure this aspect with the given error handler, key generator and cache resolver/manager suppliers, applying the corresponding default if a supplier is not resolvable.voidCacheAspectSupport.configure(Supplier<CacheErrorHandler> errorHandler, Supplier<KeyGenerator> keyGenerator, Supplier<CacheResolver> cacheResolver, Supplier<CacheManager> cacheManager) Configure this aspect with the given error handler, key generator and cache resolver/manager suppliers, applying the corresponding default if a supplier is not resolvable.protected voidExecuteCache.put(Object, Object)on the specifiedCacheand invoke the error handler if an exception occurs.booleanThis implementation compares thetoString()results.booleanbooleanprotected ObjectCacheAspectSupport.CacheOperationContext.generateKey(Object result) Compute the key for the given caching operation.protected ObjectAbstractFallbackCacheOperationSource.getCacheKey(Method method, Class<?> targetClass) Determine a cache key for the given method and target class.AbstractFallbackCacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) Determine the cache operations for this method invocation.CacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) Return the collection of cache operations for this method, ornullif the method contains no cacheable annotations.CompositeCacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) NameMatchCacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) voidCacheErrorHandler.handleCachePutError(RuntimeException exception, Cache cache, Object key, Object value) Handle the given runtime exception thrown by the cache provider when updating an item with the specifiedkeyandvalue, possibly rethrowing it as a fatal exception.voidLoggingCacheErrorHandler.handleCachePutError(RuntimeException exception, Cache cache, Object key, Object value) voidSimpleCacheErrorHandler.handleCachePutError(RuntimeException exception, Cache cache, Object key, Object value) protected booleanCacheAspectSupport.CacheOperationContext.isConditionPassing(Object result) voidCacheAspectSupport.setCacheOperationSource(CacheOperationSource cacheOperationSource) Set the CacheOperationSource for this cache aspect.voidCacheAspectSupport.setCacheResolver(CacheResolver cacheResolver) Set the defaultCacheResolverthat this cache aspect should delegate to if no specific cache resolver has been set for the operation. -
Uses of Nullable in org.springframework.cache.jcache
Methods in org.springframework.cache.jcache with annotations of type NullableModifier and TypeMethodDescription<T> Tjavax.cache.CacheManagerJCacheCacheManager.getCacheManager()Return the backing JCachejavax.cache.CacheManager.javax.cache.CacheManagerJCacheManagerFactoryBean.getObject()protected ObjectJCacheCache.putIfAbsent(Object key, Object value) Method parameters in org.springframework.cache.jcache with annotations of type NullableModifier and TypeMethodDescriptionvoidJCacheCache.putIfAbsent(Object key, Object value) voidJCacheCacheManager.setCacheManager(javax.cache.CacheManager cacheManager) Set the backing JCachejavax.cache.CacheManager.voidJCacheManagerFactoryBean.setCacheManagerProperties(Properties cacheManagerProperties) Specify properties for the to-be-createdCacheManager.voidJCacheManagerFactoryBean.setCacheManagerUri(URI cacheManagerUri) Specify the URI for the desiredCacheManager. -
Uses of Nullable in org.springframework.cache.jcache.config
Fields in org.springframework.cache.jcache.config with annotations of type NullableModifier and TypeFieldDescriptionprotected Supplier<CacheResolver>AbstractJCacheConfiguration.exceptionCacheResolverMethods in org.springframework.cache.jcache.config with annotations of type NullableModifier and TypeMethodDescriptiondefault CacheResolverJCacheConfigurer.exceptionCacheResolver()Return theCacheResolverbean to use to resolve exception caches for annotation-driven cache management.JCacheConfigurerSupport.exceptionCacheResolver()Deprecated. -
Uses of Nullable in org.springframework.cache.jcache.interceptor
Methods in org.springframework.cache.jcache.interceptor with annotations of type NullableModifier and TypeMethodDescriptionprotected javax.cache.annotation.CacheResolverFactoryAnnotationJCacheOperationSource.determineCacheResolverFactory(javax.cache.annotation.CacheDefaults defaults, Class<? extends javax.cache.annotation.CacheResolverFactory> candidate) protected ObjectJCacheAspectSupport.execute(CacheOperationInvoker invoker, Object target, Method method, Object[] args) protected abstract JCacheOperation<?>AbstractFallbackJCacheOperationSource.findCacheOperation(Method method, Class<?> targetType) Subclasses need to implement this to return the caching operation for the given method, if any.protected javax.cache.annotation.CacheDefaultsAnnotationJCacheOperationSource.getCacheDefaults(Method method, Class<?> targetType) DefaultJCacheOperationSource.getCacheManager()Return the specified cache manager to use, if any.AbstractFallbackJCacheOperationSource.getCacheOperation(Method method, Class<?> targetClass) JCacheOperationSource.getCacheOperation(Method method, Class<?> targetClass) Return the cache operations for this method, ornullif the method contains no JSR-107 related metadata.protected abstract JCacheOperationSourceJCacheOperationSourcePointcut.getCacheOperationSource()Deprecated, for removal: This API element is subject to removal in a future version.Obtain the underlyingJCacheOperationSource(may benull).DefaultJCacheOperationSource.getCacheResolver()Return the specified cache resolver to use, if any.DefaultJCacheOperationSource.getExceptionCacheResolver()Return the specified exception cache resolver to use, if any.JCacheInterceptor.invoke(MethodInvocation invocation) protected ObjectJCacheAspectSupport.invokeOperation(CacheOperationInvoker invoker) Execute the underlying operation (typically in case of cache miss) and return the result of the invocation.Method parameters in org.springframework.cache.jcache.interceptor with annotations of type NullableModifier and TypeMethodDescriptionprotected org.springframework.cache.jcache.interceptor.CachePutOperationAnnotationJCacheOperationSource.createCachePutOperation(Method method, javax.cache.annotation.CacheDefaults defaults, javax.cache.annotation.CachePut ann) protected org.springframework.cache.jcache.interceptor.CacheRemoveAllOperationAnnotationJCacheOperationSource.createCacheRemoveAllOperation(Method method, javax.cache.annotation.CacheDefaults defaults, javax.cache.annotation.CacheRemoveAll ann) protected org.springframework.cache.jcache.interceptor.CacheRemoveOperationAnnotationJCacheOperationSource.createCacheRemoveOperation(Method method, javax.cache.annotation.CacheDefaults defaults, javax.cache.annotation.CacheRemove ann) protected org.springframework.cache.jcache.interceptor.CacheResultOperationAnnotationJCacheOperationSource.createCacheResultOperation(Method method, javax.cache.annotation.CacheDefaults defaults, javax.cache.annotation.CacheResult ann) protected StringAnnotationJCacheOperationSource.determineCacheName(Method method, javax.cache.annotation.CacheDefaults defaults, String candidate) protected javax.cache.annotation.CacheResolverFactoryAnnotationJCacheOperationSource.determineCacheResolverFactory(javax.cache.annotation.CacheDefaults defaults, Class<? extends javax.cache.annotation.CacheResolverFactory> candidate) protected KeyGeneratorAnnotationJCacheOperationSource.determineKeyGenerator(javax.cache.annotation.CacheDefaults defaults, Class<? extends javax.cache.annotation.CacheKeyGenerator> candidate) booleanDeprecated, for removal: This API element is subject to removal in a future version.protected abstract JCacheOperation<?>AbstractFallbackJCacheOperationSource.findCacheOperation(Method method, Class<?> targetType) Subclasses need to implement this to return the caching operation for the given method, if any.protected JCacheOperation<?>AnnotationJCacheOperationSource.findCacheOperation(Method method, Class<?> targetType) protected javax.cache.annotation.CacheDefaultsAnnotationJCacheOperationSource.getCacheDefaults(Method method, Class<?> targetType) AbstractFallbackJCacheOperationSource.getCacheOperation(Method method, Class<?> targetClass) JCacheOperationSource.getCacheOperation(Method method, Class<?> targetClass) Return the cache operations for this method, ornullif the method contains no JSR-107 related metadata.protected CacheResolverAnnotationJCacheOperationSource.getCacheResolver(javax.cache.annotation.CacheResolverFactory factory, javax.cache.annotation.CacheMethodDetails<?> details) protected CacheResolverAnnotationJCacheOperationSource.getExceptionCacheResolver(javax.cache.annotation.CacheResolverFactory factory, javax.cache.annotation.CacheMethodDetails<javax.cache.annotation.CacheResult> details) voidDefaultJCacheOperationSource.setCacheManager(CacheManager cacheManager) Set the defaultCacheManagerto use to lookup cache by name.voidDefaultJCacheOperationSource.setCacheResolver(CacheResolver cacheResolver) Set theCacheResolverto resolve regular caches.voidDefaultJCacheOperationSource.setExceptionCacheResolver(CacheResolver exceptionCacheResolver) Set theCacheResolverto resolve exception caches.Constructor parameters in org.springframework.cache.jcache.interceptor with annotations of type NullableModifierConstructorDescriptionDefaultJCacheOperationSource(Supplier<CacheManager> cacheManager, Supplier<CacheResolver> cacheResolver, Supplier<CacheResolver> exceptionCacheResolver, Supplier<KeyGenerator> keyGenerator) Construct a newDefaultJCacheOperationSourcewith the given cache manager, cache resolver and key generator suppliers, applying the corresponding default if a supplier is not resolvable.DefaultJCacheOperationSource(Supplier<CacheManager> cacheManager, Supplier<CacheResolver> cacheResolver, Supplier<CacheResolver> exceptionCacheResolver, Supplier<KeyGenerator> keyGenerator) Construct a newDefaultJCacheOperationSourcewith the given cache manager, cache resolver and key generator suppliers, applying the corresponding default if a supplier is not resolvable.DefaultJCacheOperationSource(Supplier<CacheManager> cacheManager, Supplier<CacheResolver> cacheResolver, Supplier<CacheResolver> exceptionCacheResolver, Supplier<KeyGenerator> keyGenerator) Construct a newDefaultJCacheOperationSourcewith the given cache manager, cache resolver and key generator suppliers, applying the corresponding default if a supplier is not resolvable.DefaultJCacheOperationSource(Supplier<CacheManager> cacheManager, Supplier<CacheResolver> cacheResolver, Supplier<CacheResolver> exceptionCacheResolver, Supplier<KeyGenerator> keyGenerator) Construct a newDefaultJCacheOperationSourcewith the given cache manager, cache resolver and key generator suppliers, applying the corresponding default if a supplier is not resolvable.JCacheInterceptor(Supplier<CacheErrorHandler> errorHandler) Construct a newJCacheInterceptorwith the given error handler. -
Uses of Nullable in org.springframework.cache.support
Methods in org.springframework.cache.support with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectAbstractValueAdaptingCache.fromStoreValue(Object storeValue) Convert the given value from the internal store to a user value returned from the get method (adaptingnull).<T> T<T> T<T> TSimpleValueWrapper.get()Simply returns the value as given at construction time.This implementation always returns aCacheimplementation that will not store items.protected CacheAbstractCacheManager.getMissingCache(String name) Return a missing cache with the specifiedname, ornullif such a cache does not exist or could not be created on demand.protected abstract ObjectPerform an actual lookup in the underlying store.protected final CacheAbstractCacheManager.lookupCache(String name) Check for a registered cache of the given name.NoOpCache.putIfAbsent(Object key, Object value) protected Cache.ValueWrapperAbstractValueAdaptingCache.toValueWrapper(Object storeValue) Wrap the given store value with aSimpleValueWrapper, also going throughAbstractValueAdaptingCache.fromStoreValue(java.lang.Object)conversion.Method parameters in org.springframework.cache.support with annotations of type NullableModifier and TypeMethodDescriptionbooleanprotected ObjectAbstractValueAdaptingCache.fromStoreValue(Object storeValue) Convert the given value from the internal store to a user value returned from the get method (adaptingnull).<T> T<T> TvoidNoOpCache.putIfAbsent(Object key, Object value) protected ObjectAbstractValueAdaptingCache.toStoreValue(Object userValue) Convert the given user value, as passed into the put method, to a value in the internal store (adaptingnull).protected Cache.ValueWrapperAbstractValueAdaptingCache.toValueWrapper(Object storeValue) Wrap the given store value with aSimpleValueWrapper, also going throughAbstractValueAdaptingCache.fromStoreValue(java.lang.Object)conversion.Constructor parameters in org.springframework.cache.support with annotations of type NullableModifierConstructorDescriptionSimpleValueWrapper(Object value) Create a new SimpleValueWrapper instance for exposing the given value. -
Uses of Nullable in org.springframework.cache.transaction
Methods in org.springframework.cache.transaction with annotations of type NullableModifier and TypeMethodDescription<T> TTransactionAwareCacheDecorator.putIfAbsent(Object key, Object value) Method parameters in org.springframework.cache.transaction with annotations of type NullableModifier and TypeMethodDescription<T> TvoidTransactionAwareCacheDecorator.putIfAbsent(Object key, Object value) -
Uses of Nullable in org.springframework.context
Methods in org.springframework.context with annotations of type NullableModifier and TypeMethodDescriptiondefault Object[]MessageSourceResolvable.getArguments()Return the array of arguments to be used to resolve this message.String[]MessageSourceResolvable.getCodes()Return the codes to be used to resolve this message, in the order that they should get tried.default StringMessageSourceResolvable.getDefaultMessage()Return the default message to be used to resolve this message.ApplicationContext.getId()Return the unique id of this application context.MessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) Try to resolve the message.ApplicationContext.getParent()Return the parent context, ornullif there is no parent and this is the root of the context hierarchy.HierarchicalMessageSource.getParentMessageSource()Return the parent of this MessageSource, ornullif none.Method parameters in org.springframework.context with annotations of type NullableModifier and TypeMethodDescriptionMessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) Try to resolve the message.MessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) Try to resolve the message.MessageSource.getMessage(String code, Object[] args, Locale locale) Try to resolve the message.voidConfigurableApplicationContext.setParent(ApplicationContext parent) Set the parent of this application context.voidHierarchicalMessageSource.setParentMessageSource(MessageSource parent) Set the parent that will be used to try to resolve messages that this object can't resolve.Constructor parameters in org.springframework.context with annotations of type NullableModifierConstructorDescriptionPayloadApplicationEvent(Object source, T payload, ResolvableType payloadType) Create a new PayloadApplicationEvent based on the provided payload type. -
Uses of Nullable in org.springframework.context.annotation
Fields in org.springframework.context.annotation with annotations of type NullableModifier and TypeFieldDescriptionprotected StringCommonAnnotationBeanPostProcessor.LookupElement.mappedNameMethods in org.springframework.context.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected StringAnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotatedBeanDefinition annotatedDef) Derive a bean name from one of the annotations on the class.ConditionContext.getBeanFactory()Return theConfigurableListableBeanFactorythat will hold the bean definition should the condition match, ornullif the bean factory is not available (or not downcastable toConfigurableListableBeanFactory).ConditionContext.getClassLoader()Return theClassLoaderthat should be used to load additional classes (onlynullif even the system ClassLoader isn't accessible).ImportSelector.getExclusionFilter()Return a predicate for excluding classes from the import candidates, to be transitively applied to all classes found through this selector's imports.ScannedGenericBeanDefinition.getFactoryMethodMetadata()default Class<? extends DeferredImportSelector.Group>DeferredImportSelector.getImportGroup()Return a specific import group.Class<?>ContextAnnotationAutowireCandidateResolver.getLazyResolutionProxyClass(DependencyDescriptor descriptor, String beanName) ContextAnnotationAutowireCandidateResolver.getLazyResolutionProxyIfNecessary(DependencyDescriptor descriptor, String beanName) static IntegerConfigurationClassUtils.getOrder(AnnotationMetadata metadata) Determine the order for the given configuration class metadata.protected BeanDefinitionRegistryClassPathScanningCandidateComponentProvider.getRegistry()Return theBeanDefinitionRegistryused by this scanner, if any.AnnotationConfigBeanDefinitionParser.parse(Element element, ParserContext parserContext) ComponentScanBeanDefinitionParser.parse(Element element, ParserContext parserContext) ConfigurationClassPostProcessor.processAheadOfTime(ConfigurableListableBeanFactory beanFactory) ConfigurationClassPostProcessor.processAheadOfTime(RegisteredBean registeredBean) protected StringJsr330ScopeMetadataResolver.resolveScopeName(String annotationType) Resolve the given annotation type into a named Spring scope.protected abstract String[]AdviceModeImportSelector.selectImports(AdviceMode adviceMode) Determine which classes should be imported based on the givenAdviceMode.Method parameters in org.springframework.context.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectCommonAnnotationBeanPostProcessor.autowireResource(BeanFactory factory, CommonAnnotationBeanPostProcessor.LookupElement element, String requestingBeanName) Obtain a resource object for the given name and type through autowiring based on the given factory.protected ObjectContextAnnotationAutowireCandidateResolver.buildLazyResolutionProxy(DependencyDescriptor descriptor, String beanName) protected ObjectCommonAnnotationBeanPostProcessor.buildLazyResourceProxy(CommonAnnotationBeanPostProcessor.LookupElement element, String requestingBeanName) Obtain a lazily resolving resource proxy for the given name and type, delegating toCommonAnnotationBeanPostProcessor.getResource(org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.LookupElement, java.lang.String)on demand once a method call comes in.protected TypeFilterComponentScanBeanDefinitionParser.createTypeFilter(Element element, ClassLoader classLoader, ParserContext parserContext) booleanClass<?>ContextAnnotationAutowireCandidateResolver.getLazyResolutionProxyClass(DependencyDescriptor descriptor, String beanName) ContextAnnotationAutowireCandidateResolver.getLazyResolutionProxyIfNecessary(DependencyDescriptor descriptor, String beanName) protected ObjectCommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.LookupElement element, String requestingBeanName) Obtain the resource object for the given name and type.protected booleanAnnotationBeanNameGenerator.isStereotypeWithNameValue(String annotationType, Set<String> metaAnnotationTypes, Map<String, Object> attributes) Check whether the given annotation is a stereotype that is allowed to suggest a component name through its annotationvalue().static Set<BeanDefinitionHolder>AnnotationConfigUtils.registerAnnotationConfigProcessors(BeanDefinitionRegistry registry, Object source) Register all relevant annotation post processors in the given registry.voidAnnotatedBeanDefinitionReader.registerBean(Class<?> beanClass, String name) Register a bean from the given bean class, deriving its metadata from class-declared annotations.voidAnnotatedBeanDefinitionReader.registerBean(Class<?> beanClass, String name, Class<? extends Annotation>... qualifiers) Register a bean from the given bean class, deriving its metadata from class-declared annotations.<T> voidAnnotatedBeanDefinitionReader.registerBean(Class<T> beanClass, String name, Supplier<T> supplier) Register a bean from the given bean class, deriving its metadata from class-declared annotations, using the given supplier for obtaining a new instance (possibly declared as a lambda expression or method reference).<T> voidAnnotatedBeanDefinitionReader.registerBean(Class<T> beanClass, String name, Supplier<T> supplier) Register a bean from the given bean class, deriving its metadata from class-declared annotations, using the given supplier for obtaining a new instance (possibly declared as a lambda expression or method reference).<T> voidAnnotatedBeanDefinitionReader.registerBean(Class<T> beanClass, String name, Supplier<T> supplier, BeanDefinitionCustomizer... customizers) Register a bean from the given bean class, deriving its metadata from class-declared annotations.<T> voidAnnotatedBeanDefinitionReader.registerBean(Class<T> beanClass, String name, Supplier<T> supplier, BeanDefinitionCustomizer... customizers) Register a bean from the given bean class, deriving its metadata from class-declared annotations.<T> voidAnnotatedBeanDefinitionReader.registerBean(Class<T> beanClass, Supplier<T> supplier) Register a bean from the given bean class, deriving its metadata from class-declared annotations, using the given supplier for obtaining a new instance (possibly declared as a lambda expression or method reference).<T> voidAnnotationConfigApplicationContext.registerBean(String beanName, Class<T> beanClass, Supplier<T> supplier, BeanDefinitionCustomizer... customizers) <T> voidAnnotationConfigApplicationContext.registerBean(String beanName, Class<T> beanClass, Supplier<T> supplier, BeanDefinitionCustomizer... customizers) voidClassPathBeanDefinitionScanner.setAutowireCandidatePatterns(String... autowireCandidatePatterns) Set the name-matching patterns for determining autowire candidates.voidClassPathBeanDefinitionScanner.setBeanDefinitionDefaults(BeanDefinitionDefaults beanDefinitionDefaults) Set the defaults to use for detected beans.voidAnnotatedBeanDefinitionReader.setBeanNameGenerator(BeanNameGenerator beanNameGenerator) Set theBeanNameGeneratorto use for detected bean classes.voidClassPathBeanDefinitionScanner.setBeanNameGenerator(BeanNameGenerator beanNameGenerator) Set the BeanNameGenerator to use for detected bean classes.voidConfigurationClassPostProcessor.setProblemReporter(ProblemReporter problemReporter) Set theProblemReporterto use.voidClassPathScanningCandidateComponentProvider.setResourceLoader(ResourceLoader resourceLoader) Set theResourceLoaderto use for resource locations.voidAnnotatedBeanDefinitionReader.setScopeMetadataResolver(ScopeMetadataResolver scopeMetadataResolver) Set theScopeMetadataResolverto use for registered component classes.voidClassPathBeanDefinitionScanner.setScopeMetadataResolver(ScopeMetadataResolver scopeMetadataResolver) Set the ScopeMetadataResolver to use for detected bean classes.voidConfigurationClassPostProcessor.setSourceExtractor(SourceExtractor sourceExtractor) Set theSourceExtractorto use for generated bean definitions that correspond toBeanfactory methods.Constructor parameters in org.springframework.context.annotation with annotations of type NullableModifierConstructorDescriptionClassPathBeanDefinitionScanner(BeanDefinitionRegistry registry, boolean useDefaultFilters, Environment environment, ResourceLoader resourceLoader) Create a newClassPathBeanDefinitionScannerfor the given bean factory and using the givenEnvironmentwhen evaluating bean definition profile metadata.LookupElement(Member member, PropertyDescriptor pd) -
Uses of Nullable in org.springframework.context.aot
Method parameters in org.springframework.context.aot with annotations of type NullableModifier and TypeMethodDescriptionstatic <C extends ConfigurableApplicationContext>
ApplicationContextInitializer<C>AotApplicationContextInitializer.instantiateInitializer(String initializerClassName, ClassLoader classLoader) -
Uses of Nullable in org.springframework.context.event
Methods in org.springframework.context.event with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectInvoke the event listener method with the given argument values.protected StringApplicationListenerMethodAdapter.getCondition()Return the condition to use.protected ErrorHandlerSimpleApplicationEventMulticaster.getErrorHandler()Return the current error handler for this multicaster.protected ExecutorSimpleApplicationEventMulticaster.getTaskExecutor()Return the current task executor for this multicaster.EventPublicationInterceptor.invoke(MethodInvocation invocation) protected Object[]ApplicationListenerMethodAdapter.resolveArguments(ApplicationEvent event) Resolve the method arguments to use for the specifiedApplicationEvent.Method parameters in org.springframework.context.event with annotations of type NullableModifier and TypeMethodDescriptionvoidApplicationEventMulticaster.multicastEvent(ApplicationEvent event, ResolvableType eventType) Multicast the given application event to appropriate listeners.voidSimpleApplicationEventMulticaster.multicastEvent(ApplicationEvent event, ResolvableType eventType) voidSimpleApplicationEventMulticaster.setErrorHandler(ErrorHandler errorHandler) Set theErrorHandlerto invoke in case an exception is thrown from a listener.voidSimpleApplicationEventMulticaster.setTaskExecutor(Executor taskExecutor) Set a custom executor (typically aTaskExecutor) to invoke each listener with.protected booleanAbstractApplicationEventMulticaster.supportsEvent(ApplicationListener<?> listener, ResolvableType eventType, Class<?> sourceType) Determine whether the given listener supports the given event.booleanApplicationListenerMethodAdapter.supportsSourceType(Class<?> sourceType) booleanGenericApplicationListenerAdapter.supportsSourceType(Class<?> sourceType) default booleanSmartApplicationListener.supportsSourceType(Class<?> sourceType) Determine whether this listener actually supports the given source type.booleanSourceFilteringListener.supportsSourceType(Class<?> sourceType) -
Uses of Nullable in org.springframework.context.expression
Methods in org.springframework.context.expression with annotations of type NullableModifier and TypeMethodDescriptionStandardBeanExpressionResolver.evaluate(String value, BeanExpressionContext beanExpressionContext) MethodBasedEvaluationContext.lookupVariable(String name) Method parameters in org.springframework.context.expression with annotations of type NullableModifier and TypeMethodDescriptionbooleanBeanExpressionContextAccessor.canRead(EvaluationContext context, Object target, String name) booleanBeanFactoryAccessor.canRead(EvaluationContext context, Object target, String name) booleanEnvironmentAccessor.canRead(EvaluationContext context, Object target, String name) Can read anyEnvironment, thus always returns true.booleanMapAccessor.canRead(EvaluationContext context, Object target, String name) booleanBeanExpressionContextAccessor.canWrite(EvaluationContext context, Object target, String name) booleanBeanFactoryAccessor.canWrite(EvaluationContext context, Object target, String name) booleanEnvironmentAccessor.canWrite(EvaluationContext context, Object target, String name) Read-only: returnsfalse.booleanMapAccessor.canWrite(EvaluationContext context, Object target, String name) booleanbooleanStandardBeanExpressionResolver.evaluate(String value, BeanExpressionContext beanExpressionContext) BeanExpressionContextAccessor.read(EvaluationContext context, Object target, String name) BeanFactoryAccessor.read(EvaluationContext context, Object target, String name) EnvironmentAccessor.read(EvaluationContext context, Object target, String name) Access the given target object by resolving the given property name against the given target environment.MapAccessor.read(EvaluationContext context, Object target, String name) voidBeanExpressionContextAccessor.write(EvaluationContext context, Object target, String name, Object newValue) voidBeanExpressionContextAccessor.write(EvaluationContext context, Object target, String name, Object newValue) voidBeanFactoryAccessor.write(EvaluationContext context, Object target, String name, Object newValue) voidBeanFactoryAccessor.write(EvaluationContext context, Object target, String name, Object newValue) voidEnvironmentAccessor.write(EvaluationContext context, Object target, String name, Object newValue) Read-only: no-op.voidEnvironmentAccessor.write(EvaluationContext context, Object target, String name, Object newValue) Read-only: no-op.voidMapAccessor.write(EvaluationContext context, Object target, String name, Object newValue) voidMapAccessor.write(EvaluationContext context, Object target, String name, Object newValue) Constructor parameters in org.springframework.context.expression with annotations of type NullableModifierConstructorDescriptionAnnotatedElementKey(AnnotatedElement element, Class<?> targetClass) Create a new instance with the specifiedAnnotatedElementand optional targetClass.StandardBeanExpressionResolver(ClassLoader beanClassLoader) Create a newStandardBeanExpressionResolverwith the given bean class loader, using it as the basis for expression compilation. -
Uses of Nullable in org.springframework.context.i18n
Methods in org.springframework.context.i18n with annotations of type NullableModifier and TypeMethodDescriptionLocaleContext.getLocale()Return the current Locale, which can be fixed or determined dynamically, depending on the implementation strategy.SimpleLocaleContext.getLocale()static LocaleContextLocaleContextHolder.getLocaleContext()Return the LocaleContext associated with the current thread, if any.SimpleTimeZoneAwareLocaleContext.getTimeZone()TimeZoneAwareLocaleContext.getTimeZone()Return the current TimeZone, which can be fixed or determined dynamically, depending on the implementation strategy.Method parameters in org.springframework.context.i18n with annotations of type NullableModifier and TypeMethodDescriptionstatic LocaleLocaleContextHolder.getLocale(LocaleContext localeContext) Return the Locale associated with the given user context, if any, or the system default Locale otherwise.static TimeZoneLocaleContextHolder.getTimeZone(LocaleContext localeContext) Return the TimeZone associated with the given user context, if any, or the system default TimeZone otherwise.static voidLocaleContextHolder.setDefaultLocale(Locale locale) Set a shared default locale at the framework level, as an alternative to the JVM-wide default locale.static voidLocaleContextHolder.setDefaultTimeZone(TimeZone timeZone) Set a shared default time zone at the framework level, as an alternative to the JVM-wide default time zone.static voidAssociate the given Locale with the current thread, preserving any TimeZone that may have been set already.static voidAssociate the given Locale with the current thread, preserving any TimeZone that may have been set already.static voidLocaleContextHolder.setLocaleContext(LocaleContext localeContext) Associate the given LocaleContext with the current thread, not exposing it as inheritable for child threads.static voidLocaleContextHolder.setLocaleContext(LocaleContext localeContext, boolean inheritable) Associate the given LocaleContext with the current thread.static voidLocaleContextHolder.setTimeZone(TimeZone timeZone) Associate the given TimeZone with the current thread, preserving any Locale that may have been set already.static voidLocaleContextHolder.setTimeZone(TimeZone timeZone, boolean inheritable) Associate the given TimeZone with the current thread, preserving any Locale that may have been set already.Constructor parameters in org.springframework.context.i18n with annotations of type NullableModifierConstructorDescriptionSimpleLocaleContext(Locale locale) Create a newSimpleLocaleContextthat exposes the specifiedLocale.SimpleTimeZoneAwareLocaleContext(Locale locale, TimeZone timeZone) Create a new SimpleTimeZoneAwareLocaleContext that exposes the specified Locale and TimeZone.SimpleTimeZoneAwareLocaleContext(Locale locale, TimeZone timeZone) Create a new SimpleTimeZoneAwareLocaleContext that exposes the specified Locale and TimeZone. -
Uses of Nullable in org.springframework.context.index
Methods in org.springframework.context.index with annotations of type NullableModifier and TypeMethodDescriptionstatic CandidateComponentsIndexCandidateComponentsIndexLoader.loadIndex(ClassLoader classLoader) Load and instantiate theCandidateComponentsIndexfrom "META-INF/spring.components", using the given class loader.Method parameters in org.springframework.context.index with annotations of type NullableModifier and TypeMethodDescriptionstatic CandidateComponentsIndexCandidateComponentsIndexLoader.loadIndex(ClassLoader classLoader) Load and instantiate theCandidateComponentsIndexfrom "META-INF/spring.components", using the given class loader. -
Uses of Nullable in org.springframework.context.support
Methods in org.springframework.context.support with annotations of type NullableModifier and TypeMethodDescription<A extends Annotation>
AAbstractApplicationContext.findAnnotationOnBean(String beanName, Class<A> annotationType) <A extends Annotation>
AAbstractApplicationContext.findAnnotationOnBean(String beanName, Class<A> annotationType, boolean allowFactoryBeanInit) final ApplicationContextApplicationObjectSupport.getApplicationContext()Return the ApplicationContext that this object is associated with.Object[]DefaultMessageSourceResolvable.getArguments()protected ClassLoaderResourceBundleMessageSource.getBundleClassLoader()Return the ClassLoader to load resource bundles with.GenericApplicationContext.getClassLoader()DefaultMessageSourceResolvable.getCode()Return the default code of this resolvable, that is, the last one in the codes array.String[]DefaultMessageSourceResolvable.getCodes()protected PropertiesAbstractMessageSource.getCommonMessages()Return a Properties object defining locale-independent common messages, if any.protected String[]AbstractRefreshableConfigApplicationContext.getConfigLocations()Return an array of resource locations, referring to the XML bean definition files that this context should be built with.protected Resource[]AbstractXmlApplicationContext.getConfigResources()Return an array of Resource objects, referring to the XML bean definition files that this context should be built with.protected Resource[]ClassPathXmlApplicationContext.getConfigResources()protected String[]AbstractRefreshableConfigApplicationContext.getDefaultConfigLocations()Return the default config locations to use, for the case where no explicit config locations have been specified.protected StringAbstractResourceBasedMessageSource.getDefaultEncoding()Return the default charset to use for parsing properties files, if any.protected LocaleAbstractResourceBasedMessageSource.getDefaultLocale()Determine a default Locale to fall back to: either a locally specified default Locale or the system Locale, ornullfor no fallback locale at all.protected StringAbstractMessageSource.getDefaultMessage(String code) Return a fallback default message for the given code, if any.protected StringAbstractMessageSource.getDefaultMessage(MessageSourceResolvable resolvable, Locale locale) Get a default message for the givenMessageSourceResolvable.DefaultMessageSourceResolvable.getDefaultMessage()protected BeanFactoryAbstractApplicationContext.getInternalParentBeanFactory()Return the internal bean factory of the parent context if it implements ConfigurableApplicationContext; else, return the parent context itself.protected MessageSourceAbstractApplicationContext.getInternalParentMessageSource()Return the internal message source of the parent context if it is an AbstractApplicationContext too; else, return the parent context itself.DelegatingMessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) ReloadableResourceBundleMessageSource.PropertiesHolder.getMessageFormat(String code, Locale locale) protected MessageFormatResourceBundleMessageSource.getMessageFormat(ResourceBundle bundle, String code, Locale locale) Return a MessageFormat for the given bundle and code, fetching already generated MessageFormats from the cache.protected StringAbstractMessageSource.getMessageFromParent(String code, Object[] args, Locale locale) Try to retrieve the given message from the parentMessageSource, if any.protected StringAbstractMessageSource.getMessageInternal(String code, Object[] args, Locale locale) Resolve the given code and arguments as message in the given Locale, returningnullif not found.protected final MessageSourceAccessorApplicationObjectSupport.getMessageSourceAccessor()Return a MessageSourceAccessor for the application context used by this object, for easy message access.ConversionServiceFactoryBean.getObject()AbstractApplicationContext.getParent()Return the parent context, ornullif there is no parent (that is, this context is the root of the context hierarchy).AbstractApplicationContext.getParentBeanFactory()AbstractMessageSource.getParentMessageSource()DelegatingMessageSource.getParentMessageSource()ReloadableResourceBundleMessageSource.PropertiesHolder.getProperties()GenericGroovyApplicationContext.getProperty(String property) ReloadableResourceBundleMessageSource.PropertiesHolder.getProperty(String code) protected ResourceBundleResourceBundleMessageSource.getResourceBundle(String basename, Locale locale) Return a ResourceBundle for the given basename and Locale, fetching already generated ResourceBundle from the cache.protected StringResourceBundleMessageSource.getStringOrNull(ResourceBundle bundle, String key) Efficiently retrieve the String value for the specified key, or returnnullif not found.Class<?>Class<?>protected ObjectMessageSourceResourceBundle.handleGetObject(String key) This implementation resolves the code in the MessageSource.protected abstract MessageFormatAbstractMessageSource.resolveCode(String code, Locale locale) Subclasses must implement this method to resolve a message.protected MessageFormatReloadableResourceBundleMessageSource.resolveCode(String code, Locale locale) Resolves the given message code as key in the retrieved bundle files, using a cached MessageFormat instance per message code.protected MessageFormatResourceBundleMessageSource.resolveCode(String code, Locale locale) Resolves the given message code as key in the registered resource bundles, using a cached MessageFormat instance per message code.protected MessageFormatStaticMessageSource.resolveCode(String code, Locale locale) protected StringAbstractMessageSource.resolveCodeWithoutArguments(String code, Locale locale) Subclasses can override this method to resolve a message without arguments in an optimized fashion, i.e.protected StringStaticMessageSource.resolveCodeWithoutArguments(String code, Locale locale) SimpleThreadScope.resolveContextualObject(String key) protected StringEmbeddedValueResolutionSupport.resolveEmbeddedValue(String value) Resolve the given embedded value through this instance'sStringValueResolver.Method parameters in org.springframework.context.support with annotations of type NullableModifier and TypeMethodDescriptionbooleanprotected StringMessageSourceSupport.formatMessage(String msg, Object[] args, Locale locale) Format the given message String, using cached MessageFormats.String[]AbstractApplicationContext.getBeanNamesForType(Class<?> type) String[]AbstractApplicationContext.getBeanNamesForType(Class<?> type, boolean includeNonSingletons, boolean allowEagerInit) AbstractApplicationContext.getBeansOfType(Class<T> type) AbstractApplicationContext.getBeansOfType(Class<T> type, boolean includeNonSingletons, boolean allowEagerInit) AbstractApplicationContext.getMessage(String code, Object[] args, String defaultMessage, Locale locale) AbstractApplicationContext.getMessage(String code, Object[] args, String defaultMessage, Locale locale) AbstractApplicationContext.getMessage(String code, Object[] args, Locale locale) final StringAbstractMessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) final StringAbstractMessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) final StringAbstractMessageSource.getMessage(String code, Object[] args, Locale locale) DelegatingMessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) DelegatingMessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) DelegatingMessageSource.getMessage(String code, Object[] args, Locale locale) MessageSourceAccessor.getMessage(String code, Object[] args) Retrieve the message for the given code and the default Locale.MessageSourceAccessor.getMessage(String code, Object[] args, String defaultMessage) Retrieve the message for the given code and the default Locale.MessageSourceAccessor.getMessage(String code, Object[] args, String defaultMessage, Locale locale) Retrieve the message for the given code and the given Locale.MessageSourceAccessor.getMessage(String code, Object[] args, Locale locale) Retrieve the message for the given code and the given Locale.protected StringAbstractMessageSource.getMessageFromParent(String code, Object[] args, Locale locale) Try to retrieve the given message from the parentMessageSource, if any.protected StringAbstractMessageSource.getMessageInternal(String code, Object[] args, Locale locale) Resolve the given code and arguments as message in the given Locale, returningnullif not found.protected StringAbstractMessageSource.getMessageInternal(String code, Object[] args, Locale locale) Resolve the given code and arguments as message in the given Locale, returningnullif not found.protected StringAbstractMessageSource.getMessageInternal(String code, Object[] args, Locale locale) Resolve the given code and arguments as message in the given Locale, returningnullif not found.protected voidAbstractApplicationContext.publishEvent(Object event, ResolvableType typeHint) Publish the given event to all listeners.ReloadableResourceBundleMessageSource.refreshProperties(String filename, ReloadableResourceBundleMessageSource.PropertiesHolder propHolder) Refresh the PropertiesHolder for the given bundle filename.<T> voidGenericApplicationContext.registerBean(String beanName, Class<T> beanClass, Object... constructorArgs) Register a bean from the given bean class, optionally providing explicit constructor arguments for consideration in the autowiring process.<T> voidGenericApplicationContext.registerBean(String beanName, Class<T> beanClass, Supplier<T> supplier, BeanDefinitionCustomizer... customizers) Register a bean from the given bean class, using the given supplier for obtaining a new instance (typically declared as a lambda expression or method reference), optionally customizing its bean definition metadata (again typically declared as a lambda expression).<T> voidGenericApplicationContext.registerBean(String beanName, Class<T> beanClass, Supplier<T> supplier, BeanDefinitionCustomizer... customizers) Register a bean from the given bean class, using the given supplier for obtaining a new instance (typically declared as a lambda expression or method reference), optionally customizing its bean definition metadata (again typically declared as a lambda expression).final <T> voidGenericApplicationContext.registerBean(String beanName, Class<T> beanClass, BeanDefinitionCustomizer... customizers) Register a bean from the given bean class, optionally customizing its bean definition metadata (typically declared as a lambda expression).protected StringMessageSourceSupport.renderDefaultMessage(String defaultMessage, Object[] args, Locale locale) Render the given default message String.protected Object[]AbstractMessageSource.resolveArguments(Object[] args, Locale locale) Searches through the given array of objects, finds any MessageSourceResolvable objects and resolves them.protected Object[]MessageSourceSupport.resolveArguments(Object[] args, Locale locale) Template method for resolving argument objects.final voidApplicationObjectSupport.setApplicationContext(ApplicationContext context) voidGenericApplicationContext.setClassLoader(ClassLoader classLoader) voidAbstractMessageSource.setCommonMessages(Properties commonMessages) Specify locale-independent common messages, with the message code as key and the full message String (may contain argument placeholders) as value.voidAbstractRefreshableConfigApplicationContext.setConfigLocations(String... locations) Set the config locations for this application context.voidAbstractResourceBasedMessageSource.setDefaultEncoding(String defaultEncoding) Set the default charset to use for parsing properties files.voidAbstractResourceBasedMessageSource.setDefaultLocale(Locale defaultLocale) Specify a default Locale to fall back to, as an alternative to falling back to the system Locale.voidAbstractApplicationContext.setParent(ApplicationContext parent) Set the parent of this application context.voidGenericApplicationContext.setParent(ApplicationContext parent) Set the parent of this application context, also setting the parent of the internal BeanFactory accordingly.voidAbstractMessageSource.setParentMessageSource(MessageSource parent) voidDelegatingMessageSource.setParentMessageSource(MessageSource parent) voidReloadableResourceBundleMessageSource.setPropertiesPersister(PropertiesPersister propertiesPersister) Set the PropertiesPersister to use for parsing properties files.voidReloadableResourceBundleMessageSource.setResourceLoader(ResourceLoader resourceLoader) Set the ResourceLoader to use for loading bundle properties files.Constructor parameters in org.springframework.context.support with annotations of type NullableModifierConstructorDescriptionCreate a new AbstractApplicationContext with the given parent context.Create a new AbstractRefreshableApplicationContext with the given parent context.Create a new AbstractRefreshableConfigApplicationContext with the given parent context.Create a new AbstractXmlApplicationContext with the given parent context.ClassPathXmlApplicationContext(String[] configLocations, boolean refresh, ApplicationContext parent) Create a new ClassPathXmlApplicationContext with the given parent, loading the definitions from the given XML files.ClassPathXmlApplicationContext(String[] paths, Class<?> clazz, ApplicationContext parent) Create a new ClassPathXmlApplicationContext with the given parent, loading the definitions from the given XML files and automatically refreshing the context.ClassPathXmlApplicationContext(String[] configLocations, ApplicationContext parent) Create a new ClassPathXmlApplicationContext with the given parent, loading the definitions from the given XML files and automatically refreshing the context.DefaultMessageSourceResolvable(String[] codes, Object[] arguments, String defaultMessage) Create a new DefaultMessageSourceResolvable.DefaultMessageSourceResolvable(String[] codes, Object[] arguments, String defaultMessage) Create a new DefaultMessageSourceResolvable.DefaultMessageSourceResolvable(String[] codes, Object[] arguments, String defaultMessage) Create a new DefaultMessageSourceResolvable.FileSystemXmlApplicationContext(String[] configLocations, boolean refresh, ApplicationContext parent) Create a new FileSystemXmlApplicationContext with the given parent, loading the definitions from the given XML files.Create a new GenericApplicationContext with the given parent.Create a new StaticApplicationContext with the given parent. -
Uses of Nullable in org.springframework.context.weaving
Methods in org.springframework.context.weaving with annotations of type NullableModifier and TypeMethodDescriptionprotected LoadTimeWeaverDefaultContextLoadTimeWeaver.createServerSpecificLoadTimeWeaver(ClassLoader classLoader) Method parameters in org.springframework.context.weaving with annotations of type NullableModifier and TypeMethodDescriptionstatic voidAspectJWeavingEnabler.enableAspectJWeaving(LoadTimeWeaver weaverToUse, ClassLoader beanClassLoader) Enable AspectJ weaving with the givenLoadTimeWeaver.static voidAspectJWeavingEnabler.enableAspectJWeaving(LoadTimeWeaver weaverToUse, ClassLoader beanClassLoader) Enable AspectJ weaving with the givenLoadTimeWeaver.Constructor parameters in org.springframework.context.weaving with annotations of type NullableModifierConstructorDescriptionLoadTimeWeaverAwareProcessor(LoadTimeWeaver loadTimeWeaver) Create a newLoadTimeWeaverAwareProcessorfor the givenLoadTimeWeaver. -
Uses of Nullable in org.springframework.core
Methods in org.springframework.core with annotations of type NullableModifier and TypeMethodDescriptionstatic StringNestedExceptionUtils.buildMessage(String message, Throwable cause) Deprecated.as of 6.0, in favor of custom exception messages with selective inclusion of cause messagesprotected IntegerFind an order value indicated by the given object.ReactiveAdapterRegistry.getAdapter(Class<?> reactiveType) Get the adapter for the given reactive type.ReactiveAdapterRegistry.getAdapter(Class<?> reactiveType, Object source) Get the adapter for the given reactive type.AttributeAccessor.getAttribute(String name) Get the value of the attribute identified byname.AttributeAccessorSupport.getAttribute(String name) Constructor<?>MethodParameter.getConstructor()Return the wrapped Constructor, if any.protected ClassLoaderConfigurableObjectInputStream.getFallbackClassLoader()Return the fallback ClassLoader to use when no ClassLoader was specified and ObjectInputStream's own default class loader failed.MethodParameter.getMethod()Return the wrapped Method, if any.<A extends Annotation>
AMethodParameter.getMethodAnnotation(Class<A> annotationType) Return the method/constructor annotation of the given type, if available.OrderComparator.OrderSourceProvider.getOrderSource(Object obj) Return an order source for the specified object, i.e.<A extends Annotation>
AMethodParameter.getParameterAnnotation(Class<A> annotationType) Return the parameter annotation of the given type, if available.MethodParameter.getParameterName()Return the name of the method/constructor parameter.String[]KotlinReflectionParameterNameDiscoverer.getParameterNames(Constructor<?> ctor) String[]KotlinReflectionParameterNameDiscoverer.getParameterNames(Method method) String[]LocalVariableTableParameterNameDiscoverer.getParameterNames(Constructor<?> ctor) Deprecated, for removal: This API element is subject to removal in a future version.String[]LocalVariableTableParameterNameDiscoverer.getParameterNames(Method method) Deprecated, for removal: This API element is subject to removal in a future version.String[]ParameterNameDiscoverer.getParameterNames(Constructor<?> ctor) Return parameter names for a constructor, ornullif they cannot be determined.String[]ParameterNameDiscoverer.getParameterNames(Method method) Return parameter names for a method, ornullif they cannot be determined.String[]PrioritizedParameterNameDiscoverer.getParameterNames(Constructor<?> ctor) String[]PrioritizedParameterNameDiscoverer.getParameterNames(Method method) String[]StandardReflectionParameterNameDiscoverer.getParameterNames(Constructor<?> ctor) String[]StandardReflectionParameterNameDiscoverer.getParameterNames(Method method) OrderComparator.getPriority(Object obj) Determine a priority value for the given object, if any.static StringSpringProperties.getProperty(String key) Retrieve the property value for the given key, checking local Spring properties first and falling back to JVM-level system properties.Class<?>ResolvableType.getRawClass()Return the underlying JavaClassbeing managed, if available; otherwisenull.ResolvableTypeProvider.getResolvableType()Return theResolvableTypedescribing this instance (ornullif some sort of default should be applied instead).NestedCheckedException.getRootCause()Retrieve the innermost cause of this exception, if any.static ThrowableNestedExceptionUtils.getRootCause(Throwable original) Retrieve the innermost cause of the given exception, if any.NestedRuntimeException.getRootCause()Retrieve the innermost cause of this exception, if any.MethodParameter.getTypeIndexForCurrentLevel()Return the type index for the current nesting level.MethodParameter.getTypeIndexForLevel(int nestingLevel) Return the type index for the specified nesting level.static StringSpringVersion.getVersion()Return the full version string of the present Spring codebase, ornullif it cannot be determined.Perform a lookup on the given method and return associated metadata, if any.protected byte[]OverridingClassLoader.loadBytesForClass(String name) Load the defining bytes for the given class, to be turned into a Class object through aClassLoader.defineClass(byte[], int, int)call.protected Class<?>OverridingClassLoader.loadClassForOverriding(String name) Load the specified class for overriding purposes in this ClassLoader.protected InputStreamOverridingClassLoader.openStreamForClass(String name) Open an InputStream for the specified class.AttributeAccessor.removeAttribute(String name) Remove the attribute identified bynameand return its value.AttributeAccessorSupport.removeAttribute(String name) Class<?>ResolvableType.resolve()Resolve this type to aClass, returningnullif the type cannot be resolved.Class<?>ResolvableType.resolveGeneric(int... indexes) static Class<?>GenericTypeResolver.resolveReturnTypeArgument(Method method, Class<?> genericIfc) Resolve the single type argument of the given generic interface against the given target method which is assumed to return the given interface or an implementation of it.static Class<?>GenericTypeResolver.resolveTypeArgument(Class<?> clazz, Class<?> genericIfc) Resolve the single type argument of the given generic interface against the given target class which is assumed to implement the generic interface and possibly declare a concrete type for its type variable.static Class<?>[]GenericTypeResolver.resolveTypeArguments(Class<?> clazz, Class<?> genericIfc) Resolve the type arguments of the given generic interface against the given target class which is assumed to implement the generic interface and possibly declare concrete types for its type variables.Method parameters in org.springframework.core with annotations of type NullableModifier and TypeMethodDescriptionstatic StringNestedExceptionUtils.buildMessage(String message, Throwable cause) Deprecated.as of 6.0, in favor of custom exception messages with selective inclusion of cause messagesstatic StringNestedExceptionUtils.buildMessage(String message, Throwable cause) Deprecated.as of 6.0, in favor of custom exception messages with selective inclusion of cause messagesintintbooleanCheck whether this exception contains an exception of the given type: either it is of the given class itself or it contains a nested cause of the given type.booleanCheck whether this exception contains an exception of the given type: either it is of the given class itself or it contains a nested cause of the given type.static <E> Collection<E>CollectionFactory.createApproximateCollection(Object collection, int capacity) Create the most approximate collection for the given collection.static <K,V> Map<K, V> CollectionFactory.createApproximateMap(Object map, int capacity) Create the most approximate map for the given map.static <E> Collection<E>CollectionFactory.createCollection(Class<?> collectionType, Class<?> elementType, int capacity) Create the most appropriate collection for the given collection type.static <K,V> Map<K, V> Create the most appropriate map for the given map type.booleanbooleanbooleanbooleanbooleanbooleanstatic ResolvableTypeReturn aResolvableTypefor the specifiedClass, using the full generic type information for assignability checks.static ResolvableTypeReturn aResolvableTypefor the specifiedFieldwith a given implementation and the given nesting level.static ResolvableTypeResolvableType.forField(Field field, ResolvableType implementationType) Return aResolvableTypefor the specifiedFieldwith a given implementation.static ResolvableTypeResolvableType.forInstance(Object instance) Return aResolvableTypefor the specified instance.static ResolvableTypeResolvableType.forMethodParameter(MethodParameter methodParameter, Type targetType) Return aResolvableTypefor the specifiedMethodParameter, overriding the target type to resolve with a specific given type.static ResolvableTypeResolvableType.forMethodParameter(MethodParameter methodParameter, ResolvableType implementationType) Return aResolvableTypefor the specifiedMethodParameterwith a given implementation type.static ResolvableTypeResolvableType.forRawClass(Class<?> clazz) Return aResolvableTypefor the specifiedClass, doing assignability checks against the raw class only (analogous toClass.isAssignableFrom(java.lang.Class<?>), which this serves as a wrapper for).static ResolvableTypeReturn aResolvableTypefor the specifiedType.static ResolvableTypeResolvableType.forType(Type type, ResolvableType owner) Return aResolvableTypefor the specifiedTypebacked by the given owner type.static ResolvableTypeResolvableType.forType(Type type, ResolvableType owner) Return aResolvableTypefor the specifiedTypebacked by the given owner type.ReactiveAdapterRegistry.getAdapter(Class<?> reactiveType, Object source) Get the adapter for the given reactive type.ReactiveAdapterRegistry.getAdapter(Class<?> reactiveType, Object source) Get the adapter for the given reactive type.ResolvableType.getGeneric(int... indexes) Return aResolvableTyperepresenting the generic parameter for the given indexes.Return all names of the given group of constants.Constants.getNamesForSuffix(String nameSuffix) Return all names of the given group of constants.Return aResolvableTypefor the specified nesting level.protected intDetermine the order value for the given object.static ThrowableNestedExceptionUtils.getRootCause(Throwable original) Retrieve the innermost cause of the given exception, if any.Return all values of the given group of constants.Constants.getValuesForSuffix(String nameSuffix) Return all values of the given group of constants.static StringConventions.getVariableNameForReturnType(Method method, Class<?> resolvedType, Object value) Determine the conventional variable name for the return type of the given method, taking the generic collection type, if any, into account, falling back on the given return value if the method declaration is not specific enough, e.g.static StringConventions.getVariableNameForReturnType(Method method, Object value) Determine the conventional variable name for the return type of the given method, taking the generic collection type, if any, into account, falling back on the given actual return value if the method declaration is not specific enough, e.g.voidMethodParameter.initParameterNameDiscovery(ParameterNameDiscoverer parameterNameDiscoverer) Initialize parameter name discovery for this method parameter.static booleanCollectionFactory.isApproximableCollectionType(Class<?> collectionType) Determine whether the given collection type is an approximable type, i.e.static booleanCollectionFactory.isApproximableMapType(Class<?> mapType) Determine whether the given map type is an approximable type, i.e.booleanResolvableType.isInstance(Object obj) Determine whether the given object is an instance of thisResolvableType.Return a variant of thisMethodParameterwhich points to the same parameter but one nesting level deeper.default Class<?>SmartClassLoader.publicDefineClass(String name, byte[] b, ProtectionDomain protectionDomain) Define a custom class (typically a CGLIB proxy class) in this class loader.static TypeGenericTypeResolver.resolveType(Type genericType, Class<?> contextClass) Resolve the given generic type against the given context class, substituting type variables as far as possible.voidAttributeAccessor.setAttribute(String name, Object value) Set the attribute defined bynameto the suppliedvalue.voidAttributeAccessorSupport.setAttribute(String name, Object value) static voidSpringProperties.setProperty(String key, String value) Programmatically set a local property, overriding an entry in thespring.propertiesfile (if any).Look up the given value within the given group of constants.Constants.toCodeForSuffix(Object value, String nameSuffix) Look up the given value within the given group of constants.<T> Publisher<T>ReactiveAdapter.toPublisher(Object source) Adapt the given instance to a Reactive StreamsPublisher.MethodParameter.withContainingClass(Class<?> containingClass) Return a variant of thisMethodParameterwhich refers to the given containing class.Constructor parameters in org.springframework.core with annotations of type NullableModifierConstructorDescriptionConfigurableObjectInputStream(InputStream in, ClassLoader classLoader) Create a new ConfigurableObjectInputStream for the given InputStream and ClassLoader.ConfigurableObjectInputStream(InputStream in, ClassLoader classLoader, boolean acceptProxyClasses) Create a new ConfigurableObjectInputStream for the given InputStream and ClassLoader.DecoratingClassLoader(ClassLoader parent) Create a new DecoratingClassLoader using the given parent ClassLoader for delegation.MethodClassKey(Method method, Class<?> targetClass) Create a key object for the given method and target class.NestedCheckedException(String msg, Throwable cause) Construct aNestedCheckedExceptionwith the specified detail message and nested exception.NestedCheckedException(String msg, Throwable cause) Construct aNestedCheckedExceptionwith the specified detail message and nested exception.NestedRuntimeException(String msg, Throwable cause) Construct aNestedRuntimeExceptionwith the specified detail message and nested exception.NestedRuntimeException(String msg, Throwable cause) Construct aNestedRuntimeExceptionwith the specified detail message and nested exception.OverridingClassLoader(ClassLoader parent) Create a new OverridingClassLoader for the given ClassLoader.OverridingClassLoader(ClassLoader parent, ClassLoader overrideDelegate) Create a new OverridingClassLoader for the given ClassLoader.OverridingClassLoader(ClassLoader parent, ClassLoader overrideDelegate) Create a new OverridingClassLoader for the given ClassLoader. -
Uses of Nullable in org.springframework.core.annotation
Methods in org.springframework.core.annotation with annotations of type NullableModifier and TypeMethodDescriptionClass<? extends Annotation>AnnotationAttributes.annotationType()Get the type of annotation represented by thisAnnotationAttributes.static <A extends Annotation>
AAnnotationUtils.findAnnotation(Class<?> clazz, Class<A> annotationType) Find a singleAnnotationofannotationTypeon the suppliedClass, traversing its interfaces, annotations, and superclasses if the annotation is not directly present on the given class itself.static <A extends Annotation>
AAnnotationUtils.findAnnotation(AnnotatedElement annotatedElement, Class<A> annotationType) static <A extends Annotation>
AAnnotationUtils.findAnnotation(Method method, Class<A> annotationType) Find a singleAnnotationofannotationTypeon the suppliedMethod, traversing its super methods (i.e.static Class<?>AnnotationUtils.findAnnotationDeclaringClass(Class<? extends Annotation> annotationType, Class<?> clazz) Deprecated.as of 5.2 since it is superseded by theMergedAnnotationsAPIstatic Class<?>AnnotationUtils.findAnnotationDeclaringClassForTypes(List<Class<? extends Annotation>> annotationTypes, Class<?> clazz) Deprecated.as of 5.2 since it is superseded by theMergedAnnotationsAPIstatic <A extends Annotation>
AAnnotatedElementUtils.findMergedAnnotation(AnnotatedElement element, Class<A> annotationType) Find the first annotation of the specifiedannotationTypewithin the annotation hierarchy above the suppliedelement, merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy, and synthesize the result back into an annotation of the specifiedannotationType.static AnnotationAttributesAnnotatedElementUtils.findMergedAnnotationAttributes(AnnotatedElement element, Class<? extends Annotation> annotationType, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Find the first annotation of the specifiedannotationTypewithin the annotation hierarchy above the suppliedelementand merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.static AnnotationAttributesAnnotatedElementUtils.findMergedAnnotationAttributes(AnnotatedElement element, String annotationName, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Find the first annotation of the specifiedannotationNamewithin the annotation hierarchy above the suppliedelementand merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.protected Integerstatic AnnotationAttributesReturn anAnnotationAttributesinstance based on the given map.static MultiValueMap<String,Object> AnnotatedElementUtils.getAllAnnotationAttributes(AnnotatedElement element, String annotationName) Get the annotation attributes of all annotations of the specifiedannotationNamein the annotation hierarchy above the suppliedAnnotatedElementand store the results in aMultiValueMap.static MultiValueMap<String,Object> AnnotatedElementUtils.getAllAnnotationAttributes(AnnotatedElement element, String annotationName, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Get the annotation attributes of all annotations of the specifiedannotationNamein the annotation hierarchy above the suppliedAnnotatedElementand store the results in aMultiValueMap.static <A extends Annotation>
AAnnotationUtils.getAnnotation(Annotation annotation, Class<A> annotationType) Get a singleAnnotationofannotationTypefrom the supplied annotation: either the given annotation itself or a direct meta-annotation thereof.static <A extends Annotation>
AAnnotationUtils.getAnnotation(AnnotatedElement annotatedElement, Class<A> annotationType) Get a singleAnnotationofannotationTypefrom the suppliedAnnotatedElement, where the annotation is either present or meta-present on theAnnotatedElement.static <A extends Annotation>
AAnnotationUtils.getAnnotation(Method method, Class<A> annotationType) Get a singleAnnotationofannotationTypefrom the suppliedMethod, where the annotation is either present or meta-present on the method.static Annotation[]AnnotationUtils.getAnnotations(AnnotatedElement annotatedElement) Deprecated.as of 5.2 since it is superseded by theMergedAnnotationsAPIstatic Annotation[]AnnotationUtils.getAnnotations(Method method) Deprecated.as of 5.2 since it is superseded by theMergedAnnotationsAPIstatic ObjectAnnotationUtils.getDefaultValue(Annotation annotation) Retrieve the default value of thevalueattribute of a single-element Annotation, given an annotation instance.static ObjectAnnotationUtils.getDefaultValue(Annotation annotation, String attributeName) Retrieve the default value of a named attribute, given an annotation instance.static ObjectAnnotationUtils.getDefaultValue(Class<? extends Annotation> annotationType) Retrieve the default value of thevalueattribute of a single-element Annotation, given theannotation type.static ObjectAnnotationUtils.getDefaultValue(Class<? extends Annotation> annotationType, String attributeName) Retrieve the default value of a named attribute, given theannotation type.static <A extends Annotation>
AAnnotatedElementUtils.getMergedAnnotation(AnnotatedElement element, Class<A> annotationType) Get the first annotation of the specifiedannotationTypewithin the annotation hierarchy above the suppliedelement, merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy, and synthesize the result back into an annotation of the specifiedannotationType.static AnnotationAttributesAnnotatedElementUtils.getMergedAnnotationAttributes(AnnotatedElement element, Class<? extends Annotation> annotationType) Get the first annotation of the specifiedannotationTypewithin the annotation hierarchy above the suppliedelementand merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.static AnnotationAttributesAnnotatedElementUtils.getMergedAnnotationAttributes(AnnotatedElement element, String annotationName) Get the first annotation of the specifiedannotationNamewithin the annotation hierarchy above the suppliedelementand merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.static AnnotationAttributesAnnotatedElementUtils.getMergedAnnotationAttributes(AnnotatedElement element, String annotationName, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Get the first annotation of the specifiedannotationNamewithin the annotation hierarchy above the suppliedelementand merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.MergedAnnotation.getMetaSource()Get the source of the meta-annotation, ornullif the annotation is not meta-present.static IntegerReturn the order on the specifiedtype.static IntegerReturn the order on the specifiedtype, or the specified default value if none can be found.static IntegerOrderUtils.getOrder(AnnotatedElement element) Return the order declared on the specifiedelement.AnnotationAwareOrderComparator.getPriority(Object obj) static IntegerOrderUtils.getPriority(Class<?> type) Return the value of thejakarta.annotation.Priorityannotation declared on the specified type, ornullif none.MergedAnnotation.getSource()Get the source that ultimately declared the root annotation, ornullif the source is not known.static ObjectAnnotationUtils.getValue(Annotation annotation) Retrieve the value of thevalueattribute of a single-element Annotation, given an annotation instance.static ObjectAnnotationUtils.getValue(Annotation annotation, String attributeName) Retrieve the value of a named attribute, given an annotation instance.Method parameters in org.springframework.core.annotation with annotations of type NullableModifier and TypeMethodDescriptionbooleanstatic <A extends Annotation>
AAnnotationUtils.findAnnotation(Class<?> clazz, Class<A> annotationType) Find a singleAnnotationofannotationTypeon the suppliedClass, traversing its interfaces, annotations, and superclasses if the annotation is not directly present on the given class itself.static <A extends Annotation>
AAnnotationUtils.findAnnotation(AnnotatedElement annotatedElement, Class<A> annotationType) static <A extends Annotation>
AAnnotationUtils.findAnnotation(Method method, Class<A> annotationType) Find a singleAnnotationofannotationTypeon the suppliedMethod, traversing its super methods (i.e.static Class<?>AnnotationUtils.findAnnotationDeclaringClass(Class<? extends Annotation> annotationType, Class<?> clazz) Deprecated.as of 5.2 since it is superseded by theMergedAnnotationsAPIstatic Class<?>AnnotationUtils.findAnnotationDeclaringClassForTypes(List<Class<? extends Annotation>> annotationTypes, Class<?> clazz) Deprecated.as of 5.2 since it is superseded by theMergedAnnotationsAPIstatic <A extends Annotation>
Set<A>AnnotatedElementUtils.findMergedRepeatableAnnotations(AnnotatedElement element, Class<A> annotationType, Class<? extends Annotation> containerType) Find all repeatable annotations of the specifiedannotationTypewithin the annotation hierarchy above the suppliedelement; and for each annotation found, merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy and synthesize the results back into an annotation of the specifiedannotationType.static <A extends Annotation>
MergedAnnotation<A>Create a newMergedAnnotationinstance from the specified annotation.static AnnotationAttributesReturn anAnnotationAttributesinstance based on the given map.<A extends Annotation>
MergedAnnotation<A>MergedAnnotations.get(Class<A> annotationType, Predicate<? super MergedAnnotation<A>> predicate) Get the nearest matching annotation or meta-annotation of the specified type, orMergedAnnotation.missing()if none is present.<A extends Annotation>
MergedAnnotation<A>MergedAnnotations.get(Class<A> annotationType, Predicate<? super MergedAnnotation<A>> predicate, MergedAnnotationSelector<A> selector) Get a matching annotation or meta-annotation of the specified type, orMergedAnnotation.missing()if none is present.<A extends Annotation>
MergedAnnotation<A>MergedAnnotations.get(Class<A> annotationType, Predicate<? super MergedAnnotation<A>> predicate, MergedAnnotationSelector<A> selector) Get a matching annotation or meta-annotation of the specified type, orMergedAnnotation.missing()if none is present.<A extends Annotation>
MergedAnnotation<A>MergedAnnotations.get(String annotationType, Predicate<? super MergedAnnotation<A>> predicate) Get the nearest matching annotation or meta-annotation of the specified type, orMergedAnnotation.missing()if none is present.<A extends Annotation>
MergedAnnotation<A>MergedAnnotations.get(String annotationType, Predicate<? super MergedAnnotation<A>> predicate, MergedAnnotationSelector<A> selector) Get a matching annotation or meta-annotation of the specified type, orMergedAnnotation.missing()if none is present.<A extends Annotation>
MergedAnnotation<A>MergedAnnotations.get(String annotationType, Predicate<? super MergedAnnotation<A>> predicate, MergedAnnotationSelector<A> selector) Get a matching annotation or meta-annotation of the specified type, orMergedAnnotation.missing()if none is present.static AnnotationAttributesAnnotationUtils.getAnnotationAttributes(AnnotatedElement annotatedElement, Annotation annotation) Retrieve the given annotation's attributes as anAnnotationAttributesmap.static AnnotationAttributesAnnotationUtils.getAnnotationAttributes(AnnotatedElement annotatedElement, Annotation annotation, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Retrieve the given annotation's attributes as anAnnotationAttributesmap.static <A extends Annotation>
Set<A>AnnotationUtils.getDeclaredRepeatableAnnotations(AnnotatedElement annotatedElement, Class<A> annotationType, Class<? extends Annotation> containerAnnotationType) Deprecated.as of 5.2 since it is superseded by theMergedAnnotationsAPIstatic ObjectAnnotationUtils.getDefaultValue(Annotation annotation, String attributeName) Retrieve the default value of a named attribute, given an annotation instance.static ObjectAnnotationUtils.getDefaultValue(Annotation annotation, String attributeName) Retrieve the default value of a named attribute, given an annotation instance.static ObjectAnnotationUtils.getDefaultValue(Class<? extends Annotation> annotationType, String attributeName) Retrieve the default value of a named attribute, given theannotation type.static ObjectAnnotationUtils.getDefaultValue(Class<? extends Annotation> annotationType, String attributeName) Retrieve the default value of a named attribute, given theannotation type.static <A extends Annotation>
Set<A>AnnotatedElementUtils.getMergedRepeatableAnnotations(AnnotatedElement element, Class<A> annotationType, Class<? extends Annotation> containerType) Get all repeatable annotations of the specifiedannotationTypewithin the annotation hierarchy above the suppliedelement; and for each annotation found, merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy and synthesize the results back into an annotation of the specifiedannotationType.static IntegerReturn the order on the specifiedtype, or the specified default value if none can be found.static <A extends Annotation>
Set<A>AnnotationUtils.getRepeatableAnnotations(AnnotatedElement annotatedElement, Class<A> annotationType, Class<? extends Annotation> containerAnnotationType) Deprecated.as of 5.2 since it is superseded by theMergedAnnotationsAPIstatic ObjectAnnotationUtils.getValue(Annotation annotation, String attributeName) Retrieve the value of a named attribute, given an annotation instance.static ObjectAnnotationUtils.getValue(Annotation annotation, String attributeName) Retrieve the value of a named attribute, given an annotation instance.static booleanAnnotationUtils.isAnnotationMetaPresent(Class<? extends Annotation> annotationType, Class<? extends Annotation> metaAnnotationType) Deprecated.as of 5.2 since it is superseded by theMergedAnnotationsAPIstatic booleanAnnotationUtils.isCandidateClass(Class<?> clazz, Class<? extends Annotation> annotationType) Determine whether the given class is a candidate for carrying the specified annotation (at type, method or field level).static booleanAnnotationUtils.isInJavaLangAnnotationPackage(Annotation annotation) Determine if the suppliedAnnotationis defined in the core JDKjava.lang.annotationpackage.static booleanAnnotationUtils.isInJavaLangAnnotationPackage(String annotationType) Determine if theAnnotationwith the supplied name is defined in the core JDKjava.lang.annotationpackage.static booleanAnnotationUtils.isSynthesizedAnnotation(Annotation annotation) Determine if the suppliedAnnotationhas been synthesized by Spring (i.e.static <A extends Annotation>
MergedAnnotation<A>Create a newMergedAnnotationinstance of the specified annotation type with attribute values supplied by a map.static <A extends Annotation>
MergedAnnotation<A>MergedAnnotation.of(ClassLoader classLoader, Object source, Class<A> annotationType, Map<String, ?> attributes) Create a newMergedAnnotationinstance of the specified annotation type with attribute values supplied by a map.static <A extends Annotation>
MergedAnnotation<A>MergedAnnotation.of(ClassLoader classLoader, Object source, Class<A> annotationType, Map<String, ?> attributes) Create a newMergedAnnotationinstance of the specified annotation type with attribute values supplied by a map.static <A extends Annotation>
MergedAnnotation<A>MergedAnnotation.of(ClassLoader classLoader, Object source, Class<A> annotationType, Map<String, ?> attributes) Create a newMergedAnnotationinstance of the specified annotation type with attribute values supplied by a map.static <A extends Annotation>
MergedAnnotation<A>MergedAnnotation.of(AnnotatedElement source, Class<A> annotationType, Map<String, ?> attributes) Create a newMergedAnnotationinstance of the specified annotation type with attribute values supplied by a map.static <A extends Annotation>
MergedAnnotation<A>MergedAnnotation.of(AnnotatedElement source, Class<A> annotationType, Map<String, ?> attributes) Create a newMergedAnnotationinstance of the specified annotation type with attribute values supplied by a map.static RepeatableContainersRepeatableContainers.of(Class<? extends Annotation> repeatable, Class<? extends Annotation> container) Create aRepeatableContainersinstance that uses predefined repeatable and container types.static voidAnnotationUtils.postProcessAnnotationAttributes(Object annotatedElement, AnnotationAttributes attributes, boolean classValuesAsString) Post-process the suppliedAnnotationAttributes, preserving nested annotations asAnnotationinstances.static voidAnnotationUtils.postProcessAnnotationAttributes(Object annotatedElement, AnnotationAttributes attributes, boolean classValuesAsString) Post-process the suppliedAnnotationAttributes, preserving nested annotations asAnnotationinstances.static <A extends Annotation>
AAnnotationUtils.synthesizeAnnotation(A annotation, AnnotatedElement annotatedElement) Synthesize an annotation from the suppliedannotationby wrapping it in a dynamic proxy that transparently enforces attribute alias semantics for annotation attributes that are annotated with@AliasFor.static <A extends Annotation>
AAnnotationUtils.synthesizeAnnotation(Map<String, Object> attributes, Class<A> annotationType, AnnotatedElement annotatedElement) Synthesize an annotation from the supplied map of annotation attributes by wrapping the map in a dynamic proxy that implements an annotation of the specifiedannotationTypeand transparently enforces attribute alias semantics for annotation attributes that are annotated with@AliasFor.Constructor parameters in org.springframework.core.annotation with annotations of type NullableModifierConstructorDescriptionAnnotationAttributes(String annotationType, ClassLoader classLoader) Create a new, emptyAnnotationAttributesinstance for the specifiedannotationType. -
Uses of Nullable in org.springframework.core.codec
Methods in org.springframework.core.codec with annotations of type NullableModifier and TypeMethodDescriptiondefault TDecoder.decode(DataBuffer buffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) Decode a data buffer to an Object of type T.protected TAbstractDataBufferDecoder.decodeDataBuffer(DataBuffer buffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Deprecated.as of 5.2, please implementDecoder.decode(DataBuffer, ResolvableType, MimeType, Map)insteadMethod parameters in org.springframework.core.codec with annotations of type NullableModifier and TypeMethodDescriptionbooleanAbstractDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanByteArrayDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanByteBufferDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanDataBufferDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanDecoder.canDecode(ResolvableType elementType, MimeType mimeType) Whether the decoder supports the given target element type and the MIME type of the source stream.booleanNetty5BufferDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanNettyByteBufDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanResourceDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanStringDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanAbstractEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanByteArrayEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanByteBufferEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanCharSequenceEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanDataBufferEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanEncoder.canEncode(ResolvableType elementType, MimeType mimeType) Whether the encoder supports the given source element type and the MIME type for the output stream.booleanNetty5BufferEncoder.canEncode(ResolvableType type, MimeType mimeType) booleanNettyByteBufEncoder.canEncode(ResolvableType type, MimeType mimeType) booleanResourceEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanResourceRegionEncoder.canEncode(ResolvableType elementType, MimeType mimeType) reactor.core.publisher.Flux<T>AbstractDataBufferDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<T>AbstractDataBufferDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) byte[]ByteArrayDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) byte[]ByteArrayDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) ByteBufferDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) ByteBufferDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>DataBufferDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>DataBufferDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) DataBufferDecoder.decode(DataBuffer buffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) DataBufferDecoder.decode(DataBuffer buffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<T>Decoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Decode aDataBufferinput stream into a Flux ofT.reactor.core.publisher.Flux<T>Decoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Decode aDataBufferinput stream into a Flux ofT.default TDecoder.decode(DataBuffer buffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) Decode a data buffer to an Object of type T.default TDecoder.decode(DataBuffer buffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) Decode a data buffer to an Object of type T.io.netty5.buffer.BufferNetty5BufferDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) io.netty5.buffer.BufferNetty5BufferDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) io.netty.buffer.ByteBufNettyByteBufDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) io.netty.buffer.ByteBufNettyByteBufDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<Resource>ResourceDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<Resource>ResourceDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) ResourceDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) ResourceDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<String>StringDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<String>StringDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) StringDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) StringDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) protected TAbstractDataBufferDecoder.decodeDataBuffer(DataBuffer buffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Deprecated.as of 5.2, please implementDecoder.decode(DataBuffer, ResolvableType, MimeType, Map)insteadprotected TAbstractDataBufferDecoder.decodeDataBuffer(DataBuffer buffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Deprecated.as of 5.2, please implementDecoder.decode(DataBuffer, ResolvableType, MimeType, Map)insteadreactor.core.publisher.Mono<T>AbstractDataBufferDecoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<T>AbstractDataBufferDecoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<T>AbstractDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<T>AbstractDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<T>Decoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Decode aDataBufferinput stream into a Mono ofT.reactor.core.publisher.Mono<T>Decoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Decode aDataBufferinput stream into a Mono ofT.final reactor.core.publisher.Flux<DataBuffer>AbstractSingleValueEncoder.encode(Publisher<? extends T> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) final reactor.core.publisher.Flux<DataBuffer>AbstractSingleValueEncoder.encode(Publisher<? extends T> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) protected abstract reactor.core.publisher.Flux<DataBuffer>AbstractSingleValueEncoder.encode(T t, DataBufferFactory dataBufferFactory, ResolvableType type, MimeType mimeType, Map<String, Object> hints) EncodeTto an outputDataBufferstream.protected abstract reactor.core.publisher.Flux<DataBuffer>AbstractSingleValueEncoder.encode(T t, DataBufferFactory dataBufferFactory, ResolvableType type, MimeType mimeType, Map<String, Object> hints) EncodeTto an outputDataBufferstream.reactor.core.publisher.Flux<DataBuffer>ByteArrayEncoder.encode(Publisher<? extends byte[]> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>ByteArrayEncoder.encode(Publisher<? extends byte[]> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>ByteBufferEncoder.encode(Publisher<? extends ByteBuffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>ByteBufferEncoder.encode(Publisher<? extends ByteBuffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>CharSequenceEncoder.encode(Publisher<? extends CharSequence> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>CharSequenceEncoder.encode(Publisher<? extends CharSequence> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>DataBufferEncoder.encode(Publisher<? extends DataBuffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>DataBufferEncoder.encode(Publisher<? extends DataBuffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>Encoder.encode(Publisher<? extends T> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Encode a stream of Objects of typeTinto aDataBufferoutput stream.reactor.core.publisher.Flux<DataBuffer>Encoder.encode(Publisher<? extends T> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Encode a stream of Objects of typeTinto aDataBufferoutput stream.reactor.core.publisher.Flux<DataBuffer>Netty5BufferEncoder.encode(Publisher<? extends io.netty5.buffer.Buffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>Netty5BufferEncoder.encode(Publisher<? extends io.netty5.buffer.Buffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>NettyByteBufEncoder.encode(Publisher<? extends io.netty.buffer.ByteBuf> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>NettyByteBufEncoder.encode(Publisher<? extends io.netty.buffer.ByteBuf> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) protected reactor.core.publisher.Flux<DataBuffer>ResourceEncoder.encode(Resource resource, DataBufferFactory bufferFactory, ResolvableType type, MimeType mimeType, Map<String, Object> hints) protected reactor.core.publisher.Flux<DataBuffer>ResourceEncoder.encode(Resource resource, DataBufferFactory bufferFactory, ResolvableType type, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>ResourceRegionEncoder.encode(Publisher<? extends ResourceRegion> input, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>ResourceRegionEncoder.encode(Publisher<? extends ResourceRegion> input, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) ByteArrayEncoder.encodeValue(byte[] bytes, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) ByteArrayEncoder.encodeValue(byte[] bytes, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) ByteBufferEncoder.encodeValue(ByteBuffer byteBuffer, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) ByteBufferEncoder.encodeValue(ByteBuffer byteBuffer, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) CharSequenceEncoder.encodeValue(CharSequence charSequence, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) CharSequenceEncoder.encodeValue(CharSequence charSequence, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) DataBufferEncoder.encodeValue(DataBuffer buffer, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) DataBufferEncoder.encodeValue(DataBuffer buffer, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) default DataBufferEncoder.encodeValue(T value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) Encode an Object of type T to a data buffer.default DataBufferEncoder.encodeValue(T value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) Encode an Object of type T to a data buffer.Netty5BufferEncoder.encodeValue(io.netty5.buffer.Buffer buffer, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) Netty5BufferEncoder.encodeValue(io.netty5.buffer.Buffer buffer, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) NettyByteBufEncoder.encodeValue(io.netty.buffer.ByteBuf byteBuf, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) NettyByteBufEncoder.encodeValue(io.netty.buffer.ByteBuf byteBuf, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) static StringHints.getLogPrefix(Map<String, Object> hints) Obtain the hintHints.LOG_PREFIX_HINT, if present, or an empty String.static <T> THints.getRequiredHint(Map<String, Object> hints, String hintName) Obtain the value for a required hint.static booleanHints.isLoggingSuppressed(Map<String, Object> hints) Whether to suppress logging based on the hintHints.SUPPRESS_LOGGING_HINT.Merge a single hint into a map of hints, possibly creating and copying all hints into a new map, or otherwise if the map of hints is empty, creating a new single entry map.Merge two maps of hints, creating and copying into a new map if both have values, or returning the non-empty map, or an empty map if both are empty.Merge two maps of hints, creating and copying into a new map if both have values, or returning the non-empty map, or an empty map if both are empty.static voidHints.touchDataBuffer(DataBuffer buffer, Map<String, Object> hints, Log logger) If the hints contain aHints.LOG_PREFIX_HINTand the given logger has DEBUG level enabled, apply the log prefix as a hint to the given buffer viaDataBufferUtils.touch(DataBuffer, Object).Constructor parameters in org.springframework.core.codec with annotations of type NullableModifierConstructorDescriptionCodecException(String msg, Throwable cause) Create a new CodecException.DecodingException(String msg, Throwable cause) Create a new DecodingException.EncodingException(String msg, Throwable cause) Create a new EncodingException. -
Uses of Nullable in org.springframework.core.convert
Methods in org.springframework.core.convert with annotations of type NullableModifier and TypeMethodDescriptionstatic TypeDescriptorTypeDescriptor.array(TypeDescriptor elementTypeDescriptor) Create a new type descriptor as an array of the specified type.<T> TConvert the givensourceto the specifiedtargetType.ConversionService.convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType) Convert the givensourceto the specifiedtargetType.TypeDescriptor.elementTypeDescriptor(Object element) If this type is aCollectionor an array, creates an element TypeDescriptor from the provided collection or array element.static TypeDescriptorCreate a new type descriptor for an object.<T extends Annotation>
TTypeDescriptor.getAnnotation(Class<T> annotationType) Obtain the annotation of the specifiedannotationTypethat is on this type descriptor.TypeDescriptor.getElementTypeDescriptor()If this type is an array, returns the array's component type.TypeDescriptor.getMapKeyTypeDescriptor()If this type is aMapand its key type is parameterized, returns the map's key type.TypeDescriptor.getMapKeyTypeDescriptor(Object mapKey) If this type is aMap, creates a mapKeyTypeDescriptorfrom the provided map key.TypeDescriptor.getMapValueTypeDescriptor()If this type is aMapand its value type is parameterized, returns the map's value type.TypeDescriptor.getMapValueTypeDescriptor(Object mapValue) If this type is aMap, creates a mapValueTypeDescriptorfrom the provided map value.Property.getReadMethod()The property getter method: e.g.ConversionFailedException.getSourceType()Return the source type we tried to convert the value from.ConverterNotFoundException.getSourceType()Return the source type that was requested to convert from.ConversionFailedException.getValue()Return the offending value.Property.getWriteMethod()The property setter method: e.g.static TypeDescriptorCreate a type descriptor for a nested type declared within the field.static TypeDescriptorCreate a type descriptor for a nested type declared within the property.static TypeDescriptorTypeDescriptor.nested(MethodParameter methodParameter, int nestingLevel) Create a type descriptor for a nested type declared within the method parameter.Cast thisTypeDescriptorto a superclass or implemented interface preserving annotations and nested type context.Method parameters in org.springframework.core.convert with annotations of type NullableModifier and TypeMethodDescriptionstatic TypeDescriptorTypeDescriptor.array(TypeDescriptor elementTypeDescriptor) Create a new type descriptor as an array of the specified type.booleanConversionService.canConvert(Class<?> sourceType, Class<?> targetType) Returntrueif objects ofsourceTypecan be converted to thetargetType.booleanConversionService.canConvert(TypeDescriptor sourceType, TypeDescriptor targetType) Returntrueif objects ofsourceTypecan be converted to thetargetType.static TypeDescriptorTypeDescriptor.collection(Class<?> collectionType, TypeDescriptor elementTypeDescriptor) Create a new type descriptor from aCollectiontype.<T> TConvert the givensourceto the specifiedtargetType.ConversionService.convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType) Convert the givensourceto the specifiedtargetType.ConversionService.convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType) Convert the givensourceto the specifiedtargetType.booleanbooleanstatic TypeDescriptorCreate a new type descriptor for an object.static TypeDescriptorTypeDescriptor.map(Class<?> mapType, TypeDescriptor keyTypeDescriptor, TypeDescriptor valueTypeDescriptor) Create a new type descriptor from aMaptype.static TypeDescriptorTypeDescriptor.map(Class<?> mapType, TypeDescriptor keyTypeDescriptor, TypeDescriptor valueTypeDescriptor) Create a new type descriptor from aMaptype.Narrows thisTypeDescriptorby setting its type to the class of the provided value.Cast thisTypeDescriptorto a superclass or implemented interface preserving annotations and nested type context.static TypeDescriptorCreate a new type descriptor from the given type.Constructor parameters in org.springframework.core.convert with annotations of type NullableModifierConstructorDescriptionConversionFailedException(TypeDescriptor sourceType, TypeDescriptor targetType, Object value, Throwable cause) Create a new conversion exception.ConversionFailedException(TypeDescriptor sourceType, TypeDescriptor targetType, Object value, Throwable cause) Create a new conversion exception.ConverterNotFoundException(TypeDescriptor sourceType, TypeDescriptor targetType) Create a new conversion executor not found exception.TypeDescriptor(ResolvableType resolvableType, Class<?> type, Annotation[] annotations) Create a new type descriptor from aResolvableType.TypeDescriptor(ResolvableType resolvableType, Class<?> type, Annotation[] annotations) Create a new type descriptor from aResolvableType. -
Uses of Nullable in org.springframework.core.convert.converter
Methods in org.springframework.core.convert.converter with annotations of type NullableModifier and TypeMethodDescriptionConvert the source object of typeSto target typeT.GenericConverter.convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType) Convert the source object to the targetType described by theTypeDescriptor.GenericConverter.getConvertibleTypes()Return the source and target types that this converter can convert between.Method parameters in org.springframework.core.convert.converter with annotations of type NullableModifier and TypeMethodDescriptionGenericConverter.convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType) Convert the source object to the targetType described by theTypeDescriptor.boolean -
Uses of Nullable in org.springframework.core.convert.support
Methods in org.springframework.core.convert.support with annotations of type NullableModifier and TypeMethodDescription<T> TGenericConversionService.convert(Object source, TypeDescriptor targetType) Convenience operation for converting a source object to the specified targetType, where the target type is a descriptor that provides additional conversion context.GenericConversionService.convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType) protected ObjectGenericConversionService.convertNullSource(TypeDescriptor sourceType, TypeDescriptor targetType) Template method to convert anullsource.ConvertingPropertyEditorAdapter.getAsText()protected GenericConverterGenericConversionService.getConverter(TypeDescriptor sourceType, TypeDescriptor targetType) Hook method to look up the converter for a given sourceType/targetType pair.protected GenericConverterGenericConversionService.getDefaultConverter(TypeDescriptor sourceType, TypeDescriptor targetType) Return the default converter if no converter is found for the given sourceType/targetType pair.Method parameters in org.springframework.core.convert.support with annotations of type NullableModifier and TypeMethodDescriptionbooleanGenericConversionService.canBypassConvert(TypeDescriptor sourceType, TypeDescriptor targetType) Return whether conversion between the source type and the target type can be bypassed.booleanGenericConversionService.canConvert(Class<?> sourceType, Class<?> targetType) booleanGenericConversionService.canConvert(TypeDescriptor sourceType, TypeDescriptor targetType) <T> TGenericConversionService.convert(Object source, TypeDescriptor targetType) Convenience operation for converting a source object to the specified targetType, where the target type is a descriptor that provides additional conversion context.GenericConversionService.convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType) GenericConversionService.convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType) protected ObjectGenericConversionService.convertNullSource(TypeDescriptor sourceType, TypeDescriptor targetType) Template method to convert anullsource.static voidConversionServiceFactory.registerConverters(Set<?> converters, ConverterRegistry registry) Register the given Converter objects with the given target ConverterRegistry.void -
Uses of Nullable in org.springframework.core.env
Methods in org.springframework.core.env with annotations of type NullableModifier and TypeMethodDescriptionprotected <T> TAbstractPropertyResolver.convertValueIfNecessary(Object value, Class<T> targetType) Convert the given value to the specified target type, if necessary.protected StringAbstractEnvironment.doGetActiveProfilesProperty()Return the property value for the active profiles.protected StringAbstractEnvironment.doGetDefaultProfilesProperty()Return the property value for the default profiles.Return the property source with the given name,nullif not found.CommandLinePropertySource.getOptionValues(String name) Return the collection of values associated with the command line option having the given name.JOptCommandLinePropertySource.getOptionValues(String name) SimpleCommandLinePropertySource.getOptionValues(String name) AbstractEnvironment.getProperty(String key) <T> TAbstractEnvironment.getProperty(String key, Class<T> targetType) AbstractPropertyResolver.getProperty(String key) final StringCommandLinePropertySource.getProperty(String name) This implementation first checks to see if the name specified is the special "non-option arguments" property, and if so delegates to the abstractCommandLinePropertySource.getNonOptionArgs()method.CompositePropertySource.getProperty(String name) MapPropertySource.getProperty(String name) PropertyResolver.getProperty(String key) Return the property value associated with the given key, ornullif the key cannot be resolved.<T> TPropertyResolver.getProperty(String key, Class<T> targetType) Return the property value associated with the given key, ornullif the key cannot be resolved.abstract ObjectPropertySource.getProperty(String name) Return the value associated with the given name, ornullif not found.PropertySource.StubPropertySource.getProperty(String name) Always returnsnull.PropertySourcesPropertyResolver.getProperty(String key) <T> TPropertySourcesPropertyResolver.getProperty(String key, Class<T> targetValueType) protected <T> TPropertySourcesPropertyResolver.getProperty(String key, Class<T> targetValueType, boolean resolveNestedPlaceholders) SystemEnvironmentPropertySource.getProperty(String name) This implementation returnstrueif a property with the given name or any underscore/uppercase variant thereof exists in this property source.protected abstract StringAbstractPropertyResolver.getPropertyAsRawString(String key) Retrieve the specified property as a raw String, i.e.protected StringPropertySourcesPropertyResolver.getPropertyAsRawString(String key) Remove and return the property source with the given name,nullif not found.Method parameters in org.springframework.core.env with annotations of type NullableModifier and TypeMethodDescriptionprotected <T> TAbstractPropertyResolver.convertValueIfNecessary(Object value, Class<T> targetType) Convert the given value to the specified target type, if necessary.booleanThisPropertySourceobject is equal to the given object if: they are the same instance thenameproperties for both objects are equalvoidAbstractEnvironment.setValueSeparator(String valueSeparator) voidAbstractPropertyResolver.setValueSeparator(String valueSeparator) Specify the separating character between the placeholders replaced by this resolver and their associated default value, ornullif no such special character should be processed as a value separator.voidConfigurablePropertyResolver.setValueSeparator(String valueSeparator) Specify the separating character between the placeholders replaced by this resolver and their associated default value, ornullif no such special character should be processed as a value separator.Constructor parameters in org.springframework.core.env with annotations of type NullableModifierConstructorDescriptionPropertySourcesPropertyResolver(PropertySources propertySources) Create a new resolver against the given property sources. -
Uses of Nullable in org.springframework.core.io
Methods in org.springframework.core.io with annotations of type NullableModifier and TypeMethodDescriptionprotected static Stringprotected static ObjectVfsUtils.doGetVisitorAttributes()ResourceEditor.getAsText()final ClassLoaderClassPathResource.getClassLoader()Return theClassLoaderthat this resource will be obtained from.DefaultResourceLoader.getClassLoader()Return the ClassLoader to load class path resources with.ResourceLoader.getClassLoader()Expose theClassLoaderused by thisResourceLoader.AbstractResource.getFilename()This implementation always returnsnull, assuming that this resource type does not have a filename.ClassPathResource.getFilename()This implementation returns the name of the file that this class path resource refers to.Resource.getFilename()Determine the filename for this resource — typically the last part of the path — for example,"myfile.txt".UrlResource.getFilename()This implementation returns the URL-decoded name of the file that this URL refers to.ProtocolResolver.resolve(String location, ResourceLoader resourceLoader) Resolve the given location against the given resource loader if this implementation's protocol matches.protected URLClassPathResource.resolveURL()Resolves aURLfor the underlying class path resource.Method parameters in org.springframework.core.io with annotations of type NullableModifier and TypeMethodDescriptionbooleanThis implementation compares description strings.booleanThis implementation compares the underlying byte array.booleanThis implementation compares the underlying class path locations and associated class loaders.booleanThis implementation compares the underlying description String.booleanThis implementation compares the underlying file paths.booleanThis implementation compares the underlying InputStream.booleanThis implementation compares the underlyingPathreferences.booleanThis implementation compares the underlying URL references.booleanprotected static ObjectVfsUtils.invokeVfsMethod(Method method, Object target, Object... args) voidDefaultResourceLoader.setClassLoader(ClassLoader classLoader) Specify the ClassLoader to load class path resources with, ornullfor using the thread context class loader at the time of actual resource access.Constructor parameters in org.springframework.core.io with annotations of type NullableModifierConstructorDescriptionByteArrayResource(byte[] byteArray, String description) Create a newByteArrayResourcewith a description.ClassPathContextResource(String path, ClassLoader classLoader) ClassPathResource(String path, Class<?> clazz) Create a newClassPathResourceforClassusage.ClassPathResource(String path, ClassLoader classLoader) Create a newClassPathResourceforClassLoaderusage.DefaultResourceLoader(ClassLoader classLoader) Create a new DefaultResourceLoader.DescriptiveResource(String description) Create a new DescriptiveResource.InputStreamResource(InputStream inputStream, String description) Create a new InputStreamResource.ResourceEditor(ResourceLoader resourceLoader, PropertyResolver propertyResolver) Create a new instance of theResourceEditorclass using the givenResourceLoaderandPropertyResolver.ResourceEditor(ResourceLoader resourceLoader, PropertyResolver propertyResolver, boolean ignoreUnresolvablePlaceholders) Create a new instance of theResourceEditorclass using the givenResourceLoader.UrlResource(String protocol, String location, String fragment) Create a newUrlResourcebased on a URI specification. -
Uses of Nullable in org.springframework.core.io.buffer
Method parameters in org.springframework.core.io.buffer with annotations of type Nullable -
Uses of Nullable in org.springframework.core.io.support
Fields in org.springframework.core.io.support with annotations of type NullableMethods in org.springframework.core.io.support with annotations of type NullableModifier and TypeMethodDescriptionPropertySourceDescriptor.encoding()Returns the value of theencodingrecord component.final CharsetEncodedResource.getCharset()PathMatchingResourcePatternResolver.getClassLoader()final StringEncodedResource.getEncoding()Return the encoding to use for reading from the resource, ornullif none specified.protected <T> TSpringFactoriesLoader.instantiateFactory(String implementationName, Class<T> type, SpringFactoriesLoader.ArgumentResolver argumentResolver, SpringFactoriesLoader.FailureHandler failureHandler) PropertySourceDescriptor.name()Returns the value of thenamerecord component.Class<? extends PropertySourceFactory>PropertySourceDescriptor.propertySourceFactory()Returns the value of thepropertySourceFactoryrecord component.<T> TResolve the given argument if possible.Method parameters in org.springframework.core.io.support with annotations of type NullableModifier and TypeMethodDescriptionprotected voidPathMatchingResourcePatternResolver.addAllClassLoaderJarRoots(ClassLoader classLoader, Set<Resource> result) Search allURLClassLoaderURLs for jar file references and add each to the given set of resources in the form of a pointer to the root of the jar file content.DefaultPropertySourceFactory.createPropertySource(String name, EncodedResource resource) PropertySourceFactory.createPropertySource(String name, EncodedResource resource) Create aPropertySourcethat wraps the given resource.booleanLocalizedResourceHelper.findLocalizedResource(String name, String extension, Locale locale) Find the most specific localized resource for the given name, extension and locale:static SpringFactoriesLoaderSpringFactoriesLoader.forDefaultResourceLocation(ClassLoader classLoader) Create aSpringFactoriesLoaderinstance that will load and instantiate the factory implementations from "META-INF/spring.factories", using the given class loader.static SpringFactoriesLoaderSpringFactoriesLoader.forResourceLocation(String resourceLocation, ClassLoader classLoader) Create aSpringFactoriesLoaderinstance that will load and instantiate the factory implementations from the given location, using the given class loader.static ResourcePatternResolverResourcePatternUtils.getResourcePatternResolver(ResourceLoader resourceLoader) Return a defaultResourcePatternResolverfor the givenResourceLoader.protected <T> TSpringFactoriesLoader.instantiateFactory(String implementationName, Class<T> type, SpringFactoriesLoader.ArgumentResolver argumentResolver, SpringFactoriesLoader.FailureHandler failureHandler) static booleanReturn whether the given resource location is a URL: either a special "classpath" or "classpath*" pseudo URL or a standard URL.<T> List<T>SpringFactoriesLoader.load(Class<T> factoryType, SpringFactoriesLoader.ArgumentResolver argumentResolver) Load and instantiate the factory implementations of the given type from "META-INF/spring.factories", using the configured class loader and the given argument resolver.<T> List<T>SpringFactoriesLoader.load(Class<T> factoryType, SpringFactoriesLoader.ArgumentResolver argumentResolver, SpringFactoriesLoader.FailureHandler failureHandler) Load and instantiate the factory implementations of the given type from "META-INF/spring.factories", using the configured class loader, the given argument resolver, and custom failure handling provided by the given failure handler.<T> List<T>SpringFactoriesLoader.load(Class<T> factoryType, SpringFactoriesLoader.ArgumentResolver argumentResolver, SpringFactoriesLoader.FailureHandler failureHandler) Load and instantiate the factory implementations of the given type from "META-INF/spring.factories", using the configured class loader, the given argument resolver, and custom failure handling provided by the given failure handler.<T> List<T>SpringFactoriesLoader.load(Class<T> factoryType, SpringFactoriesLoader.FailureHandler failureHandler) Load and instantiate the factory implementations of the given type from "META-INF/spring.factories", using the configured class loader with custom failure handling provided by the given failure handler.static PropertiesPropertiesLoaderUtils.loadAllProperties(String resourceName, ClassLoader classLoader) Load all properties from the specified class path resource (in ISO-8859-1 encoding), using the given class loader.static <T> List<T>SpringFactoriesLoader.loadFactories(Class<T> factoryType, ClassLoader classLoader) Load and instantiate the factory implementations of the given type from "META-INF/spring.factories", using the given class loader.SpringFactoriesLoader.loadFactoryNames(Class<?> factoryType, ClassLoader classLoader) Deprecated.as of 6.0 in favor ofSpringFactoriesLoader.load(Class, ArgumentResolver, FailureHandler)voidPropertiesLoaderSupport.setPropertiesPersister(PropertiesPersister propertiesPersister) Set the PropertiesPersister to use for parsing properties files.voidLocalizedResourceHelper.setSeparator(String separator) Set the separator to use in-between file name parts.Constructor parameters in org.springframework.core.io.support with annotations of type NullableModifierConstructorDescriptionEncodedResource(Resource resource, String encoding) Create a newEncodedResourcefor the givenResource, using the specifiedencoding.EncodedResource(Resource resource, Charset charset) Create a newEncodedResourcefor the givenResource, using the specifiedCharset.PathMatchingResourcePatternResolver(ClassLoader classLoader) Create aPathMatchingResourcePatternResolverwith aDefaultResourceLoaderand the suppliedClassLoader.PropertySourceDescriptor(List<String> locations, boolean ignoreResourceNotFound, String name, Class<? extends PropertySourceFactory> propertySourceFactory, String encoding) Creates an instance of aPropertySourceDescriptorrecord class.PropertySourceDescriptor(List<String> locations, boolean ignoreResourceNotFound, String name, Class<? extends PropertySourceFactory> propertySourceFactory, String encoding) Creates an instance of aPropertySourceDescriptorrecord class.PropertySourceDescriptor(List<String> locations, boolean ignoreResourceNotFound, String name, Class<? extends PropertySourceFactory> propertySourceFactory, String encoding) Creates an instance of aPropertySourceDescriptorrecord class.ResourceArrayPropertyEditor(ResourcePatternResolver resourcePatternResolver, PropertyResolver propertyResolver) Create a new ResourceArrayPropertyEditor with the givenResourcePatternResolverandPropertyResolver(typically anEnvironment).ResourceArrayPropertyEditor(ResourcePatternResolver resourcePatternResolver, PropertyResolver propertyResolver, boolean ignoreUnresolvablePlaceholders) Create a new ResourceArrayPropertyEditor with the givenResourcePatternResolverandPropertyResolver(typically anEnvironment).protectedSpringFactoriesLoader(ClassLoader classLoader, Map<String, List<String>> factories) Create a newSpringFactoriesLoaderinstance. -
Uses of Nullable in org.springframework.core.log
Method parameters in org.springframework.core.log with annotations of type NullableModifier and TypeMethodDescriptionstatic LogMessageBuild a lazily formatted message from the given format string and argument.static LogMessageBuild a lazily formatted message from the given format string and varargs.static LogMessageBuild a lazily formatted message from the given format string and arguments.static LogMessageBuild a lazily formatted message from the given format string and arguments.static LogMessageBuild a lazily formatted message from the given format string and arguments.static LogMessageBuild a lazily formatted message from the given format string and arguments.static LogMessageBuild a lazily formatted message from the given format string and arguments.static LogMessageBuild a lazily formatted message from the given format string and arguments.static LogMessageBuild a lazily formatted message from the given format string and arguments.static LogMessageBuild a lazily formatted message from the given format string and arguments.static LogMessageBuild a lazily formatted message from the given format string and arguments.static StringLogFormatUtils.formatValue(Object value, boolean limitLength) Convenience variant ofLogFormatUtils.formatValue(Object, int, boolean)that limits the length of a log message to 100 characters and also replaces newline and control characters iflimitLengthis set to "true".static StringLogFormatUtils.formatValue(Object value, int maxLength, boolean replaceNewlinesAndControlCharacters) Format the given value viatoString(), quoting it if it is aCharSequence, truncating at the specifiedmaxLength, and compacting it into a single line whenreplaceNewLinesis set. -
Uses of Nullable in org.springframework.core.metrics
Methods in org.springframework.core.metrics with annotations of type NullableModifier and TypeMethodDescriptionStartupStep.getParentId()Return, if available, the id of the parent step. -
Uses of Nullable in org.springframework.core.serializer
Constructor parameters in org.springframework.core.serializer with annotations of type Nullable -
Uses of Nullable in org.springframework.core.serializer.support
Constructor parameters in org.springframework.core.serializer.support with annotations of type Nullable -
Uses of Nullable in org.springframework.core.style
Method parameters in org.springframework.core.style with annotations of type NullableModifier and TypeMethodDescriptionAppend a field value.Style the given value, returning a String representation.voidDefaultToStringStyler.styleField(StringBuilder buffer, String fieldName, Object value) voidToStringStyler.styleField(StringBuilder buffer, String fieldName, Object value) Style a field value as a string.voidDefaultToStringStyler.styleValue(StringBuilder buffer, Object value) Constructor parameters in org.springframework.core.style with annotations of type NullableModifierConstructorDescriptionToStringCreator(Object obj, ToStringStyler styler) Create a ToStringCreator for the given object, using the provided style.ToStringCreator(Object obj, ValueStyler styler) Create a ToStringCreator for the given object, using the provided style. -
Uses of Nullable in org.springframework.core.task
Methods in org.springframework.core.task with annotations of type NullableModifier and TypeMethodDescriptionfinal ThreadFactorySimpleAsyncTaskExecutor.getThreadFactory()Return the external factory to use for creating new Threads, if any.Method parameters in org.springframework.core.task with annotations of type NullableModifier and TypeMethodDescriptionvoidSimpleAsyncTaskExecutor.setThreadFactory(ThreadFactory threadFactory) Specify an external factory to use for creating new Threads, instead of relying on the local properties of this executor. -
Uses of Nullable in org.springframework.core.task.support
Method parameters in org.springframework.core.task.support with annotations of type NullableModifier and TypeMethodDescriptionprotected voidTaskExecutorAdapter.doExecute(Executor concurrentExecutor, TaskDecorator taskDecorator, Runnable runnable) Actually execute the givenRunnable(which may be a user-supplied task or a wrapper around a user-supplied task) with the given executor. -
Uses of Nullable in org.springframework.core.test.io.support
Method parameters in org.springframework.core.test.io.support with annotations of type NullableModifier and TypeMethodDescriptionprotected <T> TMockSpringFactoriesLoader.instantiateFactory(String implementationName, Class<T> type, SpringFactoriesLoader.ArgumentResolver argumentResolver, SpringFactoriesLoader.FailureHandler failureHandler) Constructor parameters in org.springframework.core.test.io.support with annotations of type NullableModifierConstructorDescriptionMockSpringFactoriesLoader(ClassLoader classLoader) Create a newMockSpringFactoriesLoaderinstance with the given classloader.protectedMockSpringFactoriesLoader(ClassLoader classLoader, Map<String, List<String>> factories) -
Uses of Nullable in org.springframework.core.test.tools
Methods in org.springframework.core.test.tools with annotations of type NullableModifier and TypeMethodDescriptionprotected URLDynamicClassLoader.findResource(String name) Get theClassFilewith the given class name.Get theResourceFilewith the given path.Get theSourceFilewith the given path.Method parameters in org.springframework.core.test.tools with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanDynamicFileAssert.hasContent(CharSequence content) Verify that the actual content is equal to the given one.static SourceFileSourceFile.of(String path, CharSequence charSequence) Factory method to create a newSourceFilefrom the givenCharSequence.static SourceFileSourceFile.of(String path, InputStreamSource inputStreamSource) Factory method to create a newSourceFilefrom the givenInputStreamSource.static SourceFileSourceFile.of(String path, WritableContent writableContent) Factory method to create a newSourceFilefrom the givenWritableContent. -
Uses of Nullable in org.springframework.core.type
Methods in org.springframework.core.type with annotations of type NullableModifier and TypeMethodDescriptiondefault MultiValueMap<String,Object> AnnotatedTypeMetadata.getAllAnnotationAttributes(String annotationName) Retrieve all attributes of all annotations of the given type, if any (i.e.default MultiValueMap<String,Object> AnnotatedTypeMetadata.getAllAnnotationAttributes(String annotationName, boolean classValuesAsString) Retrieve all attributes of all annotations of the given type, if any (i.e.StandardAnnotationMetadata.getAllAnnotationAttributes(String annotationName, boolean classValuesAsString) StandardMethodMetadata.getAllAnnotationAttributes(String annotationName, boolean classValuesAsString) AnnotatedTypeMetadata.getAnnotationAttributes(String annotationName) Retrieve the attributes of the annotation of the given type, if any (i.e.AnnotatedTypeMetadata.getAnnotationAttributes(String annotationName, boolean classValuesAsString) Retrieve the attributes of the annotation of the given type, if any (i.e.StandardAnnotationMetadata.getAnnotationAttributes(String annotationName, boolean classValuesAsString) StandardMethodMetadata.getAnnotationAttributes(String annotationName, boolean classValuesAsString) ClassMetadata.getEnclosingClassName()Return the name of the enclosing class of the underlying class, ornullif the underlying class is a top-level class.StandardClassMetadata.getEnclosingClassName()ClassMetadata.getSuperClassName()Return the name of the superclass of the underlying class, ornullif there is no superclass defined.StandardClassMetadata.getSuperClassName()Method parameters in org.springframework.core.type with annotations of type Nullable -
Uses of Nullable in org.springframework.core.type.classreading
Constructor parameters in org.springframework.core.type.classreading with annotations of type NullableModifierConstructorDescriptionCachingMetadataReaderFactory(ClassLoader classLoader) Create a new CachingMetadataReaderFactory for the givenClassLoader, using a local resource cache.CachingMetadataReaderFactory(ResourceLoader resourceLoader) Create a new CachingMetadataReaderFactory for the givenResourceLoader, using a shared resource cache if supported or a local resource cache otherwise.SimpleMetadataReaderFactory(ClassLoader classLoader) Create a new SimpleMetadataReaderFactory for the given class loader.SimpleMetadataReaderFactory(ResourceLoader resourceLoader) Create a new SimpleMetadataReaderFactory for the given resource loader. -
Uses of Nullable in org.springframework.core.type.filter
Methods in org.springframework.core.type.filter with annotations of type NullableModifier and TypeMethodDescriptionprotected BooleanAnnotationTypeFilter.hasAnnotation(String typeName) protected BooleanAbstractTypeHierarchyTraversingFilter.matchInterface(String interfaceName) Override this to match on interface type name.protected BooleanAnnotationTypeFilter.matchInterface(String interfaceName) protected BooleanAssignableTypeFilter.matchInterface(String interfaceName) protected BooleanAbstractTypeHierarchyTraversingFilter.matchSuperClass(String superClassName) Override this to match on supertype name.protected BooleanAnnotationTypeFilter.matchSuperClass(String superClassName) protected BooleanAssignableTypeFilter.matchSuperClass(String superClassName) protected BooleanAssignableTypeFilter.matchTargetType(String typeName) Constructor parameters in org.springframework.core.type.filter with annotations of type NullableModifierConstructorDescriptionAspectJTypeFilter(String typePatternExpression, ClassLoader classLoader) -
Uses of Nullable in org.springframework.dao
Constructor parameters in org.springframework.dao with annotations of type NullableModifierConstructorDescriptionConcurrencyFailureException(String msg, Throwable cause) Constructor for ConcurrencyFailureException.DataAccessException(String msg, Throwable cause) Constructor for DataAccessException.DataAccessException(String msg, Throwable cause) Constructor for DataAccessException.DataAccessResourceFailureException(String msg, Throwable cause) Constructor for DataAccessResourceFailureException.DataRetrievalFailureException(String msg, Throwable cause) Constructor for DataRetrievalFailureException.NonTransientDataAccessException(String msg, Throwable cause) Constructor for NonTransientDataAccessException.NonTransientDataAccessException(String msg, Throwable cause) Constructor for NonTransientDataAccessException.NonTransientDataAccessResourceException(String msg, Throwable cause) Constructor for NonTransientDataAccessResourceException.OptimisticLockingFailureException(String msg, Throwable cause) Constructor for OptimisticLockingFailureException.TransientDataAccessException(String msg, Throwable cause) Constructor for TransientDataAccessException.UncategorizedDataAccessException(String msg, Throwable cause) Constructor for UncategorizedDataAccessException.UncategorizedDataAccessException(String msg, Throwable cause) Constructor for UncategorizedDataAccessException. -
Uses of Nullable in org.springframework.dao.support
Methods in org.springframework.dao.support with annotations of type NullableModifier and TypeMethodDescriptionPersistenceExceptionTranslationInterceptor.invoke(MethodInvocation mi) static <T> TDataAccessUtils.nullableSingleResult(Collection<T> results) Return a single result object from the given Collection.static <T> TDataAccessUtils.singleResult(Collection<T> results) Return a single result object from the given Collection.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(RuntimeException ex) PersistenceExceptionTranslator.translateExceptionIfPossible(RuntimeException ex) Translate the given runtime exception thrown by a persistence framework to a corresponding exception from Spring's genericDataAccessExceptionhierarchy, if possible.static <T> TDataAccessUtils.uniqueResult(Collection<T> results) Return a unique result object from the given Collection.Method parameters in org.springframework.dao.support with annotations of type NullableModifier and TypeMethodDescriptionstatic intDataAccessUtils.intResult(Collection<?> results) Return a unique int result from the given Collection.static longDataAccessUtils.longResult(Collection<?> results) Return a unique long result from the given Collection.static <T> TDataAccessUtils.nullableSingleResult(Collection<T> results) Return a single result object from the given Collection.static <T> TDataAccessUtils.objectResult(Collection<?> results, Class<T> requiredType) Return a unique result object from the given Collection.static <T> TDataAccessUtils.objectResult(Collection<?> results, Class<T> requiredType) Return a unique result object from the given Collection.static <T> TDataAccessUtils.requiredSingleResult(Collection<T> results) Return a single result object from the given Collection.static <T> TDataAccessUtils.requiredUniqueResult(Collection<T> results) Return a unique result object from the given Collection.static <T> TDataAccessUtils.singleResult(Collection<T> results) Return a single result object from the given Collection.static <T> TDataAccessUtils.uniqueResult(Collection<T> results) Return a unique result object from the given Collection. -
Uses of Nullable in org.springframework.expression
Fields in org.springframework.expression with annotations of type NullableMethods in org.springframework.expression with annotations of type NullableModifier and TypeMethodDescriptionTypeConverter.convertValue(Object value, TypeDescriptor sourceType, TypeDescriptor targetType) Convert (or coerce) a value from one type to another, for example from abooleanto aString.EvaluationContext.getBeanResolver()Return a bean resolver that can look up beans by name.final StringExpressionException.getExpressionString()Return the expression string.Class<?>[]PropertyAccessor.getSpecificTargetClasses()Return an array of classes for which this resolver should be called.TypedValue.getTypeDescriptor()Expression.getValue()Evaluate this expression in the default standard context.<T> TEvaluate the expression in the default context.Evaluate this expression against the specified root object.<T> TEvaluate the expression in the default context against the specified root object.Expression.getValue(EvaluationContext context) Evaluate this expression in the provided context and return the result of evaluation.<T> TExpression.getValue(EvaluationContext context, Class<T> desiredResultType) Evaluate the expression in a specified context which can resolve references to properties, methods, types, etc.Expression.getValue(EvaluationContext context, Object rootObject) Evaluate this expression in the provided context and return the result of evaluation, but use the supplied root context as an override for any default root object specified in the context.<T> TExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) Evaluate the expression in a specified context which can resolve references to properties, methods, types, etc.TypedValue.getValue()Class<?>Expression.getValueType()Return the most general type that can be passed to aExpression.setValue(java.lang.Object, java.lang.Object)method using the default context.Class<?>Expression.getValueType(Object rootObject) Return the most general type that can be passed to theExpression.setValue(Object, Object)method using the default context.Class<?>Expression.getValueType(EvaluationContext context) Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object)method for the given context.Class<?>Expression.getValueType(EvaluationContext context, Object rootObject) Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object, Object)method for the given context.Expression.getValueTypeDescriptor()Return the most general type that can be passed to aExpression.setValue(java.lang.Object, java.lang.Object)method using the default context.Expression.getValueTypeDescriptor(Object rootObject) Return the most general type that can be passed to theExpression.setValue(Object, Object)method using the default context.Expression.getValueTypeDescriptor(EvaluationContext context) Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object)method for the given context.Expression.getValueTypeDescriptor(EvaluationContext context, Object rootObject) Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object, Object)method for the given context.EvaluationContext.lookupVariable(String name) Look up a named variable within this evaluation context.ConstructorResolver.resolve(EvaluationContext context, String typeName, List<TypeDescriptor> argumentTypes) Within the supplied context determine a suitable constructor on the supplied type that can handle the specified arguments.MethodResolver.resolve(EvaluationContext context, Object targetObject, String name, List<TypeDescriptor> argumentTypes) Within the supplied context determine a suitable method on the supplied object that can handle the specified arguments.Method parameters in org.springframework.expression with annotations of type NullableModifier and TypeMethodDescriptionbooleanTypeComparator.canCompare(Object firstObject, Object secondObject) Returntrueif the comparator can compare these two objects.booleanTypeComparator.canCompare(Object firstObject, Object secondObject) Returntrueif the comparator can compare these two objects.booleanTypeConverter.canConvert(TypeDescriptor sourceType, TypeDescriptor targetType) Returntrueif the type converter can convert the specified type to the desired target type.booleanPropertyAccessor.canRead(EvaluationContext context, Object target, String name) Called to determine if a resolver instance is able to access a specified property on a specified target object.booleanPropertyAccessor.canWrite(EvaluationContext context, Object target, String name) Called to determine if a resolver instance is able to write to a specified property on a specified target object.intCompare two given objects.intCompare two given objects.TypeConverter.convertValue(Object value, TypeDescriptor sourceType, TypeDescriptor targetType) Convert (or coerce) a value from one type to another, for example from abooleanto aString.TypeConverter.convertValue(Object value, TypeDescriptor sourceType, TypeDescriptor targetType) Convert (or coerce) a value from one type to another, for example from abooleanto aString.boolean<T> TEvaluate the expression in the default context.Evaluate this expression against the specified root object.<T> TEvaluate the expression in the default context against the specified root object.<T> TEvaluate the expression in the default context against the specified root object.<T> TExpression.getValue(EvaluationContext context, Class<T> desiredResultType) Evaluate the expression in a specified context which can resolve references to properties, methods, types, etc.Expression.getValue(EvaluationContext context, Object rootObject) Evaluate this expression in the provided context and return the result of evaluation, but use the supplied root context as an override for any default root object specified in the context.<T> TExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) Evaluate the expression in a specified context which can resolve references to properties, methods, types, etc.<T> TExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) Evaluate the expression in a specified context which can resolve references to properties, methods, types, etc.Class<?>Expression.getValueType(Object rootObject) Return the most general type that can be passed to theExpression.setValue(Object, Object)method using the default context.Class<?>Expression.getValueType(EvaluationContext context, Object rootObject) Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object, Object)method for the given context.Expression.getValueTypeDescriptor(Object rootObject) Return the most general type that can be passed to theExpression.setValue(Object, Object)method using the default context.Expression.getValueTypeDescriptor(EvaluationContext context, Object rootObject) Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object, Object)method for the given context.booleanExpression.isWritable(Object rootObject) Determine if an expression can be written to, i.e.booleanExpression.isWritable(EvaluationContext context, Object rootObject) Determine if an expression can be written to, i.e.Execute the specified operation on two operands, returning a result.Execute the specified operation on two operands, returning a result.booleanOperatorOverloader.overridesOperation(Operation operation, Object leftOperand, Object rightOperand) Return true if the operator overloader supports the specified operation between the two operands and so should be invoked to handle it.booleanOperatorOverloader.overridesOperation(Operation operation, Object leftOperand, Object rightOperand) Return true if the operator overloader supports the specified operation between the two operands and so should be invoked to handle it.PropertyAccessor.read(EvaluationContext context, Object target, String name) Called to read a property from a specified target object.voidSet this expression in the provided context to the value provided.voidSet this expression in the provided context to the value provided.voidExpression.setValue(EvaluationContext context, Object value) Set this expression in the provided context to the value provided.voidExpression.setValue(EvaluationContext context, Object rootObject, Object value) Set this expression in the provided context to the value provided.voidExpression.setValue(EvaluationContext context, Object rootObject, Object value) Set this expression in the provided context to the value provided.voidEvaluationContext.setVariable(String name, Object value) Set a named variable in this evaluation context to a specified value.voidPropertyAccessor.write(EvaluationContext context, Object target, String name, Object newValue) Called to write to a property on a specified target object.voidPropertyAccessor.write(EvaluationContext context, Object target, String name, Object newValue) Called to write to a property on a specified target object.Constructor parameters in org.springframework.expression with annotations of type NullableModifierConstructorDescriptionExpressionException(String expressionString, int position, String message) Construct a new expression exception.ExpressionException(String expressionString, String message) Construct a new expression exception.ParseException(String expressionString, int position, String message) Create a new expression parsing exception.TypedValue(Object value) Create aTypedValuefor a simple object.TypedValue(Object value, TypeDescriptor typeDescriptor) Create aTypedValuefor a particular value with a particularTypeDescriptorwhich may contain additional generic declarations.TypedValue(Object value, TypeDescriptor typeDescriptor) Create aTypedValuefor a particular value with a particularTypeDescriptorwhich may contain additional generic declarations. -
Uses of Nullable in org.springframework.expression.common
Methods in org.springframework.expression.common with annotations of type NullableModifier and TypeMethodDescriptionstatic <T> TExpressionUtils.convertTypedValue(EvaluationContext context, TypedValue typedValue, Class<T> targetType) Determines if there is a type converter available in the specified context and attempts to use it to convert the supplied value to the specified type.<T> T<T> T<T> TCompositeStringExpression.getValue(EvaluationContext context, Class<T> expectedResultType) <T> TCompositeStringExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) <T> T<T> T<T> TLiteralExpression.getValue(EvaluationContext context, Class<T> expectedResultType) <T> TLiteralExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) Method parameters in org.springframework.expression.common with annotations of type NullableModifier and TypeMethodDescriptionstatic <T> TExpressionUtils.convertTypedValue(EvaluationContext context, TypedValue typedValue, Class<T> targetType) Determines if there is a type converter available in the specified context and attempts to use it to convert the supplied value to the specified type.static <T> TExpressionUtils.convertTypedValue(EvaluationContext context, TypedValue typedValue, Class<T> targetType) Determines if there is a type converter available in the specified context and attempts to use it to convert the supplied value to the specified type.protected abstract ExpressionTemplateAwareExpressionParser.doParseExpression(String expressionString, ParserContext context) Actually parse the expression string and return an Expression object.<T> T<T> T<T> T<T> TCompositeStringExpression.getValue(EvaluationContext context, Class<T> expectedResultType) CompositeStringExpression.getValue(EvaluationContext context, Object rootObject) <T> TCompositeStringExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) <T> TCompositeStringExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) <T> T<T> T<T> T<T> TLiteralExpression.getValue(EvaluationContext context, Class<T> expectedResultType) LiteralExpression.getValue(EvaluationContext context, Object rootObject) <T> TLiteralExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) <T> TLiteralExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) Class<?>CompositeStringExpression.getValueType(Object rootObject) Class<?>CompositeStringExpression.getValueType(EvaluationContext context, Object rootObject) Class<?>LiteralExpression.getValueType(Object rootObject) Class<?>LiteralExpression.getValueType(EvaluationContext context, Object rootObject) CompositeStringExpression.getValueTypeDescriptor(Object rootObject) CompositeStringExpression.getValueTypeDescriptor(EvaluationContext context, Object rootObject) LiteralExpression.getValueTypeDescriptor(Object rootObject) LiteralExpression.getValueTypeDescriptor(EvaluationContext context, Object rootObject) booleanCompositeStringExpression.isWritable(Object rootObject) booleanCompositeStringExpression.isWritable(EvaluationContext context, Object rootObject) booleanLiteralExpression.isWritable(Object rootObject) booleanLiteralExpression.isWritable(EvaluationContext context, Object rootObject) TemplateAwareExpressionParser.parseExpression(String expressionString, ParserContext context) voidvoidvoidCompositeStringExpression.setValue(EvaluationContext context, Object value) voidCompositeStringExpression.setValue(EvaluationContext context, Object rootObject, Object value) voidCompositeStringExpression.setValue(EvaluationContext context, Object rootObject, Object value) voidvoidvoidLiteralExpression.setValue(EvaluationContext context, Object value) voidLiteralExpression.setValue(EvaluationContext context, Object rootObject, Object value) voidLiteralExpression.setValue(EvaluationContext context, Object rootObject, Object value) -
Uses of Nullable in org.springframework.expression.spel
Methods in org.springframework.expression.spel with annotations of type NullableModifier and TypeMethodDescriptionExpressionState.convertValue(TypedValue value, TypeDescriptor targetTypeDescriptor) SpelParserConfiguration.getCompilerClassLoader()Return the ClassLoader to use as the basis for expression compilation.Class<?>SpelNode.getObjectClass(Object obj) Determine the class of the object passed in, unless it is already a class object.SpelNode.getValue(ExpressionState expressionState) Evaluate the expression node in the context of the supplied expression state and return the value.CodeFlow.lastDescriptor()Return the descriptor for the item currently on top of the stack (in the current scope).ExpressionState.lookupLocalVariable(String name) Method parameters in org.springframework.expression.spel with annotations of type NullableModifier and TypeMethodDescriptionClass<?>SpelNode.getObjectClass(Object obj) Determine the class of the object passed in, unless it is already a class object.abstract ObjectCompiledExpression.getValue(Object target, EvaluationContext context) Subclasses of CompiledExpression generated by SpelCompiler will provide an implementation of this method.abstract ObjectCompiledExpression.getValue(Object target, EvaluationContext context) Subclasses of CompiledExpression generated by SpelCompiler will provide an implementation of this method.static voidCodeFlow.insertBoxIfNecessary(MethodVisitor mv, String descriptor) Determine the appropriate boxing instruction for a specific type (if it needs boxing) and insert the instruction into the supplied visitor.static voidCodeFlow.insertCheckCast(MethodVisitor mv, String descriptor) Insert the appropriate CHECKCAST instruction for the supplied descriptor.static voidCodeFlow.insertNumericUnboxOrPrimitiveTypeCoercion(MethodVisitor mv, String stackDescriptor, char targetDescriptor) For use in mathematical operators, handles converting from a (possibly boxed) number on the stack to a primitive numeric type.static voidCodeFlow.insertUnboxInsns(MethodVisitor mv, char ch, String stackDescriptor) Insert any necessary cast and value call to convert from a boxed type to a primitive value.static voidCodeFlow.insertUnboxNumberInsns(MethodVisitor mv, char targetDescriptor, String stackDescriptor) For numbers, use the appropriate method on the number to convert it to the primitive type requested.static booleanCodeFlow.isBooleanCompatible(String descriptor) Determine whether the descriptor is for a boolean primitive or boolean reference type.static booleanCodeFlow.isPrimitive(String descriptor) Determine whether the descriptor is for a primitive type orvoid.static booleanCodeFlow.isPrimitiveArray(String descriptor) Determine whether the descriptor is for a primitive array (e.g.static booleanCodeFlow.isPrimitiveOrUnboxableSupportedNumber(String descriptor) Determine if the supplied descriptor is for a supported number.static booleanCodeFlow.isPrimitiveOrUnboxableSupportedNumberOrBoolean(String descriptor) Determine if the supplied descriptor is for a supported number type or boolean.voidCodeFlow.pushDescriptor(String descriptor) Record the descriptor for the most recently evaluated expression element.voidSpelNode.setValue(ExpressionState expressionState, Object newValue) Evaluate the expression to a node and then set the new value on that node.voidExpressionState.setVariable(String name, Object value) Set a named variable in the evaluation context to a specified value.static StringCodeFlow.toDescriptorFromObject(Object value) Determine the descriptor for an object instance (ornull).Constructor parameters in org.springframework.expression.spel with annotations of type NullableModifierConstructorDescriptionSpelParseException(String expressionString, int position, SpelMessage message, Object... inserts) SpelParserConfiguration(SpelCompilerMode compilerMode, ClassLoader compilerClassLoader) Create a newSpelParserConfigurationinstance.SpelParserConfiguration(SpelCompilerMode compilerMode, ClassLoader compilerClassLoader) Create a newSpelParserConfigurationinstance.SpelParserConfiguration(SpelCompilerMode compilerMode, ClassLoader compilerClassLoader, boolean autoGrowNullReferences, boolean autoGrowCollections, int maximumAutoGrowSize) Create a newSpelParserConfigurationinstance.SpelParserConfiguration(SpelCompilerMode compilerMode, ClassLoader compilerClassLoader, boolean autoGrowNullReferences, boolean autoGrowCollections, int maximumAutoGrowSize) Create a newSpelParserConfigurationinstance.SpelParserConfiguration(SpelCompilerMode compilerMode, ClassLoader compilerClassLoader, boolean autoGrowNullReferences, boolean autoGrowCollections, int maximumAutoGrowSize, int maximumExpressionLength) Create a newSpelParserConfigurationinstance.SpelParserConfiguration(SpelCompilerMode compilerMode, ClassLoader compilerClassLoader, boolean autoGrowNullReferences, boolean autoGrowCollections, int maximumAutoGrowSize, int maximumExpressionLength) Create a newSpelParserConfigurationinstance. -
Uses of Nullable in org.springframework.expression.spel.ast
Fields in org.springframework.expression.spel.ast with annotations of type NullableModifier and TypeFieldDescriptionprotected StringSpelNodeImpl.exitTypeDescriptorIndicates the type descriptor for the result of this expression node.protected StringOperator.leftActualDescriptorprotected StringOperator.rightActualDescriptorMethods in org.springframework.expression.spel.ast with annotations of type NullableModifier and TypeMethodDescriptionInlineList.getConstantValue()InlineMap.getConstantValue()SpelNodeImpl.getExitDescriptor()Class<?>SpelNodeImpl.getObjectClass(Object obj) final StringLiteral.getOriginalValue()final ObjectSpelNodeImpl.getValue(ExpressionState expressionState) protected final <T> TSpelNodeImpl.getValue(ExpressionState state, Class<T> desiredReturnType) Method parameters in org.springframework.expression.spel.ast with annotations of type NullableModifier and TypeMethodDescriptionOperator.DescriptorComparison.checkNumericCompatibility(String leftDeclaredDescriptor, String rightDeclaredDescriptor, String leftActualDescriptor, String rightActualDescriptor) Return an object that indicates whether the input descriptors are compatible.Operator.DescriptorComparison.checkNumericCompatibility(String leftDeclaredDescriptor, String rightDeclaredDescriptor, String leftActualDescriptor, String rightActualDescriptor) Return an object that indicates whether the input descriptors are compatible.Operator.DescriptorComparison.checkNumericCompatibility(String leftDeclaredDescriptor, String rightDeclaredDescriptor, String leftActualDescriptor, String rightActualDescriptor) Return an object that indicates whether the input descriptors are compatible.Operator.DescriptorComparison.checkNumericCompatibility(String leftDeclaredDescriptor, String rightDeclaredDescriptor, String leftActualDescriptor, String rightActualDescriptor) Return an object that indicates whether the input descriptors are compatible.static booleanOperator.equalityCheck(EvaluationContext context, Object left, Object right) Perform an equality check for the given operand values.static booleanOperator.equalityCheck(EvaluationContext context, Object left, Object right) Perform an equality check for the given operand values.Class<?>SpelNodeImpl.getObjectClass(Object obj) static List<PropertyAccessor>AstUtils.getPropertyAccessorsToTry(Class<?> targetType, List<PropertyAccessor> propertyAccessors) Determines the set of property resolvers that should be used to try and access a property on the specified target type.voidSpelNodeImpl.setValue(ExpressionState expressionState, Object newValue) voidvoidSets the value this ValueRef points to, it should not require expression component re-evaluation.voidConstructor parameters in org.springframework.expression.spel.ast with annotations of type Nullable -
Uses of Nullable in org.springframework.expression.spel.standard
Methods in org.springframework.expression.spel.standard with annotations of type NullableModifier and TypeMethodDescriptionSpelCompiler.compile(SpelNodeImpl expression) Attempt compilation of the supplied expression.SpelExpression.getValue()<T> T<T> TSpelExpression.getValue(EvaluationContext context) <T> TSpelExpression.getValue(EvaluationContext context, Class<T> expectedResultType) SpelExpression.getValue(EvaluationContext context, Object rootObject) <T> TSpelExpression.getValue(EvaluationContext context, Object rootObject, Class<T> expectedResultType) Class<?>SpelExpression.getValueType()Class<?>SpelExpression.getValueType(Object rootObject) Class<?>SpelExpression.getValueType(EvaluationContext context) Class<?>SpelExpression.getValueType(EvaluationContext context, Object rootObject) SpelExpression.getValueTypeDescriptor()SpelExpression.getValueTypeDescriptor(Object rootObject) SpelExpression.getValueTypeDescriptor(EvaluationContext context) SpelExpression.getValueTypeDescriptor(EvaluationContext context, Object rootObject) Method parameters in org.springframework.expression.spel.standard with annotations of type NullableModifier and TypeMethodDescriptionprotected SpelExpressionSpelExpressionParser.doParseExpression(String expressionString, ParserContext context) static SpelCompilerSpelCompiler.getCompiler(ClassLoader classLoader) Factory method for compiler instances.<T> T<T> T<T> T<T> TSpelExpression.getValue(EvaluationContext context, Class<T> expectedResultType) SpelExpression.getValue(EvaluationContext context, Object rootObject) <T> TSpelExpression.getValue(EvaluationContext context, Object rootObject, Class<T> expectedResultType) <T> TSpelExpression.getValue(EvaluationContext context, Object rootObject, Class<T> expectedResultType) Class<?>SpelExpression.getValueType(Object rootObject) Class<?>SpelExpression.getValueType(EvaluationContext context, Object rootObject) SpelExpression.getValueTypeDescriptor(Object rootObject) SpelExpression.getValueTypeDescriptor(EvaluationContext context, Object rootObject) booleanSpelExpression.isWritable(Object rootObject) booleanSpelExpression.isWritable(EvaluationContext context, Object rootObject) voidvoidvoidSpelExpression.setValue(EvaluationContext context, Object value) voidSpelExpression.setValue(EvaluationContext context, Object rootObject, Object value) voidSpelExpression.setValue(EvaluationContext context, Object rootObject, Object value) -
Uses of Nullable in org.springframework.expression.spel.support
Methods in org.springframework.expression.spel.support with annotations of type NullableModifier and TypeMethodDescriptionStandardTypeConverter.convertValue(Object value, TypeDescriptor sourceType, TypeDescriptor targetType) protected FieldFind a field of a certain name on a specified class.protected MethodReflectivePropertyAccessor.findGetterForProperty(String propertyName, Class<?> clazz, boolean mustBeStatic) Find a getter method for the specified property.protected MethodReflectivePropertyAccessor.findSetterForProperty(String propertyName, Class<?> clazz, boolean mustBeStatic) Find a setter method for the specified property.SimpleEvaluationContext.getBeanResolver()SimpleEvaluationContextdoes not support the use of bean references.StandardEvaluationContext.getBeanResolver()Class<?>ReflectiveMethodExecutor.getPublicDeclaringClass()Find the first public class in the methods declaring class hierarchy that declares this method.Class<?>[]ReflectivePropertyAccessor.getSpecificTargetClasses()Returnsnullwhich means this is a general purpose accessor.Class<?>[]ReflectivePropertyAccessor.OptimalPropertyAccessor.getSpecificTargetClasses()SimpleEvaluationContext.lookupVariable(String name) StandardEvaluationContext.lookupVariable(String name) DataBindingMethodResolver.resolve(EvaluationContext context, Object targetObject, String name, List<TypeDescriptor> argumentTypes) ReflectiveConstructorResolver.resolve(EvaluationContext context, String typeName, List<TypeDescriptor> argumentTypes) Locate a constructor on the type.ReflectiveMethodResolver.resolve(EvaluationContext context, Object targetObject, String name, List<TypeDescriptor> argumentTypes) Locate a method on a type.Method parameters in org.springframework.expression.spel.support with annotations of type NullableModifier and TypeMethodDescriptionbooleanStandardTypeComparator.canCompare(Object left, Object right) booleanStandardTypeComparator.canCompare(Object left, Object right) booleanStandardTypeConverter.canConvert(TypeDescriptor sourceType, TypeDescriptor targetType) booleanReflectivePropertyAccessor.canRead(EvaluationContext context, Object target, String name) booleanReflectivePropertyAccessor.OptimalPropertyAccessor.canRead(EvaluationContext context, Object target, String name) booleanReflectivePropertyAccessor.canWrite(EvaluationContext context, Object target, String name) booleanReflectivePropertyAccessor.OptimalPropertyAccessor.canWrite(EvaluationContext context, Object target, String name) intintStandardTypeConverter.convertValue(Object value, TypeDescriptor sourceType, TypeDescriptor targetType) StandardTypeConverter.convertValue(Object value, TypeDescriptor sourceType, TypeDescriptor targetType) ReflectivePropertyAccessor.createOptimalAccessor(EvaluationContext context, Object target, String name) Attempt to create an optimized property accessor tailored for a property of a particular name on a particular class.booleanStandardOperatorOverloader.overridesOperation(Operation operation, Object leftOperand, Object rightOperand) booleanStandardOperatorOverloader.overridesOperation(Operation operation, Object leftOperand, Object rightOperand) ReflectivePropertyAccessor.OptimalPropertyAccessor.read(EvaluationContext context, Object target, String name) ReflectivePropertyAccessor.read(EvaluationContext context, Object target, String name) voidReflectiveMethodResolver.registerMethodFilter(Class<?> type, MethodFilter filter) Register a filter for methods on the given type.voidStandardEvaluationContext.setRootObject(Object rootObject) voidStandardEvaluationContext.setRootObject(Object rootObject, TypeDescriptor typeDescriptor) voidSimpleEvaluationContext.setVariable(String name, Object value) voidStandardEvaluationContext.setVariable(String name, Object value) voidStandardEvaluationContext.setVariable(String name, Object value) voidReflectivePropertyAccessor.OptimalPropertyAccessor.write(EvaluationContext context, Object target, String name, Object newValue) voidReflectivePropertyAccessor.OptimalPropertyAccessor.write(EvaluationContext context, Object target, String name, Object newValue) voidReflectivePropertyAccessor.write(EvaluationContext context, Object target, String name, Object newValue) voidReflectivePropertyAccessor.write(EvaluationContext context, Object target, String name, Object newValue) Constructor parameters in org.springframework.expression.spel.support with annotations of type NullableModifierConstructorDescriptionReflectiveMethodExecutor(Method method, Class<?> targetClass) Create a new executor for the given method.StandardEvaluationContext(Object rootObject) Create aStandardEvaluationContextwith the given root object.StandardTypeLocator(ClassLoader classLoader) Create aStandardTypeLocatorfor the givenClassLoader. -
Uses of Nullable in org.springframework.format.datetime.standard
Methods in org.springframework.format.datetime.standard with annotations of type NullableModifier and TypeMethodDescriptionDateTimeContext.getChronology()Return the user's chronology (calendar system), if any.static DateTimeContextDateTimeContextHolder.getDateTimeContext()Return the DateTimeContext associated with the current thread, if any.DateTimeFormatterFactoryBean.getObject()DateTimeContext.getTimeZone()Return the user's time zone, if any.Method parameters in org.springframework.format.datetime.standard with annotations of type NullableModifier and TypeMethodDescriptionstatic DateTimeFormatterDateTimeContextHolder.getFormatter(DateTimeFormatter formatter, Locale locale) Obtain a DateTimeFormatter with user-specific settings applied to the given base formatter.voidDateTimeContext.setChronology(Chronology chronology) Set the user's chronology (calendar system).static voidDateTimeContextHolder.setDateTimeContext(DateTimeContext dateTimeContext) Associate the given DateTimeContext with the current thread.voidDateTimeContext.setTimeZone(ZoneId timeZone) Set the user's time zone. -
Uses of Nullable in org.springframework.format.support
Methods in org.springframework.format.support with annotations of type NullableConstructor parameters in org.springframework.format.support with annotations of type NullableModifierConstructorDescriptionDefaultFormattingConversionService(StringValueResolver embeddedValueResolver, boolean registerDefaultFormatters) Create a newDefaultFormattingConversionServicewith the set of default converters and, based on the value ofregisterDefaultFormatters, the set of default formatters. -
Uses of Nullable in org.springframework.http
Methods in org.springframework.http with annotations of type NullableModifier and TypeMethodDescriptionHttpHeaders.getAccessControlAllowOrigin()Return the value of theAccess-Control-Allow-Originresponse header.HttpHeaders.getAccessControlRequestMethod()Return the value of theAccess-Control-Request-Methodrequest header.HttpEntity.getBody()Returns the body of this entity.HttpHeaders.getCacheControl()Return the value of theCache-Controlheader.ContentDisposition.getCharset()Return the charset defined in filename* parameter, ornullif not defined.HttpHeaders.getContentLanguage()Get the firstLocaleof the content languages, as specified by theContent-Languageheader.HttpHeaders.getContentType()Return the media type of the body, as specified by theContent-Typeheader.ContentDisposition.getCreationDate()Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.ProblemDetail.getDetail()Return the configuredproblem detail.ResponseCookie.getDomain()Return the cookie "Domain" attribute, ornullif not set.HttpHeaders.getETag()Return the entity tag of the body, as specified by theETagheader.protected StringHttpHeaders.getFieldValues(String headerName) Retrieve a combined result from the field values of multivalued headers.ContentDisposition.getFilename()Return the value of the filename parameter, possibly decoded from BASE64 encoding based on RFC 2047, or of the filename* parameter, possibly decoded as defined in the RFC 5987.Return the first header value for the given header name, if any.HttpHeaders.getFirstZonedDateTime(String headerName) Parse the first header value for the given header name as a date, returnnullif there is no value, or raiseIllegalArgumentExceptionif the value cannot be parsed as a date.CacheControl.getHeaderValue()Return the "Cache-Control" header value, if any.HttpHeaders.getHost()Return the value of theHostheader, if available.ProblemDetail.getInstance()Return the configuredproblem instance.HttpHeaders.getLocation()Return the (new) location of a resource as specified by theLocationheader.RequestEntity.getMethod()Return the HTTP method of the request.ContentDisposition.getModificationDate()Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.ContentDisposition.getName()Return the value of the name parameter, ornullif not defined.HttpHeaders.getOrigin()Return the value of theOriginheader.ResponseCookie.getPath()Return the cookie "Path" attribute, ornullif not set.HttpHeaders.getPragma()Return the value of thePragmaheader.ProblemDetail.getProperties()Return a generic map of properties that are not known ahead of time, possiblynullif no properties have been added.ContentDisposition.getReadDate()Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.ResponseCookie.getSameSite()Return the cookie "SameSite" attribute, ornullif not set.ContentDisposition.getSize()Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.ProblemDetail.getTitle()Return the configuredproblem title.ContentDisposition.getType()Return the disposition type.RequestEntity.getType()Return the type of the request's body.HttpHeaders.getUpgrade()Return the value of theUpgradeheader.Object[]RequestEntity.UriTemplateRequestEntity.getVars()RequestEntity.UriTemplateRequestEntity.getVarsMap()static HttpMethodDeprecated, for removal: This API element is subject to removal in a future version.in favor ofHttpMethod.valueOf(String)static HttpStatusHttpStatus.resolve(int statusCode) Resolve the given status code to anHttpStatus, if possible.static HttpStatus.SeriesHttpStatus.Series.resolve(int statusCode) Resolve the given status code to anHttpStatus.Series, if possible.Method parameters in org.springframework.http with annotations of type NullableModifier and TypeMethodDescriptionvoidAdd the given, single header value under the given name.<T> ResponseEntity<T>ResponseEntity.BodyBuilder.body(T body) Set the body of the response entity and returns it.ContentDisposition.Builder.creationDate(ZonedDateTime creationDate) Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.Set the cookie "Domain" attribute.static StringHttpHeaders.encodeBasicAuth(String username, String password, Charset charset) Encode the given username and password into Basic Authentication credentials.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanSet the entity tag of the body, as specified by theETagheader.Set the value of the filename parameter.Set the value of thefilenamethat will be encoded as defined in RFC 5987.Set the value of thefilenamethat will be encoded as defined in RFC 5987.MediaTypeFactory.getMediaType(String filename) Determine a media type for the given file name, if possible.MediaTypeFactory.getMediaType(Resource resource) Determine a media type for the given resource, if possible.MediaTypeFactory.getMediaTypes(String filename) Determine the media types for the given file name, if possible.RequestEntity.HeadersBuilder.headers(HttpHeaders headers) Copy the given headers into the entity's headers map.ResponseEntity.HeadersBuilder.headers(HttpHeaders headers) Copy the given headers into the entity's headers map.booleanIndicate whether thisMediaTypeincludes the given media type.booleanMediaType.isCompatibleWith(MediaType other) Indicate whether thisMediaTypeis compatible with the given media type.ContentDisposition.Builder.modificationDate(ZonedDateTime modificationDate) Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.Set the value of the name parameter.static <T> ResponseEntity<T>ResponseEntity.ofNullable(T body) static <T> ResponseEntity<T>ResponseEntity.ok(T body) A shortcut for creating aResponseEntitywith the given body and the status set to OK.MediaType.parseMediaTypes(String mediaTypes) Parse the comma-separated string into a list ofMediaTypeobjects.MediaType.parseMediaTypes(List<String> mediaTypes) Parse the given list of (potentially) comma-separated strings into a list ofMediaTypeobjects.HttpRange.parseRanges(String ranges) Parse the given, comma-separated string into a list ofHttpRangeobjects.Set the cookie "Path" attribute.ContentDisposition.Builder.readDate(ZonedDateTime readDate) Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.static HttpMethodDeprecated, for removal: This API element is subject to removal in a future version.in favor ofHttpMethod.valueOf(String)Add the "SameSite" attribute to the cookie.voidSet the given, single header value under the given name.voidHttpHeaders.setAccessControlAllowOrigin(String allowedOrigin) Set the (new) value of theAccess-Control-Allow-Originresponse header.voidHttpHeaders.setAccessControlRequestMethod(HttpMethod requestMethod) Set the (new) value of theAccess-Control-Request-Methodrequest header.voidHttpHeaders.setBasicAuth(String username, String password, Charset charset) Set the value of the Authorization header to Basic Authentication based on the given username and password.voidHttpHeaders.setCacheControl(String cacheControl) Set the (new) value of theCache-Controlheader.voidHttpHeaders.setContentDispositionFormData(String name, String filename) Set theContent-Dispositionheader when creating a"multipart/form-data"request.voidHttpHeaders.setContentLanguage(Locale locale) Set theLocaleof the content language, as specified by the Content-Language header.voidHttpHeaders.setContentType(MediaType mediaType) Set the media type of the body, as specified by theContent-Typeheader.voidSetter for theproblem detail.voidSet the (new) entity tag of the body, as specified by theETagheader.voidHttpHeaders.setHost(InetSocketAddress host) Set the (new) value of theHostheader.voidProblemDetail.setInstance(URI instance) Setter for theproblem instance.voidHttpHeaders.setLocation(URI location) Set the (new) location of a resource, as specified by theLocationheader.voidSet the (new) value of theOriginheader.voidSet the (new) value of thePragmaheader.voidProblemDetail.setProperties(Map<String, Object> properties) Setter for theproperties map.voidProblemDetail.setProperty(String name, Object value) Set a "dynamic" property to be added to a genericproperties map.voidSetter for theproblem title.voidHttpHeaders.setUpgrade(String upgrade) Set the (new) value of theUpgradeheader.Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.Set the cookie value.Constructor parameters in org.springframework.http with annotations of type NullableModifierConstructorDescriptionHttpCookie(String name, String value) HttpEntity(T body, MultiValueMap<String, String> headers) Create a newHttpEntitywith the given body and headers.HttpEntity(T body, MultiValueMap<String, String> headers) Create a newHttpEntitywith the given body and headers.Create a newMediaTypefor the given type, subtype, and parameters.Copy-constructor that copies the type and subtype of the givenMediaType, and allows for different parameters.RequestEntity(T body, HttpMethod method, URI url) Constructor with method, URL and body but without headers.RequestEntity(T body, HttpMethod method, URI url, Type type) Constructor with method, URL, body and type but without headers.RequestEntity(T body, MultiValueMap<String, String> headers, HttpMethod method, URI url) Constructor with method, URL, headers and body.RequestEntity(T body, MultiValueMap<String, String> headers, HttpMethod method, URI url) Constructor with method, URL, headers and body.RequestEntity(T body, MultiValueMap<String, String> headers, HttpMethod method, URI url) Constructor with method, URL, headers and body.RequestEntity(T body, MultiValueMap<String, String> headers, HttpMethod method, URI url, Type type) Constructor with method, URL, headers, body and type.RequestEntity(T body, MultiValueMap<String, String> headers, HttpMethod method, URI url, Type type) Constructor with method, URL, headers, body and type.RequestEntity(T body, MultiValueMap<String, String> headers, HttpMethod method, URI url, Type type) Constructor with method, URL, headers, body and type.RequestEntity(T body, MultiValueMap<String, String> headers, HttpMethod method, URI url, Type type) Constructor with method, URL, headers, body and type.RequestEntity(T body, MultiValueMap<String, String> headers, HttpMethod method, URI url, Type type) Constructor with method, URL, headers, body and type.ResponseEntity(T body, HttpStatusCode status) Create aResponseEntitywith a body and status code.ResponseEntity(T body, MultiValueMap<String, String> headers, int rawStatus) Create aResponseEntitywith a body, headers, and a raw status code.ResponseEntity(T body, MultiValueMap<String, String> headers, int rawStatus) Create aResponseEntitywith a body, headers, and a raw status code.ResponseEntity(T body, MultiValueMap<String, String> headers, HttpStatusCode status) Create aResponseEntitywith a body, headers, and a status code.ResponseEntity(T body, MultiValueMap<String, String> headers, HttpStatusCode status) Create aResponseEntitywith a body, headers, and a status code. -
Uses of Nullable in org.springframework.http.client
Methods in org.springframework.http.client with annotations of type NullableModifier and TypeMethodDescriptionprotected org.apache.hc.core5.http.protocol.HttpContextHttpComponentsClientHttpRequestFactory.createHttpContext(HttpMethod httpMethod, URI uri) Template methods that creates aHttpContextfor the given HTTP method and URI.protected RequestConfigHttpComponentsClientHttpRequestFactory.createRequestConfig(Object client) Create a defaultRequestConfigto use with the given client.Method parameters in org.springframework.http.client with annotations of type NullableModifier and TypeMethodDescriptionprotected HttpURLConnectionSimpleClientHttpRequestFactory.openConnection(URL url, Proxy proxy) Opens and returns a connection to the given URL.Variant ofMultipartBodyBuilder.part(String, Object)that also accepts a MediaType.Constructor parameters in org.springframework.http.client with annotations of type NullableModifierConstructorDescriptionInterceptingClientHttpRequestFactory(ClientHttpRequestFactory requestFactory, List<ClientHttpRequestInterceptor> interceptors) Create a new instance of theInterceptingClientHttpRequestFactorywith the given parameters. -
Uses of Nullable in org.springframework.http.client.observation
Methods in org.springframework.http.client.observation with annotations of type NullableModifier and TypeMethodDescriptionClientRequestObservationContext.getUriTemplate()Return the URI template used for the current client exchange,nullif none was used.Method parameters in org.springframework.http.client.observation with annotations of type NullableModifier and TypeMethodDescriptionvoidClientRequestObservationContext.setUriTemplate(String uriTemplate) Set the URI template used for the current client exchange. -
Uses of Nullable in org.springframework.http.client.reactive
Methods in org.springframework.http.client.reactive with annotations of type NullableModifier and TypeMethodDescriptionorg.eclipse.jetty.io.ByteBufferPoolJettyResourceFactory.getByteBufferPool()Return the configuredByteBufferPool.JdkHttpClientResourceFactory.getExecutor()Return the configuredExecutor.JettyResourceFactory.getExecutor()Return the configuredExecutor.org.eclipse.jetty.util.thread.SchedulerJettyResourceFactory.getScheduler()Return the configuredScheduler.Method parameters in org.springframework.http.client.reactive with annotations of type NullableModifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<Void>ApplybeforeCommitactions, apply the request headers/cookies, and write the request body.voidJettyResourceFactory.setByteBufferPool(org.eclipse.jetty.io.ByteBufferPool byteBufferPool) Configure theByteBufferPoolto use.voidJdkHttpClientResourceFactory.setExecutor(Executor executor) Configure theExecutorto use forHttpClientexchanges.voidJettyResourceFactory.setExecutor(Executor executor) Configure theExecutorto use.voidJettyResourceFactory.setScheduler(org.eclipse.jetty.util.thread.Scheduler scheduler) Configure theSchedulerto use.Constructor parameters in org.springframework.http.client.reactive with annotations of type NullableModifierConstructorDescriptionJdkClientHttpConnector(HttpClient.Builder clientBuilder, JdkHttpClientResourceFactory resourceFactory) Constructor with aJdkHttpClientResourceFactorythat provides shared resources.JettyClientHttpConnector(org.eclipse.jetty.client.HttpClient httpClient, JettyResourceFactory resourceFactory) Constructor with an initializedHttpClientand configures it with the givenJettyResourceFactory.JettyClientHttpConnector(JettyResourceFactory resourceFactory, Consumer<org.eclipse.jetty.client.HttpClient> customizer) Deprecated.as of 5.2, in favor ofJettyClientHttpConnector(HttpClient, JettyResourceFactory) -
Uses of Nullable in org.springframework.http.client.support
Methods in org.springframework.http.client.support with annotations of type NullableConstructor parameters in org.springframework.http.client.support with annotations of type NullableModifierConstructorDescriptionBasicAuthenticationInterceptor(String username, String password, Charset charset) Create a new interceptor which adds Basic Authentication for the given username and password, encoded using the specified charset. -
Uses of Nullable in org.springframework.http.codec
Methods in org.springframework.http.codec with annotations of type NullableModifier and TypeMethodDescriptionServerSentEvent.comment()Return the comment of this event, if available.ServerSentEvent.data()Return thedatafield of this event, if available.ServerSentEvent.event()Return theeventfield of this event, if available.protected MediaTypeDecoderHttpMessageReader.getContentType(HttpMessage inputMessage) Determine the Content-Type of the HTTP message based on the "Content-Type" header or otherwise default toMediaType.APPLICATION_OCTET_STREAM.Decoder<?>ServerSentEventHttpMessageReader.getDecoder()Return the configuredDecoder.Encoder<?>ServerSentEventHttpMessageWriter.getEncoder()Return the configuredEncoder, if any.ServerSentEvent.id()Return theidfield of this event, if available.CodecConfigurer.DefaultCodecConfig.isEnableLoggingRequestDetails()Whether to log form data at DEBUG level, and headers at TRACE level.CodecConfigurer.DefaultCodecConfig.maxInMemorySize()Get the configured limit on the number of bytes that can be buffered whenever the input stream needs to be aggregated.ServerSentEvent.retry()Return theretryfield of this event, if available.protected final kotlinx.serialization.KSerializer<Object>KotlinSerializationSupport.serializer(ResolvableType resolvableType) Returns the serializer that can (de)serialize instances of the given type.Method parameters in org.springframework.http.codec with annotations of type NullableModifier and TypeMethodDescriptionvoidResourceHttpMessageWriter.addHeaders(ReactiveHttpOutputMessage message, Resource resource, MediaType contentType, Map<String, Object> hints) Adds the default headers for the given resource to the given message.booleanKotlinSerializationBinaryDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanKotlinSerializationStringDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanKotlinSerializationBinaryEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanKotlinSerializationStringEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanDecoderHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) booleanFormHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) booleanHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) Whether the given object type is supported by this reader.booleanServerSentEventHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) protected final booleanKotlinSerializationSupport.canSerialize(ResolvableType type, MimeType mimeType) Indicates whether the given type can be serialized using Kotlin serialization.booleanEncoderHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) booleanFormHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) booleanHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) Whether the given object type is supported by this writer.booleanResourceHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) booleanServerSentEventHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) Set the value of thedatafield.reactor.core.publisher.Flux<Object>KotlinSerializationBinaryDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<Object>KotlinSerializationBinaryDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<Object>KotlinSerializationStringDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<Object>KotlinSerializationStringDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>KotlinSerializationBinaryDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>KotlinSerializationBinaryDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>KotlinSerializationStringDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>KotlinSerializationStringDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>KotlinSerializationBinaryEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>KotlinSerializationBinaryEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>KotlinSerializationStringEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>KotlinSerializationStringEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) KotlinSerializationBinaryEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) KotlinSerializationBinaryEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) KotlinSerializationStringEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) KotlinSerializationStringEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) HttpMessageEncoder.getEncodeHints(ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response) Get decoding hints based on the server request or annotations on the target controller method parameter.protected MediaTypeFormHttpMessageWriter.getMediaType(MediaType mediaType) EncoderHttpMessageWriter.getWriteHints(ResolvableType streamType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response) Get additional hints for encoding for example based on the server request or annotations from controller method parameters.reactor.core.publisher.Mono<Void>EncoderHttpMessageWriter.write(Publisher<? extends T> inputStream, ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response, Map<String, Object> hints) reactor.core.publisher.Mono<Void>EncoderHttpMessageWriter.write(Publisher<? extends T> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) reactor.core.publisher.Mono<Void>FormHttpMessageWriter.write(Publisher<? extends MultiValueMap<String, String>> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) default reactor.core.publisher.Mono<Void>HttpMessageWriter.write(Publisher<? extends T> inputStream, ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response, Map<String, Object> hints) Server-side only alternative toHttpMessageWriter.write(Publisher, ResolvableType, MediaType, ReactiveHttpOutputMessage, Map)with additional context available.reactor.core.publisher.Mono<Void>HttpMessageWriter.write(Publisher<? extends T> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) Write a given stream of object to the output message.reactor.core.publisher.Mono<Void>ResourceHttpMessageWriter.write(Publisher<? extends Resource> inputStream, ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response, Map<String, Object> hints) reactor.core.publisher.Mono<Void>ResourceHttpMessageWriter.write(Publisher<? extends Resource> inputStream, ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response, Map<String, Object> hints) reactor.core.publisher.Mono<Void>ResourceHttpMessageWriter.write(Publisher<? extends Resource> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) reactor.core.publisher.Mono<Void>ServerSentEventHttpMessageWriter.write(Publisher<?> input, ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response, Map<String, Object> hints) reactor.core.publisher.Mono<Void>ServerSentEventHttpMessageWriter.write(Publisher<?> input, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) Constructor parameters in org.springframework.http.codec with annotations of type NullableModifierConstructorDescriptionServerSentEventHttpMessageReader(Decoder<?> decoder) Constructor with JSONDecoderfor decoding to Objects.ServerSentEventHttpMessageWriter(Encoder<?> encoder) Constructor with JSONEncoderfor encoding objects. -
Uses of Nullable in org.springframework.http.codec.json
Methods in org.springframework.http.codec.json with annotations of type NullableModifier and TypeMethodDescriptionprotected abstract <A extends Annotation>
AJackson2CodecSupport.getAnnotation(MethodParameter parameter, Class<A> annotType) Jackson2CodecSupport.getObjectMappersForType(Class<?> clazz) Return ObjectMapper registrations for the given class, if any.protected MethodParameterJackson2CodecSupport.getParameter(ResolvableType type) protected byte[]AbstractJackson2Encoder.getStreamingMediaTypeSeparator(MimeType mimeType) Return the separator to use for the given mime type.protected byte[]Jackson2SmileEncoder.getStreamingMediaTypeSeparator(MimeType mimeType) Return the separator to use for the given mime type.protected ObjectMapperJackson2CodecSupport.selectObjectMapper(ResolvableType targetType, MimeType targetMimeType) Select an ObjectMapper to use, either the main ObjectMapper or another if the handling for the given Class has been customized throughJackson2CodecSupport.registerObjectMappersForType(Class, Consumer).Method parameters in org.springframework.http.codec.json with annotations of type NullableModifier and TypeMethodDescriptionbooleanAbstractJackson2Decoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanAbstractJackson2Encoder.canEncode(ResolvableType elementType, MimeType mimeType) protected ObjectReaderAbstractJackson2Decoder.customizeReader(ObjectReader reader, ResolvableType elementType, Map<String, Object> hints) Subclasses can use this method to customizeObjectReaderused for reading values.protected ObjectWriterAbstractJackson2Encoder.customizeWriter(ObjectWriter writer, MimeType mimeType, ResolvableType elementType, Map<String, Object> hints) Subclasses can use this method to customize theObjectWriterused for writing values.protected ObjectWriterAbstractJackson2Encoder.customizeWriter(ObjectWriter writer, MimeType mimeType, ResolvableType elementType, Map<String, Object> hints) Subclasses can use this method to customize theObjectWriterused for writing values.protected ObjectWriterJackson2JsonEncoder.customizeWriter(ObjectWriter writer, MimeType mimeType, ResolvableType elementType, Map<String, Object> hints) protected ObjectWriterJackson2JsonEncoder.customizeWriter(ObjectWriter writer, MimeType mimeType, ResolvableType elementType, Map<String, Object> hints) reactor.core.publisher.Flux<Object>AbstractJackson2Decoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<Object>AbstractJackson2Decoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) AbstractJackson2Decoder.decode(DataBuffer dataBuffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) AbstractJackson2Decoder.decode(DataBuffer dataBuffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>AbstractJackson2Decoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>AbstractJackson2Decoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>AbstractJackson2Encoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>AbstractJackson2Encoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) AbstractJackson2Encoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) AbstractJackson2Encoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) AbstractJackson2Encoder.getEncodeHints(ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response) AbstractJackson2Encoder.getEncodeHints(ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response) protected JavaTypeJackson2CodecSupport.getJavaType(Type type, Class<?> contextClass) protected JsonEncodingAbstractJackson2Encoder.getJsonEncoding(MimeType mimeType) Determine the JSON encoding to use for the given mime type.protected byte[]AbstractJackson2Encoder.getStreamingMediaTypeSeparator(MimeType mimeType) Return the separator to use for the given mime type.protected byte[]Jackson2SmileEncoder.getStreamingMediaTypeSeparator(MimeType mimeType) Return the separator to use for the given mime type.protected voidJackson2CodecSupport.logWarningIfNecessary(Type type, Throwable cause) Determine whether to log the given exception coming from aObjectMapper.canDeserialize(com.fasterxml.jackson.databind.JavaType)/ObjectMapper.canSerialize(java.lang.Class<?>)check.protected reactor.core.publisher.Flux<DataBuffer>AbstractJackson2Decoder.processInput(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Process the input publisher into a flux.protected reactor.core.publisher.Flux<DataBuffer>AbstractJackson2Decoder.processInput(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Process the input publisher into a flux.protected reactor.core.publisher.Flux<DataBuffer>Jackson2JsonDecoder.processInput(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) protected reactor.core.publisher.Flux<DataBuffer>Jackson2JsonDecoder.processInput(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) protected ObjectMapperJackson2CodecSupport.selectObjectMapper(ResolvableType targetType, MimeType targetMimeType) Select an ObjectMapper to use, either the main ObjectMapper or another if the handling for the given Class has been customized throughJackson2CodecSupport.registerObjectMappersForType(Class, Consumer).protected booleanJackson2CodecSupport.supportsMimeType(MimeType mimeType) -
Uses of Nullable in org.springframework.http.codec.multipart
Methods in org.springframework.http.codec.multipart with annotations of type NullableModifier and TypeMethodDescriptionMultipartHttpMessageWriter.getFormWriter()Return the configured form writer.Method parameters in org.springframework.http.codec.multipart with annotations of type NullableModifier and TypeMethodDescriptionbooleanDefaultPartHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) booleanMultipartHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) booleanPartEventHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) booleanMultipartHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) booleanPartEventHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) booleanPartHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) static reactor.core.publisher.Flux<FilePartEvent>FilePartEvent.create(String partName, String filename, MediaType contentType, reactor.core.publisher.Flux<DataBuffer> contents, Consumer<HttpHeaders> headersConsumer) Creates a stream ofFilePartEventobjects based on the given name, FilePartEvent.filename(), content-type, and contents.static reactor.core.publisher.Flux<FilePartEvent>FilePartEvent.create(String name, Path path, Consumer<HttpHeaders> headersConsumer) Creates a stream ofFilePartEventobjects based on the given name and file path.static reactor.core.publisher.Flux<FilePartEvent>FilePartEvent.create(String name, Resource resource, Consumer<HttpHeaders> headersConsumer) Creates a stream ofFilePartEventobjects based on the given name and resource.static reactor.core.publisher.Mono<FormPartEvent>FormPartEvent.create(String name, String value, Consumer<HttpHeaders> headersConsumer) protected MediaTypeMultipartWriterSupport.getMultipartMediaType(MediaType mediaType, byte[] boundary) Prepare theMediaTypeto use by adding "boundary" and "charset" parameters to the givenmediaTypeor "multipart/form-data" otherwise by default.reactor.core.publisher.Mono<Void>MultipartHttpMessageWriter.write(Publisher<? extends MultiValueMap<String, ?>> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage outputMessage, Map<String, Object> hints) reactor.core.publisher.Mono<Void>PartEventHttpMessageWriter.write(Publisher<? extends PartEvent> partDataStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage outputMessage, Map<String, Object> hints) reactor.core.publisher.Mono<Void>PartHttpMessageWriter.write(Publisher<? extends Part> parts, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage outputMessage, Map<String, Object> hints) Constructor parameters in org.springframework.http.codec.multipart with annotations of type NullableModifierConstructorDescriptionMultipartHttpMessageWriter(Supplier<List<HttpMessageWriter<?>>> partWritersSupplier, HttpMessageWriter<MultiValueMap<String, String>> formWriter) Constructor with a supplier for an explicit list of writers for serializing parts and a writer for plain form data to fall back when no media type is specified and the actual map consists of String values only.MultipartHttpMessageWriter(List<HttpMessageWriter<?>> partWriters, HttpMessageWriter<MultiValueMap<String, String>> formWriter) Constructor with explicit list of writers for serializing parts and a writer for plain form data to fall back when no media type is specified and the actual map consists of String values only. -
Uses of Nullable in org.springframework.http.codec.protobuf
Method parameters in org.springframework.http.codec.protobuf with annotations of type NullableModifier and TypeMethodDescriptionbooleanProtobufDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanProtobufEncoder.canEncode(ResolvableType elementType, MimeType mimeType) reactor.core.publisher.Flux<com.google.protobuf.Message>ProtobufDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<com.google.protobuf.Message>ProtobufDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) com.google.protobuf.MessageProtobufDecoder.decode(DataBuffer dataBuffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) com.google.protobuf.MessageProtobufDecoder.decode(DataBuffer dataBuffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<com.google.protobuf.Message>ProtobufDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<com.google.protobuf.Message>ProtobufDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>ProtobufEncoder.encode(Publisher<? extends com.google.protobuf.Message> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>ProtobufEncoder.encode(Publisher<? extends com.google.protobuf.Message> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) ProtobufEncoder.encodeValue(com.google.protobuf.Message message, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) ProtobufEncoder.encodeValue(com.google.protobuf.Message message, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) protected booleanProtobufCodecSupport.supportsMimeType(MimeType mimeType) reactor.core.publisher.Mono<Void>ProtobufHttpMessageWriter.write(Publisher<? extends com.google.protobuf.Message> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) -
Uses of Nullable in org.springframework.http.codec.xml
Method parameters in org.springframework.http.codec.xml with annotations of type NullableModifier and TypeMethodDescriptionbooleanJaxb2XmlDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanJaxb2XmlEncoder.canEncode(ResolvableType elementType, MimeType mimeType) reactor.core.publisher.Flux<Object>Jaxb2XmlDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<Object>Jaxb2XmlDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Jaxb2XmlDecoder.decode(DataBuffer dataBuffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) Jaxb2XmlDecoder.decode(DataBuffer dataBuffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<XMLEvent>XmlEventDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<XMLEvent>XmlEventDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>Jaxb2XmlDecoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>Jaxb2XmlDecoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) protected reactor.core.publisher.Flux<DataBuffer>Jaxb2XmlEncoder.encode(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) protected reactor.core.publisher.Flux<DataBuffer>Jaxb2XmlEncoder.encode(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) Jaxb2XmlEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) Jaxb2XmlEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) -
Uses of Nullable in org.springframework.http.converter
Methods in org.springframework.http.converter with annotations of type NullableModifier and TypeMethodDescriptionprotected LongAbstractHttpMessageConverter.getContentLength(T t, MediaType contentType) Returns the content length for the given type.protected LongResourceHttpMessageConverter.getContentLength(Resource resource, MediaType contentType) AbstractHttpMessageConverter.getDefaultCharset()Return the default character set, if any.protected MediaTypeAbstractHttpMessageConverter.getDefaultContentType(T t) Returns the default content type for the given type.BufferedImageHttpMessageConverter.getDefaultContentType()Returns the defaultContent-Typeto be used for writing.protected StringFormHttpMessageConverter.getFilename(Object part) Return the filename of the given multipart part.Method parameters in org.springframework.http.converter with annotations of type NullableModifier and TypeMethodDescriptionprotected voidAbstractHttpMessageConverter.addDefaultHeaders(HttpHeaders headers, T t, MediaType contentType) Add default headers to the output message.voidResourceHttpMessageConverter.addDefaultHeaders(HttpOutputMessage message, Resource resource, MediaType contentType) Add the default headers for the given resource to the given message.protected voidStringHttpMessageConverter.addDefaultHeaders(HttpHeaders headers, String s, MediaType type) booleanbooleanbooleanThis implementation checks if the given class is supported, and if the supported media types include the given media type.protected booleanbooleanAbstractKotlinSerializationHttpMessageConverter.canRead(Type type, Class<?> contextClass, MediaType mediaType) booleanAbstractKotlinSerializationHttpMessageConverter.canRead(Type type, Class<?> contextClass, MediaType mediaType) booleanbooleanbooleanIndicates whether the given type can be read by this converter.booleanIndicates whether the given type can be read by this converter.booleanIndicates whether the given class can be read by this converter.booleanbooleanbooleanbooleanbooleanbooleanbooleanprotected booleanReturnstrueif the given media type includes any of the supported media types.booleanAbstractKotlinSerializationHttpMessageConverter.canWrite(Type type, Class<?> clazz, MediaType mediaType) booleanAbstractKotlinSerializationHttpMessageConverter.canWrite(Type type, Class<?> clazz, MediaType mediaType) booleanbooleanbooleanIndicates whether the given class can be written by this converter.booleanIndicates whether the given class can be written by this converter.booleanIndicates whether the given class can be written by this converter.booleanbooleanbooleanbooleanbooleanprotected LongAbstractHttpMessageConverter.getContentLength(T t, MediaType contentType) Returns the content length for the given type.protected LongByteArrayHttpMessageConverter.getContentLength(byte[] bytes, MediaType contentType) protected LongObjectToStringHttpMessageConverter.getContentLength(Object obj, MediaType contentType) protected LongResourceHttpMessageConverter.getContentLength(Resource resource, MediaType contentType) protected LongStringHttpMessageConverter.getContentLength(String str, MediaType contentType) protected MediaTypeFormHttpMessageConverter.getFormContentType(MediaType contentType) Return the content type used to write forms, given the preferred content type.final ObjectAbstractKotlinSerializationHttpMessageConverter.read(Type type, Class<?> contextClass, HttpInputMessage inputMessage) BufferedImageHttpMessageConverter.read(Class<? extends BufferedImage> clazz, HttpInputMessage inputMessage) FormHttpMessageConverter.read(Class<? extends MultiValueMap<String, ?>> clazz, HttpInputMessage inputMessage) GenericHttpMessageConverter.read(Type type, Class<?> contextClass, HttpInputMessage inputMessage) Read an object of the given type form the given input message, and returns it.ResourceRegionHttpMessageConverter.read(Type type, Class<?> contextClass, HttpInputMessage inputMessage) voidFormHttpMessageConverter.setCharset(Charset charset) Set the default character set to use for reading and writing form data when the request or responseContent-Typeheader does not explicitly specify it.voidAbstractHttpMessageConverter.setDefaultCharset(Charset defaultCharset) Set the default character set, if any.voidBufferedImageHttpMessageConverter.setDefaultContentType(MediaType defaultContentType) Sets the defaultContent-Typeto be used for writing.final voidAbstractGenericHttpMessageConverter.write(T t, Type type, MediaType contentType, HttpOutputMessage outputMessage) This implementation sets the default headers by callingAbstractHttpMessageConverter.addDefaultHeaders(org.springframework.http.HttpHeaders, T, org.springframework.http.MediaType), and then callsAbstractGenericHttpMessageConverter.writeInternal(T, org.springframework.http.HttpOutputMessage).final voidAbstractGenericHttpMessageConverter.write(T t, Type type, MediaType contentType, HttpOutputMessage outputMessage) This implementation sets the default headers by callingAbstractHttpMessageConverter.addDefaultHeaders(org.springframework.http.HttpHeaders, T, org.springframework.http.MediaType), and then callsAbstractGenericHttpMessageConverter.writeInternal(T, org.springframework.http.HttpOutputMessage).final voidAbstractHttpMessageConverter.write(T t, MediaType contentType, HttpOutputMessage outputMessage) This implementation sets the default headers by callingAbstractHttpMessageConverter.addDefaultHeaders(org.springframework.http.HttpHeaders, T, org.springframework.http.MediaType), and then callsAbstractHttpMessageConverter.writeInternal(T, org.springframework.http.HttpOutputMessage).voidBufferedImageHttpMessageConverter.write(BufferedImage image, MediaType contentType, HttpOutputMessage outputMessage) voidFormHttpMessageConverter.write(MultiValueMap<String, ?> map, MediaType contentType, HttpOutputMessage outputMessage) voidGenericHttpMessageConverter.write(T t, Type type, MediaType contentType, HttpOutputMessage outputMessage) Write a given object to the given output message.voidGenericHttpMessageConverter.write(T t, Type type, MediaType contentType, HttpOutputMessage outputMessage) Write a given object to the given output message.voidHttpMessageConverter.write(T t, MediaType contentType, HttpOutputMessage outputMessage) Write a given object to the given output message.protected abstract voidAbstractGenericHttpMessageConverter.writeInternal(T t, Type type, HttpOutputMessage outputMessage) Abstract template method that writes the actual body.protected final voidAbstractKotlinSerializationHttpMessageConverter.writeInternal(Object object, Type type, HttpOutputMessage outputMessage) protected voidResourceRegionHttpMessageConverter.writeInternal(Object object, Type type, HttpOutputMessage outputMessage) Constructor parameters in org.springframework.http.converter with annotations of type NullableModifierConstructorDescriptionHttpMessageConversionException(String msg, Throwable cause) Create a new HttpMessageConversionException.HttpMessageNotReadableException(String msg, Throwable cause) Deprecated.as of 5.1, in favor ofHttpMessageNotReadableException(String, Throwable, HttpInputMessage)HttpMessageNotReadableException(String msg, Throwable cause, HttpInputMessage httpInputMessage) Create a new HttpMessageNotReadableException.HttpMessageNotWritableException(String msg, Throwable cause) Create a new HttpMessageNotWritableException. -
Uses of Nullable in org.springframework.http.converter.json
Methods in org.springframework.http.converter.json with annotations of type NullableModifier and TypeMethodDescriptionprotected LongAbstractJackson2HttpMessageConverter.getContentLength(Object object, MediaType contentType) protected MediaTypeAbstractJackson2HttpMessageConverter.getDefaultContentType(Object object) Class<?>MappingJacksonInputMessage.getDeserializationView()MappingJacksonValue.getFilters()Return the Jackson filter provider to use.com.google.gson.GsonGsonFactoryBean.getObject()Return the created Gson instance.Jackson2ObjectMapperFactoryBean.getObject()Return the singleton ObjectMapper.AbstractJackson2HttpMessageConverter.getObjectMappersForType(Class<?> clazz) Return ObjectMapper registrations for the given class, if any.Class<?>MappingJacksonValue.getSerializationView()Return the serialization view to use.Method parameters in org.springframework.http.converter.json with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanprotected ObjectWriterAbstractJackson2HttpMessageConverter.customizeWriter(ObjectWriter writer, JavaType javaType, MediaType contentType) Subclasses can use this method to customizeObjectWriterused for writing values.protected ObjectWriterAbstractJackson2HttpMessageConverter.customizeWriter(ObjectWriter writer, JavaType javaType, MediaType contentType) Subclasses can use this method to customizeObjectWriterused for writing values.protected CharsetAbstractJackson2HttpMessageConverter.getCharset(MediaType contentType) Determine the charset to use for JSON input.protected LongAbstractJackson2HttpMessageConverter.getContentLength(Object object, MediaType contentType) protected JavaTypeAbstractJackson2HttpMessageConverter.getJavaType(Type type, Class<?> contextClass) Return the JacksonJavaTypefor the specified type and context class.protected JsonEncodingAbstractJackson2HttpMessageConverter.getJsonEncoding(MediaType contentType) Determine the JSON encoding to use for the given content type.protected voidAbstractJackson2HttpMessageConverter.logWarningIfNecessary(Type type, Throwable cause) Determine whether to log the given exception coming from aObjectMapper.canDeserialize(com.fasterxml.jackson.databind.JavaType)/ObjectMapper.canSerialize(java.lang.Class<?>)check.AbstractJackson2HttpMessageConverter.read(Type type, Class<?> contextClass, HttpInputMessage inputMessage) final ObjectAbstractJsonHttpMessageConverter.read(Type type, Class<?> contextClass, HttpInputMessage inputMessage) voidMappingJacksonInputMessage.setDeserializationView(Class<?> deserializationView) voidMappingJacksonValue.setFilters(FilterProvider filters) Set the Jackson filter provider to serialize the POJO with.voidProblemDetailJacksonMixin.setProperty(String name, Object value) voidProblemDetailJacksonXmlMixin.setProperty(String name, Object value) voidMappingJacksonValue.setSerializationView(Class<?> serializationView) Set the serialization view to serialize the POJO with.protected voidAbstractJackson2HttpMessageConverter.writeInternal(Object object, Type type, HttpOutputMessage outputMessage) protected abstract voidAbstractJsonHttpMessageConverter.writeInternal(Object object, Type type, Writer writer) Template method that writes the JSON-bound object to the givenWriter.protected final voidAbstractJsonHttpMessageConverter.writeInternal(Object object, Type type, HttpOutputMessage outputMessage) protected voidGsonHttpMessageConverter.writeInternal(Object object, Type type, Writer writer) protected voidJsonbHttpMessageConverter.writeInternal(Object object, Type type, Writer writer) -
Uses of Nullable in org.springframework.http.converter.protobuf
Method parameters in org.springframework.http.converter.protobuf with annotations of type NullableModifier and TypeMethodDescriptionprotected booleanConstructor parameters in org.springframework.http.converter.protobuf with annotations of type NullableModifierConstructorDescriptionProtobufJsonFormatHttpMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, and a default instance ofExtensionRegistry.ProtobufJsonFormatHttpMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, and a default instance ofExtensionRegistry.ProtobufJsonFormatHttpMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer, com.google.protobuf.ExtensionRegistry extensionRegistry) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, andExtensionRegistry.ProtobufJsonFormatHttpMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer, com.google.protobuf.ExtensionRegistry extensionRegistry) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, andExtensionRegistry.ProtobufJsonFormatHttpMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer, com.google.protobuf.ExtensionRegistry extensionRegistry) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, andExtensionRegistry. -
Uses of Nullable in org.springframework.http.converter.xml
Methods in org.springframework.http.converter.xml with annotations of type NullableModifier and TypeMethodDescriptionprotected LongSourceHttpMessageConverter.getContentLength(T t, MediaType contentType) Method parameters in org.springframework.http.converter.xml with annotations of type NullableModifier and TypeMethodDescriptionbooleanAlways returnsfalsesince Jaxb2CollectionHttpMessageConverter required generic type information in order to read a Collection.booleanIndicates whether the given type can be read by this converter.booleanIndicates whether the given type can be read by this converter.booleanbooleanbooleanAlways returnsfalsesince Jaxb2CollectionHttpMessageConverter does not convert collections to XML.booleanAlways returnsfalsesince Jaxb2CollectionHttpMessageConverter does not convert collections to XML.booleanAlways returnsfalsesince Jaxb2CollectionHttpMessageConverter does not convert collections to XML.booleanAlways returnsfalsesince Jaxb2CollectionHttpMessageConverter does not convert collections to XML.booleanbooleanprotected LongSourceHttpMessageConverter.getContentLength(T t, MediaType contentType) Jaxb2CollectionHttpMessageConverter.read(Type type, Class<?> contextClass, HttpInputMessage inputMessage) voidJaxb2CollectionHttpMessageConverter.write(T t, Type type, MediaType contentType, HttpOutputMessage outputMessage) voidJaxb2CollectionHttpMessageConverter.write(T t, Type type, MediaType contentType, HttpOutputMessage outputMessage) -
Uses of Nullable in org.springframework.http.server
Methods in org.springframework.http.server with annotations of type NullableModifier and TypeMethodDescriptionServerHttpRequest.getPrincipal()Return aPrincipalinstance containing the name of the authenticated user.Method parameters in org.springframework.http.server with annotations of type NullableModifier and TypeMethodDescriptionstatic RequestPathVariant ofRequestPath.parse(URI, String)with the encodedraw path.static RequestPathParse the URI for a request into aRequestPath. -
Uses of Nullable in org.springframework.http.server.observation
Methods in org.springframework.http.server.observation with annotations of type NullableMethod parameters in org.springframework.http.server.observation with annotations of type NullableModifier and TypeMethodDescriptionvoidServerRequestObservationContext.setPathPattern(String pathPattern) -
Uses of Nullable in org.springframework.http.server.reactive
Methods in org.springframework.http.server.reactive with annotations of type NullableModifier and TypeMethodDescriptiondefault InetSocketAddressServerHttpRequest.getLocalAddress()Return the local address the request was accepted on, if available.ServerHttpRequestDecorator.getLocalAddress()SslInfo.getPeerCertificates()Return SSL certificates associated with the request, if any.AbstractServerHttpResponse.getRawStatusCode()Deprecated.default IntegerServerHttpResponse.getRawStatusCode()Deprecated.as of 6.0, in favor ofServerHttpResponse.getStatusCode()default InetSocketAddressServerHttpRequest.getRemoteAddress()Return the remote address where this request is connected to, if available.ServerHttpRequestDecorator.getRemoteAddress()ServletHttpHandlerAdapter.getServletConfig()ServletHttpHandlerAdapter.getServletPath()Return the Servlet path under which the Servlet is deployed by checking the Servlet registration fromServletHttpHandlerAdapter.init(ServletConfig).SslInfo.getSessionId()Return the SSL session id, if any.AbstractServerHttpRequest.getSslInfo()default SslInfoServerHttpRequest.getSslInfo()Return the SSL session information if the request has been transmitted over a secure protocol including SSL certificates, if available.ServerHttpRequestDecorator.getSslInfo()AbstractServerHttpResponse.getStatusCode()ServerHttpResponse.getStatusCode()Return the status code that has been set, or otherwise fall back on the status of the response from the underlying server.protected StringAbstractServerHttpRequest.initId()Obtain the request id to use, ornullin which case the Object identity of this request instance is used.protected abstract SslInfoAbstractServerHttpRequest.initSslInfo()Obtain SSL session information from the underlying "native" request.protected abstract TAbstractListenerReadPublisher.read()Read once from the input, if possible.ChannelSendOperator.scanUnsafe(reactor.core.Scannable.Attr key) Method parameters in org.springframework.http.server.reactive with annotations of type NullableModifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<Void>AbstractServerHttpResponse.doCommit(Supplier<? extends reactor.core.publisher.Mono<Void>> writeAction) ApplybeforeCommitactions, apply the response status and headers/cookies, and write the response body.booleanAbstractServerHttpResponse.setRawStatusCode(Integer statusCode) default booleanServerHttpResponse.setRawStatusCode(Integer value) Set the HTTP status code to the given value as an integer.booleanServerHttpResponseDecorator.setRawStatusCode(Integer value) booleanAbstractServerHttpResponse.setStatusCode(HttpStatusCode status) booleanServerHttpResponse.setStatusCode(HttpStatusCode status) Set the HTTP status code of the response.booleanServerHttpResponseDecorator.setStatusCode(HttpStatusCode status) Constructor parameters in org.springframework.http.server.reactive with annotations of type NullableModifierConstructorDescriptionAbstractServerHttpRequest(URI uri, String contextPath, HttpHeaders headers) Deprecated, for removal: This API element is subject to removal in a future version.since 6.0.8, in favor ofAbstractServerHttpRequest(HttpMethod, URI, String, MultiValueMap)AbstractServerHttpRequest(URI uri, String contextPath, MultiValueMap<String, String> headers) Deprecated, for removal: This API element is subject to removal in a future version.since 6.0.8, in favor ofAbstractServerHttpRequest(HttpMethod, URI, String, MultiValueMap)AbstractServerHttpRequest(HttpMethod method, URI uri, String contextPath, MultiValueMap<String, String> headers) Constructor with the method, URI and headers for the request. -
Uses of Nullable in org.springframework.http.server.reactive.observation
Methods in org.springframework.http.server.reactive.observation with annotations of type NullableModifier and TypeMethodDescriptionServerRequestObservationContext.getPathPattern()Return the path pattern for the handler that matches the current request.Method parameters in org.springframework.http.server.reactive.observation with annotations of type NullableModifier and TypeMethodDescriptionvoidServerRequestObservationContext.setPathPattern(String pathPattern) Set the path pattern for the handler that matches the current request. -
Uses of Nullable in org.springframework.instrument.classloading
Methods in org.springframework.instrument.classloading with annotations of type NullableModifier and TypeMethodDescriptionResourceOverridingShadowingClassLoader.getResourceAsStream(String requestedPath) ShadowingClassLoader.getResourceAsStream(String name) Method parameters in org.springframework.instrument.classloading with annotations of type NullableModifier and TypeMethodDescriptionbyte[]WeavingTransformer.transformIfNecessary(String className, String internalName, byte[] bytes, ProtectionDomain pd) Apply transformation on a given class byte definition.Constructor parameters in org.springframework.instrument.classloading with annotations of type NullableModifierConstructorDescriptionInstrumentationLoadTimeWeaver(ClassLoader classLoader) Create a new InstrumentationLoadTimeWeaver for the given ClassLoader.ReflectiveLoadTimeWeaver(ClassLoader classLoader) Create a new SimpleLoadTimeWeaver for the given class loader.Create a new SimpleInstrumentableClassLoader for the given ClassLoader.Create a new SimpleThrowawayClassLoader for the given ClassLoader.WeavingTransformer(ClassLoader classLoader) Create a new WeavingTransformer for the given class loader. -
Uses of Nullable in org.springframework.instrument.classloading.glassfish
Constructor parameters in org.springframework.instrument.classloading.glassfish with annotations of type NullableModifierConstructorDescriptionGlassFishLoadTimeWeaver(ClassLoader classLoader) Create a new instance of theGlassFishLoadTimeWeaverclass using the suppliedClassLoader. -
Uses of Nullable in org.springframework.instrument.classloading.jboss
Constructor parameters in org.springframework.instrument.classloading.jboss with annotations of type NullableModifierConstructorDescriptionJBossLoadTimeWeaver(ClassLoader classLoader) Create a new instance of theJBossLoadTimeWeaverclass using the suppliedClassLoader. -
Uses of Nullable in org.springframework.instrument.classloading.tomcat
Constructor parameters in org.springframework.instrument.classloading.tomcat with annotations of type NullableModifierConstructorDescriptionTomcatLoadTimeWeaver(ClassLoader classLoader) Create a new instance of theTomcatLoadTimeWeaverclass using the suppliedClassLoader. -
Uses of Nullable in org.springframework.jca.endpoint
Methods in org.springframework.jca.endpoint with annotations of type NullableModifier and TypeMethodDescriptionAbstractMessageEndpointFactory.getActivationName()Implementation of the JCA 1.7#getActivationName()method, returning the bean name as set on this MessageEndpointFactory.GenericMessageEndpointManager.getActivationSpec()Return the JCA ActivationSpec to use for activating the endpoint.Class<?>AbstractMessageEndpointFactory.getEndpointClass()Implementation of the JCA 1.7#getEndpointClass()method, returning null in order to indicate a synthetic endpoint type.GenericMessageEndpointManager.getMessageEndpointFactory()Return the JCA MessageEndpointFactory to activate.GenericMessageEndpointManager.getResourceAdapter()Return the JCA ResourceAdapter to manage endpoints for.Method parameters in org.springframework.jca.endpoint with annotations of type NullableModifier and TypeMethodDescriptionvoidAbstractMessageEndpointFactory.AbstractMessageEndpoint.beforeDelivery(Method method) ThisbeforeDeliveryimplementation starts a transaction, if necessary, and exposes the endpoint ClassLoader as current thread context ClassLoader.voidGenericMessageEndpointManager.setActivationSpec(ActivationSpec activationSpec) Set the JCA ActivationSpec to use for activating the endpoint.voidGenericMessageEndpointManager.setMessageEndpointFactory(MessageEndpointFactory messageEndpointFactory) Set the JCA MessageEndpointFactory to activate, pointing to a MessageListener object that the endpoints will delegate to.voidGenericMessageEndpointManager.setResourceAdapter(ResourceAdapter resourceAdapter) Set the JCA ResourceAdapter to manage endpoints for. -
Uses of Nullable in org.springframework.jca.support
Methods in org.springframework.jca.support with annotations of type NullableModifier and TypeMethodDescriptionLocalConnectionFactoryBean.getObject()ResourceAdapterFactoryBean.getObject()SimpleBootstrapContext.getTransactionSynchronizationRegistry()SimpleBootstrapContext.getXATerminator()Constructor parameters in org.springframework.jca.support with annotations of type NullableModifierConstructorDescriptionSimpleBootstrapContext(WorkManager workManager) Create a new SimpleBootstrapContext for the given WorkManager, with no XATerminator available.SimpleBootstrapContext(WorkManager workManager, XATerminator xaTerminator) Create a new SimpleBootstrapContext for the given WorkManager and XATerminator.SimpleBootstrapContext(WorkManager workManager, XATerminator xaTerminator) Create a new SimpleBootstrapContext for the given WorkManager and XATerminator.SimpleBootstrapContext(WorkManager workManager, XATerminator xaTerminator, TransactionSynchronizationRegistry transactionSynchronizationRegistry) Create a new SimpleBootstrapContext for the given WorkManager, XATerminator and TransactionSynchronizationRegistry.SimpleBootstrapContext(WorkManager workManager, XATerminator xaTerminator, TransactionSynchronizationRegistry transactionSynchronizationRegistry) Create a new SimpleBootstrapContext for the given WorkManager, XATerminator and TransactionSynchronizationRegistry.SimpleBootstrapContext(WorkManager workManager, XATerminator xaTerminator, TransactionSynchronizationRegistry transactionSynchronizationRegistry) Create a new SimpleBootstrapContext for the given WorkManager, XATerminator and TransactionSynchronizationRegistry. -
Uses of Nullable in org.springframework.jdbc
Methods in org.springframework.jdbc with annotations of type NullableModifier and TypeMethodDescriptionInvalidResultSetAccessException.getSql()Return the SQL that caused the problem.UncategorizedSQLException.getSql()Return the SQL that led to the problem (if known).Constructor parameters in org.springframework.jdbc with annotations of type NullableModifierConstructorDescriptionConstructor forCannotGetJdbcConnectionException.UncategorizedSQLException(String task, String sql, SQLException ex) Constructor for UncategorizedSQLException. -
Uses of Nullable in org.springframework.jdbc.core
Methods in org.springframework.jdbc.core with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectSingleColumnRowMapper.convertValueToRequiredType(Object value, Class<?> requiredType) Convert the given column value to the specified required type.CallableStatementCallback.doInCallableStatement(CallableStatement cs) Gets called byJdbcTemplate.executewith an active JDBC CallableStatement.ConnectionCallback.doInConnection(Connection con) Gets called byJdbcTemplate.executewith an active JDBC Connection.PreparedStatementCallback.doInPreparedStatement(PreparedStatement ps) Gets called byJdbcTemplate.executewith an active JDBC PreparedStatement.StatementCallback.doInStatement(Statement stmt) Gets called byJdbcTemplate.executewith an active JDBC Statement.<T> TJdbcOperations.execute(String callString, CallableStatementCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC CallableStatement.<T> TJdbcOperations.execute(String sql, PreparedStatementCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.<T> TJdbcOperations.execute(CallableStatementCreator csc, CallableStatementCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC CallableStatement.<T> TJdbcOperations.execute(ConnectionCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC Connection.<T> TJdbcOperations.execute(PreparedStatementCreator psc, PreparedStatementCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.<T> TJdbcOperations.execute(StatementCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC Statement.<T> TJdbcTemplate.execute(String callString, CallableStatementCallback<T> action) <T> TJdbcTemplate.execute(String sql, PreparedStatementCallback<T> action) <T> TJdbcTemplate.execute(CallableStatementCreator csc, CallableStatementCallback<T> action) <T> TJdbcTemplate.execute(ConnectionCallback<T> action) <T> TJdbcTemplate.execute(PreparedStatementCreator psc, PreparedStatementCallback<T> action) <T> TJdbcTemplate.execute(StatementCallback<T> action) ResultSetExtractor.extractData(ResultSet rs) Implementations must implement this method to process the entire ResultSet.final String[]RowCountCallbackHandler.getColumnNames()Return the names of the columns.final int[]RowCountCallbackHandler.getColumnTypes()Return the types of the columns as java.sql.Types constants Valid after processRow is invoked the first time.protected ObjectBeanPropertyRowMapper.getColumnValue(ResultSet rs, int index, PropertyDescriptor pd) Retrieve a JDBC object value for the specified column.protected ObjectBeanPropertyRowMapper.getColumnValue(ResultSet rs, int index, Class<?> paramType) Retrieve a JDBC object value for the specified column.protected ObjectColumnMapRowMapper.getColumnValue(ResultSet rs, int index) Retrieve a JDBC object value for the specified column.protected ObjectSingleColumnRowMapper.getColumnValue(ResultSet rs, int index) Retrieve a JDBC object value for the specified column, using the most appropriate value type.protected ObjectSingleColumnRowMapper.getColumnValue(ResultSet rs, int index, Class<?> requiredType) Retrieve a JDBC object value for the specified column.BeanPropertyRowMapper.getConversionService()Return aConversionServicefor binding JDBC values to bean properties, ornullif none.BeanPropertyRowMapper.getMappedClass()Get the class that we are mapping to.SqlParameter.getName()Return the name of the parameter, ornullif anonymous.ResultSetSupportingSqlParameter.getResultSetExtractor()Return the ResultSetExtractor held by this parameter, if any.ResultSetSupportingSqlParameter.getRowCallbackHandler()Return the RowCallbackHandler held by this parameter, if any.RowMapper<?>ResultSetSupportingSqlParameter.getRowMapper()Return the RowMapper held by this parameter, if any.SqlParameter.getScale()Return the scale of the parameter, if any.SqlProvider.getSql()Return the SQL string for this object, i.e.SqlOutParameter.getSqlReturnType()Return the custom return type, if any.SqlParameter.getTypeName()Return the type name of the parameter, if any.SqlParameterValue.getValue()Return the value object that this parameter value holds.Implementations must implement this method to map each row of data in theResultSet.Extract a value for the single column in the current row.<T> TJdbcOperations.query(String sql, Object[] args, int[] argTypes, ResultSetExtractor<T> rse) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet with a ResultSetExtractor.<T> TJdbcOperations.query(String sql, Object[] args, ResultSetExtractor<T> rse) Deprecated.as of 5.3, in favor ofJdbcOperations.query(String, ResultSetExtractor, Object...)<T> TJdbcOperations.query(String sql, PreparedStatementSetter pss, ResultSetExtractor<T> rse) Query using a prepared statement, reading the ResultSet with a ResultSetExtractor.<T> TJdbcOperations.query(String sql, ResultSetExtractor<T> rse) Execute a query given static SQL, reading the ResultSet with a ResultSetExtractor.<T> TJdbcOperations.query(String sql, ResultSetExtractor<T> rse, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet with a ResultSetExtractor.<T> TJdbcOperations.query(PreparedStatementCreator psc, ResultSetExtractor<T> rse) Query using a prepared statement, reading the ResultSet with a ResultSetExtractor.<T> TJdbcTemplate.query(String sql, Object[] args, int[] argTypes, ResultSetExtractor<T> rse) <T> TJdbcTemplate.query(String sql, Object[] args, ResultSetExtractor<T> rse) Deprecated.<T> TJdbcTemplate.query(String sql, PreparedStatementSetter pss, ResultSetExtractor<T> rse) <T> TJdbcTemplate.query(String sql, ResultSetExtractor<T> rse) <T> TJdbcTemplate.query(String sql, ResultSetExtractor<T> rse, Object... args) <T> TJdbcTemplate.query(PreparedStatementCreator psc, PreparedStatementSetter pss, ResultSetExtractor<T> rse) Query using a prepared statement, allowing for a PreparedStatementCreator and a PreparedStatementSetter.<T> TJdbcTemplate.query(PreparedStatementCreator psc, ResultSetExtractor<T> rse) <T> TJdbcOperations.queryForObject(String sql, Class<T> requiredType) Execute a query for a result object, given static SQL.<T> TJdbcOperations.queryForObject(String sql, Class<T> requiredType, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result object.<T> TJdbcOperations.queryForObject(String sql, Object[] args, int[] argTypes, Class<T> requiredType) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result object.<T> TJdbcOperations.queryForObject(String sql, Object[] args, int[] argTypes, RowMapper<T> rowMapper) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a result object via a RowMapper.<T> TJdbcOperations.queryForObject(String sql, Object[] args, Class<T> requiredType) Deprecated.as of 5.3, in favor ofJdbcOperations.queryForObject(String, Class, Object...)<T> TJdbcOperations.queryForObject(String sql, Object[] args, RowMapper<T> rowMapper) Deprecated.as of 5.3, in favor ofJdbcOperations.queryForObject(String, RowMapper, Object...)<T> TJdbcOperations.queryForObject(String sql, RowMapper<T> rowMapper) Execute a query given static SQL, mapping a single result row to a result object via a RowMapper.<T> TJdbcOperations.queryForObject(String sql, RowMapper<T> rowMapper, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a result object via a RowMapper.<T> TJdbcTemplate.queryForObject(String sql, Class<T> requiredType) <T> TJdbcTemplate.queryForObject(String sql, Object[] args, int[] argTypes, Class<T> requiredType) <T> TJdbcTemplate.queryForObject(String sql, Object[] args, int[] argTypes, RowMapper<T> rowMapper) <T> TJdbcTemplate.queryForObject(String sql, Object[] args, RowMapper<T> rowMapper) Deprecated.<T> TJdbcTemplate.queryForObject(String sql, RowMapper<T> rowMapper) <T> TJdbcTemplate.queryForObject(String sql, RowMapper<T> rowMapper, Object... args) Method parameters in org.springframework.jdbc.core with annotations of type NullableModifier and TypeMethodDescriptionstatic voidStatementCreatorUtils.cleanupParameters(Object... paramValues) Clean up all resources held by parameter values which were passed to an execute method.static voidStatementCreatorUtils.cleanupParameters(Collection<?> paramValues) Clean up all resources held by parameter values which were passed to an execute method.protected voidArgumentPreparedStatementSetter.doSetValue(PreparedStatement ps, int parameterPosition, Object argValue) Set the value for the prepared statement's specified parameter position using the supplied value.protected voidArgumentTypePreparedStatementSetter.doSetValue(PreparedStatement ps, int parameterPosition, int argType, Object argValue) Set the value for the prepared statement's specified parameter position using the supplied value and type.JdbcTemplate.extractReturnedResults(CallableStatement cs, List<SqlParameter> updateCountParameters, List<SqlParameter> resultSetParameters, int updateCount) Extract returned ResultSets from the completed stored procedure.JdbcTemplate.extractReturnedResults(CallableStatement cs, List<SqlParameter> updateCountParameters, List<SqlParameter> resultSetParameters, int updateCount) Extract returned ResultSets from the completed stored procedure.protected ObjectSingleColumnRowMapper.getColumnValue(ResultSet rs, int index, Class<?> requiredType) Retrieve a JDBC object value for the specified column.SqlReturnType.getTypeValue(CallableStatement cs, int paramIndex, int sqlType, String typeName) Get the type value from the specific object.protected voidJdbcTemplate.handleWarnings(SQLWarning warning) Throw aSQLWarningExceptionif encountering an actual warning.static intStatementCreatorUtils.javaTypeToSqlParameterType(Class<?> javaType) Derive a default SQL type from the given Java type.protected PreparedStatementSetterJdbcTemplate.newArgPreparedStatementSetter(Object[] args) Create a new arg-based PreparedStatementSetter using the args passed in.CallableStatementCreatorFactory.newCallableStatementCreator(Map<String, ?> params) Return a new CallableStatementCreator instance given these parameters.static <T> BeanPropertyRowMapper<T>BeanPropertyRowMapper.newInstance(Class<T> mappedClass, ConversionService conversionService) Static factory method to create a newBeanPropertyRowMapper.static <T> DataClassRowMapper<T>DataClassRowMapper.newInstance(Class<T> mappedClass, ConversionService conversionService) Static factory method to create a newDataClassRowMapper.static <T> SingleColumnRowMapper<T>SingleColumnRowMapper.newInstance(Class<T> requiredType, ConversionService conversionService) Static factory method to create a newSingleColumnRowMapper.PreparedStatementCreatorFactory.newPreparedStatementCreator(Object[] params) Return a new PreparedStatementCreator for the given parameters.PreparedStatementCreatorFactory.newPreparedStatementCreator(String sqlToUse, Object[] params) Return a new PreparedStatementCreator for the given parameters.PreparedStatementCreatorFactory.newPreparedStatementCreator(List<?> params) Return a new PreparedStatementCreator for the given parameters.PreparedStatementCreatorFactory.newPreparedStatementSetter(Object[] params) Return a new PreparedStatementSetter for the given parameters.PreparedStatementCreatorFactory.newPreparedStatementSetter(List<?> params) Return a new PreparedStatementSetter for the given parameters.JdbcTemplate.processResultSet(ResultSet rs, ResultSetSupportingSqlParameter param) Process the given ResultSet from a stored procedure.<T> TJdbcOperations.query(String sql, Object[] args, ResultSetExtractor<T> rse) Deprecated.as of 5.3, in favor ofJdbcOperations.query(String, ResultSetExtractor, Object...)voidJdbcOperations.query(String sql, Object[] args, RowCallbackHandler rch) Deprecated.as of 5.3, in favor ofJdbcOperations.query(String, RowCallbackHandler, Object...)<T> List<T>Deprecated.as of 5.3, in favor ofJdbcOperations.query(String, RowMapper, Object...)<T> TJdbcOperations.query(String sql, PreparedStatementSetter pss, ResultSetExtractor<T> rse) Query using a prepared statement, reading the ResultSet with a ResultSetExtractor.voidJdbcOperations.query(String sql, PreparedStatementSetter pss, RowCallbackHandler rch) Query given SQL to create a prepared statement from SQL and a PreparedStatementSetter implementation that knows how to bind values to the query, reading the ResultSet on a per-row basis with a RowCallbackHandler.<T> List<T>JdbcOperations.query(String sql, PreparedStatementSetter pss, RowMapper<T> rowMapper) Query given SQL to create a prepared statement from SQL and a PreparedStatementSetter implementation that knows how to bind values to the query, mapping each row to a result object via a RowMapper.<T> TJdbcOperations.query(String sql, ResultSetExtractor<T> rse, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet with a ResultSetExtractor.voidJdbcOperations.query(String sql, RowCallbackHandler rch, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet on a per-row basis with a RowCallbackHandler.<T> List<T>Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a result object via a RowMapper.<T> TJdbcTemplate.query(String sql, Object[] args, ResultSetExtractor<T> rse) Deprecated.voidJdbcTemplate.query(String sql, Object[] args, RowCallbackHandler rch) Deprecated.<T> List<T>Deprecated.<T> TJdbcTemplate.query(String sql, PreparedStatementSetter pss, ResultSetExtractor<T> rse) voidJdbcTemplate.query(String sql, PreparedStatementSetter pss, RowCallbackHandler rch) <T> List<T>JdbcTemplate.query(String sql, PreparedStatementSetter pss, RowMapper<T> rowMapper) <T> TJdbcTemplate.query(String sql, ResultSetExtractor<T> rse, Object... args) voidJdbcTemplate.query(String sql, RowCallbackHandler rch, Object... args) <T> List<T><T> TJdbcTemplate.query(PreparedStatementCreator psc, PreparedStatementSetter pss, ResultSetExtractor<T> rse) Query using a prepared statement, allowing for a PreparedStatementCreator and a PreparedStatementSetter.<T> List<T>JdbcOperations.queryForList(String sql, Class<T> elementType, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list.JdbcOperations.queryForList(String sql, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list.<T> List<T>JdbcOperations.queryForList(String sql, Object[] args, Class<T> elementType) Deprecated.as of 5.3, in favor ofJdbcOperations.queryForList(String, Class, Object...)<T> List<T>JdbcTemplate.queryForList(String sql, Class<T> elementType, Object... args) JdbcTemplate.queryForList(String sql, Object... args) <T> List<T>JdbcTemplate.queryForList(String sql, Object[] args, Class<T> elementType) Deprecated.JdbcOperations.queryForMap(String sql, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result map.JdbcTemplate.queryForMap(String sql, Object... args) <T> TJdbcOperations.queryForObject(String sql, Class<T> requiredType, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result object.<T> TJdbcOperations.queryForObject(String sql, Object[] args, Class<T> requiredType) Deprecated.as of 5.3, in favor ofJdbcOperations.queryForObject(String, Class, Object...)<T> TJdbcOperations.queryForObject(String sql, Object[] args, RowMapper<T> rowMapper) Deprecated.as of 5.3, in favor ofJdbcOperations.queryForObject(String, RowMapper, Object...)<T> TJdbcOperations.queryForObject(String sql, RowMapper<T> rowMapper, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a result object via a RowMapper.<T> TJdbcTemplate.queryForObject(String sql, Class<T> requiredType, Object... args) <T> TJdbcTemplate.queryForObject(String sql, Object[] args, Class<T> requiredType) Deprecated.<T> TJdbcTemplate.queryForObject(String sql, Object[] args, RowMapper<T> rowMapper) Deprecated.<T> TJdbcTemplate.queryForObject(String sql, RowMapper<T> rowMapper, Object... args) JdbcOperations.queryForRowSet(String sql, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting an SqlRowSet.JdbcTemplate.queryForRowSet(String sql, Object... args) <T> Stream<T>JdbcOperations.queryForStream(String sql, PreparedStatementSetter pss, RowMapper<T> rowMapper) Query given SQL to create a prepared statement from SQL and a PreparedStatementSetter implementation that knows how to bind values to the query, mapping each row to a result object via a RowMapper, and turning it into an iterable and closeable Stream.<T> Stream<T>JdbcOperations.queryForStream(String sql, RowMapper<T> rowMapper, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a result object via a RowMapper, and turning it into an iterable and closeable Stream.<T> Stream<T>JdbcTemplate.queryForStream(String sql, PreparedStatementSetter pss, RowMapper<T> rowMapper) <T> Stream<T>JdbcTemplate.queryForStream(String sql, RowMapper<T> rowMapper, Object... args) <T> Stream<T>JdbcTemplate.queryForStream(PreparedStatementCreator psc, PreparedStatementSetter pss, RowMapper<T> rowMapper) Query using a prepared statement, allowing for a PreparedStatementCreator and a PreparedStatementSetter.voidBeanPropertyRowMapper.setConversionService(ConversionService conversionService) Set aConversionServicefor binding JDBC values to bean properties, ornullfor none.voidSingleColumnRowMapper.setConversionService(ConversionService conversionService) Set aConversionServicefor converting a fetched value.static voidStatementCreatorUtils.setParameterValue(PreparedStatement ps, int paramIndex, int sqlType, Object inValue) Set the value for a parameter.static voidStatementCreatorUtils.setParameterValue(PreparedStatement ps, int paramIndex, int sqlType, String typeName, Object inValue) Set the value for a parameter.static voidStatementCreatorUtils.setParameterValue(PreparedStatement ps, int paramIndex, SqlParameter param, Object inValue) Set the value for a parameter.voidSqlTypeValue.setTypeValue(PreparedStatement ps, int paramIndex, int sqlType, String typeName) Set the type value on the given PreparedStatement.static List<SqlParameter>SqlParameter.sqlTypesToAnonymousParameterList(int... types) Convert a list of JDBC types, as defined injava.sql.Types, to a List of SqlParameter objects as used in this package.protected DataAccessExceptionJdbcTemplate.translateException(String task, String sql, SQLException ex) Translate the givenSQLExceptioninto a genericDataAccessException.intIssue a single SQL update operation (such as an insert, update or delete statement) via a prepared statement, binding the given arguments.intJdbcOperations.update(String sql, PreparedStatementSetter pss) Issue an update statement using a PreparedStatementSetter to set bind parameters, with given SQL.intintJdbcTemplate.update(String sql, PreparedStatementSetter pss) protected intJdbcTemplate.update(PreparedStatementCreator psc, PreparedStatementSetter pss) Constructor parameters in org.springframework.jdbc.core with annotations of type NullableModifierConstructorDescriptionCreate a newArgumentPreparedStatementSetterfor the given arguments.ArgumentTypePreparedStatementSetter(Object[] args, int[] argTypes) Create a newArgumentTypePreparedStatementSetterfor the given arguments and types.ArgumentTypePreparedStatementSetter(Object[] args, int[] argTypes) Create a newArgumentTypePreparedStatementSetterfor the given arguments and types.ResultSetSupportingSqlParameter(String name, int sqlType, String typeName) Create a new ResultSetSupportingSqlParameter.SqlOutParameter(String name, int sqlType, String typeName) Create a new SqlOutParameter.SqlOutParameter(String name, int sqlType, String typeName, SqlReturnType sqlReturnType) Create a new SqlOutParameter.SqlOutParameter(String name, int sqlType, String typeName, SqlReturnType sqlReturnType) Create a new SqlOutParameter.SqlParameter(int sqlType, String typeName) Create a new anonymous SqlParameter, supplying the SQL type.SqlParameter(String name, int sqlType, String typeName) Create a new SqlParameter, supplying name and SQL type.SqlParameterValue(int sqlType, int scale, Object value) Create a new SqlParameterValue, supplying the SQL type.SqlParameterValue(int sqlType, Object value) Create a new SqlParameterValue, supplying the SQL type.SqlParameterValue(int sqlType, String typeName, Object value) Create a new SqlParameterValue, supplying the SQL type.SqlParameterValue(int sqlType, String typeName, Object value) Create a new SqlParameterValue, supplying the SQL type.SqlParameterValue(SqlParameter declaredParam, Object value) Create a new SqlParameterValue based on the given SqlParameter declaration. -
Uses of Nullable in org.springframework.jdbc.core.metadata
Methods in org.springframework.jdbc.core.metadata with annotations of type NullableModifier and TypeMethodDescriptionCallMetaDataProvider.catalogNameToUse(String catalogName) Provide any modification of the catalog name passed in to match the meta-data currently used.GenericCallMetaDataProvider.catalogNameToUse(String catalogName) GenericTableMetaDataProvider.catalogNameToUse(String catalogName) TableMetaDataProvider.catalogNameToUse(String catalogName) Get the catalog name formatted based on meta-data information.CallMetaDataContext.getCatalogName()Get the name of the catalog.TableMetaDataContext.getCatalogName()Get the name of the catalog for this context.protected StringGenericTableMetaDataProvider.getDatabaseVersion()Provide access to the version info for subclasses.protected StringGenericTableMetaDataProvider.getDefaultSchema()Provide access to the default schema for subclasses.protected StringOracleTableMetaDataProvider.getDefaultSchema()CallParameterMetaData.getParameterName()Return the parameter name.CallMetaDataContext.getProcedureName()Get the name of the procedure.CallMetaDataContext.getScalarOutParameterName()Get the name of the single out parameter for this call.CallMetaDataContext.getSchemaName()Get the name of the schema.TableMetaDataContext.getSchemaName()Get the name of the schema for this context.GenericTableMetaDataProvider.getSimpleQueryForGetGeneratedKey(String tableName, String keyColumnName) TableMetaDataContext.getSimpleQueryForGetGeneratedKey(String tableName, String keyColumnName) Get the simple query to retrieve generated keys when the JDBC feature for retrieving generated keys is not supported.TableMetaDataProvider.getSimpleQueryForGetGeneratedKey(String tableName, String keyColumnName) Get the simple query to retrieve a generated key.TableMetaDataContext.getTableName()Get the name of the table for this context.CallParameterMetaData.getTypeName()Return the parameter type name.CallMetaDataProvider.getUserName()Get the name of the current user.CallMetaDataProvider.metaDataCatalogNameToUse(String catalogName) Provide any modification of the catalog name passed in to match the meta-data currently used.GenericCallMetaDataProvider.metaDataCatalogNameToUse(String catalogName) GenericTableMetaDataProvider.metaDataCatalogNameToUse(String catalogName) OracleCallMetaDataProvider.metaDataCatalogNameToUse(String catalogName) TableMetaDataProvider.metaDataCatalogNameToUse(String catalogName) Provide any modification of the catalog name passed in to match the meta-data currently used.CallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) Provide any modification of the schema name passed in to match the meta-data currently used.Db2CallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) DerbyCallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) GenericCallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) GenericTableMetaDataProvider.metaDataSchemaNameToUse(String schemaName) OracleCallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) PostgresCallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) TableMetaDataProvider.metaDataSchemaNameToUse(String schemaName) Provide any modification of the schema name passed in to match the meta-data currently used.CallMetaDataProvider.parameterNameToUse(String parameterName) Provide any modification of the column name passed in to match the meta-data currently used.GenericCallMetaDataProvider.parameterNameToUse(String parameterName) SqlServerCallMetaDataProvider.parameterNameToUse(String parameterName) SybaseCallMetaDataProvider.parameterNameToUse(String parameterName) CallMetaDataProvider.procedureNameToUse(String procedureName) Provide any modification of the procedure name passed in to match the meta-data currently used.GenericCallMetaDataProvider.procedureNameToUse(String procedureName) CallMetaDataProvider.schemaNameToUse(String schemaName) Provide any modification of the schema name passed in to match the meta-data currently used.GenericCallMetaDataProvider.schemaNameToUse(String schemaName) GenericTableMetaDataProvider.schemaNameToUse(String schemaName) TableMetaDataProvider.schemaNameToUse(String schemaName) Get the schema name formatted based on meta-data information.GenericTableMetaDataProvider.tableNameToUse(String tableName) TableMetaDataProvider.tableNameToUse(String tableName) Get the table name formatted based on meta-data information.Method parameters in org.springframework.jdbc.core.metadata with annotations of type NullableModifier and TypeMethodDescriptionCallMetaDataProvider.catalogNameToUse(String catalogName) Provide any modification of the catalog name passed in to match the meta-data currently used.GenericCallMetaDataProvider.catalogNameToUse(String catalogName) GenericTableMetaDataProvider.catalogNameToUse(String catalogName) TableMetaDataProvider.catalogNameToUse(String catalogName) Get the catalog name formatted based on meta-data information.voidCallMetaDataProvider.initializeWithProcedureColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String procedureName) Initialize the database specific management of procedure column meta-data.voidCallMetaDataProvider.initializeWithProcedureColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String procedureName) Initialize the database specific management of procedure column meta-data.voidCallMetaDataProvider.initializeWithProcedureColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String procedureName) Initialize the database specific management of procedure column meta-data.voidGenericCallMetaDataProvider.initializeWithProcedureColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String procedureName) voidGenericCallMetaDataProvider.initializeWithProcedureColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String procedureName) voidGenericCallMetaDataProvider.initializeWithProcedureColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String procedureName) voidGenericTableMetaDataProvider.initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName) voidGenericTableMetaDataProvider.initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName) voidGenericTableMetaDataProvider.initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName) voidOracleTableMetaDataProvider.initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName) voidOracleTableMetaDataProvider.initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName) voidOracleTableMetaDataProvider.initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName) voidTableMetaDataProvider.initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName) Initialize using provided database meta-data, table and column information.voidTableMetaDataProvider.initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName) Initialize using provided database meta-data, table and column information.voidTableMetaDataProvider.initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName) Initialize using provided database meta-data, table and column information.CallMetaDataProvider.metaDataCatalogNameToUse(String catalogName) Provide any modification of the catalog name passed in to match the meta-data currently used.GenericCallMetaDataProvider.metaDataCatalogNameToUse(String catalogName) GenericTableMetaDataProvider.metaDataCatalogNameToUse(String catalogName) OracleCallMetaDataProvider.metaDataCatalogNameToUse(String catalogName) TableMetaDataProvider.metaDataCatalogNameToUse(String catalogName) Provide any modification of the catalog name passed in to match the meta-data currently used.CallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) Provide any modification of the schema name passed in to match the meta-data currently used.Db2CallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) DerbyCallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) GenericCallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) GenericTableMetaDataProvider.metaDataSchemaNameToUse(String schemaName) OracleCallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) PostgresCallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) TableMetaDataProvider.metaDataSchemaNameToUse(String schemaName) Provide any modification of the schema name passed in to match the meta-data currently used.CallMetaDataProvider.parameterNameToUse(String parameterName) Provide any modification of the column name passed in to match the meta-data currently used.GenericCallMetaDataProvider.parameterNameToUse(String parameterName) SqlServerCallMetaDataProvider.parameterNameToUse(String parameterName) SybaseCallMetaDataProvider.parameterNameToUse(String parameterName) CallMetaDataProvider.procedureNameToUse(String procedureName) Provide any modification of the procedure name passed in to match the meta-data currently used.GenericCallMetaDataProvider.procedureNameToUse(String procedureName) CallMetaDataProvider.schemaNameToUse(String schemaName) Provide any modification of the schema name passed in to match the meta-data currently used.GenericCallMetaDataProvider.schemaNameToUse(String schemaName) GenericTableMetaDataProvider.schemaNameToUse(String schemaName) TableMetaDataProvider.schemaNameToUse(String schemaName) Get the schema name formatted based on meta-data information.voidCallMetaDataContext.setCatalogName(String catalogName) Specify the name of the catalog.voidTableMetaDataContext.setCatalogName(String catalogName) Set the name of the catalog for this context.voidCallMetaDataContext.setProcedureName(String procedureName) Specify the name of the procedure.voidCallMetaDataContext.setSchemaName(String schemaName) Specify the name of the schema.voidTableMetaDataContext.setSchemaName(String schemaName) Set the name of the schema for this context.voidTableMetaDataContext.setTableName(String tableName) Set the name of the table for this context.GenericTableMetaDataProvider.tableNameToUse(String tableName) TableMetaDataProvider.tableNameToUse(String tableName) Get the table name formatted based on meta-data information.Constructor parameters in org.springframework.jdbc.core.metadata with annotations of type NullableModifierConstructorDescriptionCallParameterMetaData(boolean function, String columnName, int columnType, int sqlType, String typeName, boolean nullable) Constructor taking all the properties including the function marker.CallParameterMetaData(boolean function, String columnName, int columnType, int sqlType, String typeName, boolean nullable) Constructor taking all the properties including the function marker. -
Uses of Nullable in org.springframework.jdbc.core.namedparam
Methods in org.springframework.jdbc.core.namedparam with annotations of type NullableModifier and TypeMethodDescription<T> TNamedParameterJdbcOperations.execute(String sql, Map<String, ?> paramMap, PreparedStatementCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.<T> TNamedParameterJdbcOperations.execute(String sql, SqlParameterSource paramSource, PreparedStatementCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.<T> TNamedParameterJdbcOperations.execute(String sql, PreparedStatementCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.<T> TNamedParameterJdbcTemplate.execute(String sql, Map<String, ?> paramMap, PreparedStatementCallback<T> action) <T> TNamedParameterJdbcTemplate.execute(String sql, SqlParameterSource paramSource, PreparedStatementCallback<T> action) <T> TNamedParameterJdbcTemplate.execute(String sql, PreparedStatementCallback<T> action) NamedParameterJdbcDaoSupport.getNamedParameterJdbcTemplate()Return a NamedParameterJdbcTemplate wrapping the configured JdbcTemplate.String[]EmptySqlParameterSource.getParameterNames()default String[]SqlParameterSource.getParameterNames()Enumerate all available parameter names if possible.static ObjectSqlParameterSourceUtils.getTypedValue(SqlParameterSource source, String parameterName) Create a wrapped value if parameter has type information, plain object if not.AbstractSqlParameterSource.getTypeName(String paramName) Return the type name for the given parameter, if registered.EmptySqlParameterSource.getTypeName(String paramName) default StringSqlParameterSource.getTypeName(String paramName) Determine the type name for the specified named parameter.Return the parameter value for the requested named parameter.<T> TNamedParameterJdbcOperations.query(String sql, Map<String, ?> paramMap, ResultSetExtractor<T> rse) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet with a ResultSetExtractor.<T> TNamedParameterJdbcOperations.query(String sql, SqlParameterSource paramSource, ResultSetExtractor<T> rse) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet with a ResultSetExtractor.<T> TNamedParameterJdbcOperations.query(String sql, ResultSetExtractor<T> rse) Query given SQL to create a prepared statement from SQL, reading the ResultSet with a ResultSetExtractor.<T> TNamedParameterJdbcTemplate.query(String sql, Map<String, ?> paramMap, ResultSetExtractor<T> rse) <T> TNamedParameterJdbcTemplate.query(String sql, SqlParameterSource paramSource, ResultSetExtractor<T> rse) <T> TNamedParameterJdbcTemplate.query(String sql, ResultSetExtractor<T> rse) <T> TNamedParameterJdbcOperations.queryForObject(String sql, Map<String, ?> paramMap, Class<T> requiredType) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result object.<T> TNamedParameterJdbcOperations.queryForObject(String sql, Map<String, ?> paramMap, RowMapper<T> rowMapper) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a Java object via a RowMapper.<T> TNamedParameterJdbcOperations.queryForObject(String sql, SqlParameterSource paramSource, Class<T> requiredType) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result object.<T> TNamedParameterJdbcOperations.queryForObject(String sql, SqlParameterSource paramSource, RowMapper<T> rowMapper) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a Java object via a RowMapper.<T> TNamedParameterJdbcTemplate.queryForObject(String sql, Map<String, ?> paramMap, Class<T> requiredType) <T> TNamedParameterJdbcTemplate.queryForObject(String sql, Map<String, ?> paramMap, RowMapper<T> rowMapper) <T> TNamedParameterJdbcTemplate.queryForObject(String sql, SqlParameterSource paramSource, Class<T> requiredType) <T> TNamedParameterJdbcTemplate.queryForObject(String sql, SqlParameterSource paramSource, RowMapper<T> rowMapper) Method parameters in org.springframework.jdbc.core.namedparam with annotations of type NullableModifier and TypeMethodDescriptionAdd a parameter to this parameter source.Add a parameter to this parameter source.Add a parameter to this parameter source.Add a Map of parameters to this parameter source.static Object[]NamedParameterUtils.buildValueArray(ParsedSql parsedSql, SqlParameterSource paramSource, List<SqlParameter> declaredParams) Convert a Map of named parameter values to a corresponding array.protected PreparedStatementCreatorNamedParameterJdbcTemplate.getPreparedStatementCreator(String sql, SqlParameterSource paramSource, Consumer<PreparedStatementCreatorFactory> customizer) Build aPreparedStatementCreatorbased on the given SQL and named parameters.static StringNamedParameterUtils.substituteNamedParameters(ParsedSql parsedSql, SqlParameterSource paramSource) Parse the SQL statement and locate any placeholders or named parameters.intNamedParameterJdbcTemplate.update(String sql, SqlParameterSource paramSource, KeyHolder generatedKeyHolder, String[] keyColumnNames) Constructor parameters in org.springframework.jdbc.core.namedparam with annotations of type NullableModifierConstructorDescriptionMapSqlParameterSource(String paramName, Object value) Create a new MapSqlParameterSource, with one value comprised of the supplied arguments.MapSqlParameterSource(Map<String, ?> values) Create a new MapSqlParameterSource based on a Map. -
Uses of Nullable in org.springframework.jdbc.core.simple
Methods in org.springframework.jdbc.core.simple with annotations of type NullableModifier and TypeMethodDescriptionAbstractJdbcCall.getCallString()Get the call string that should be used based on parameters and meta-data.AbstractJdbcCall.getCatalogName()Get the catalog name used.AbstractJdbcInsert.getCatalogName()Get the name of the catalog for this insert.AbstractJdbcCall.getProcedureName()Get the name of the stored procedure.protected StringAbstractJdbcCall.getScalarOutParameterName()Get the name of a single out parameter or return value.AbstractJdbcCall.getSchemaName()Get the schema name used.AbstractJdbcInsert.getSchemaName()Get the name of the schema for this insert.AbstractJdbcInsert.getTableName()Get the name of the table for this insert.Method parameters in org.springframework.jdbc.core.simple with annotations of type NullableModifier and TypeMethodDescriptionvoidAbstractJdbcCall.setCatalogName(String catalogName) Set the catalog name to use.voidAbstractJdbcInsert.setCatalogName(String catalogName) Set the name of the catalog for this insert.voidAbstractJdbcCall.setProcedureName(String procedureName) Set the name of the stored procedure.voidAbstractJdbcCall.setSchemaName(String schemaName) Set the schema name to use.voidAbstractJdbcInsert.setSchemaName(String schemaName) Set the name of the schema for this insert.voidAbstractJdbcInsert.setTableName(String tableName) Set the name of the table for this insert. -
Uses of Nullable in org.springframework.jdbc.core.support
Methods in org.springframework.jdbc.core.support with annotations of type NullableModifier and TypeMethodDescriptionfinal TAbstractLobStreamingResultSetExtractor.extractData(ResultSet rs) Delegates to handleNoRowFound, handleMultipleRowsFound and streamData, according to the ResultSet state.final DataSourceJdbcDaoSupport.getDataSource()Return the JDBC DataSource used by this DAO.final JdbcTemplateJdbcDaoSupport.getJdbcTemplate()Return the JdbcTemplate for this DAO, pre-initialized with the DataSource or set explicitly.Method parameters in org.springframework.jdbc.core.support with annotations of type NullableModifier and TypeMethodDescriptionprotected abstract ObjectAbstractSqlTypeValue.createTypeValue(Connection con, int sqlType, String typeName) Create the type value to be passed intoPreparedStatement.setObject.final voidJdbcDaoSupport.setJdbcTemplate(JdbcTemplate jdbcTemplate) Set the JdbcTemplate for this DAO explicitly, as an alternative to specifying a DataSource.final voidAbstractSqlTypeValue.setTypeValue(PreparedStatement ps, int paramIndex, int sqlType, String typeName) voidSqlLobValue.setTypeValue(PreparedStatement ps, int paramIndex, int sqlType, String typeName) Set the specified content via the LobCreator.Constructor parameters in org.springframework.jdbc.core.support with annotations of type NullableModifierConstructorDescriptionSqlLobValue(byte[] bytes) Create a new BLOB value with the given byte array, using a DefaultLobHandler.SqlLobValue(byte[] bytes, LobHandler lobHandler) Create a new BLOB value with the given byte array.SqlLobValue(String content) Create a new CLOB value with the given content string, using a DefaultLobHandler.SqlLobValue(String content, LobHandler lobHandler) Create a new CLOB value with the given content string. -
Uses of Nullable in org.springframework.jdbc.datasource
Methods in org.springframework.jdbc.datasource with annotations of type NullableModifier and TypeMethodDescriptionprotected BooleanLazyConnectionDataSourceProxy.defaultAutoCommit()Expose the default auto-commit value.protected IntegerLazyConnectionDataSourceProxy.defaultTransactionIsolation()Expose the default transaction isolation value.protected BooleanSingleConnectionDataSource.getAutoCommitValue()Return whether the returned Connection's "autoCommit" setting should be overridden.AbstractDriverBasedDataSource.getCatalog()Return the database catalog to be applied to each Connection, if any.ConnectionHolder.getConnectionHandle()Return the ConnectionHandle held by this ConnectionHolder.AbstractDriverBasedDataSource.getConnectionProperties()Return the connection properties to be passed to the Driver, if any.protected IntegerIsolationLevelDataSourceAdapter.getCurrentIsolationLevel()Determine the current isolation level: either the transaction's isolation level or a statically defined isolation level.protected BooleanIsolationLevelDataSourceAdapter.getCurrentReadOnlyFlag()Determine the current read-only flag: by default, the transaction's read-only hint.DataSourceTransactionManager.getDataSource()Return the JDBCDataSourcethat this instance manages transactions for.SimpleDriverDataSource.getDriver()Return the JDBC Driver instance to use.protected IntegerIsolationLevelDataSourceAdapter.getIsolationLevel()Return the statically specified isolation level, ornullif none.AbstractDriverBasedDataSource.getPassword()Return the JDBC password to use for connecting through the Driver.JdbcTransactionObjectSupport.getPreviousIsolationLevel()Return the retained previous isolation level, if any.AbstractDriverBasedDataSource.getSchema()Return the database schema to be applied to each Connection, if any.DelegatingDataSource.getTargetDataSource()Return the target DataSource that this DataSource should delegate to.AbstractDriverBasedDataSource.getUrl()Return the JDBC URL to use for connecting through the Driver.AbstractDriverBasedDataSource.getUsername()Return the JDBC username to use for connecting through the Driver.static IntegerDataSourceUtils.prepareConnectionForTransaction(Connection con, TransactionDefinition definition) Prepare the given Connection with the given transaction semantics.Method parameters in org.springframework.jdbc.datasource with annotations of type NullableModifier and TypeMethodDescriptionstatic voidDataSourceUtils.applyTimeout(Statement stmt, DataSource dataSource, int timeout) Apply the specified timeout - overridden by the current transaction timeout, if any - to the given JDBC Statement object.static voidDataSourceUtils.applyTransactionTimeout(Statement stmt, DataSource dataSource) Apply the current transaction timeout, if any, to the given JDBC Statement object.static voidDataSourceUtils.doCloseConnection(Connection con, DataSource dataSource) Close the Connection, unless aSmartDataSourcedoesn't want us to.protected ConnectionIsolationLevelDataSourceAdapter.doGetConnection(String username, String password) Applies the current isolation level value and read-only flag to the returned Connection.protected ConnectionIsolationLevelDataSourceAdapter.doGetConnection(String username, String password) Applies the current isolation level value and read-only flag to the returned Connection.protected ConnectionUserCredentialsDataSourceAdapter.doGetConnection(String username, String password) This implementation delegates to thegetConnection(username, password)method of the target DataSource, passing in the specified user credentials.protected ConnectionUserCredentialsDataSourceAdapter.doGetConnection(String username, String password) This implementation delegates to thegetConnection(username, password)method of the target DataSource, passing in the specified user credentials.static voidDataSourceUtils.doReleaseConnection(Connection con, DataSource dataSource) Actually close the given Connection, obtained from the given DataSource.static voidDataSourceUtils.doReleaseConnection(Connection con, DataSource dataSource) Actually close the given Connection, obtained from the given DataSource.protected voidprotected ConnectionAbstractDriverBasedDataSource.getConnectionFromDriver(String username, String password) Build properties for the Driver, including the given username and password (if any), and obtain a corresponding Connection.protected ConnectionAbstractDriverBasedDataSource.getConnectionFromDriver(String username, String password) Build properties for the Driver, including the given username and password (if any), and obtain a corresponding Connection.static booleanDataSourceUtils.isConnectionTransactional(Connection con, DataSource dataSource) Determine whether the given JDBC Connection is transactional, that is, bound to the current thread by Spring's transaction facilities.static IntegerDataSourceUtils.prepareConnectionForTransaction(Connection con, TransactionDefinition definition) Prepare the given Connection with the given transaction semantics.static voidDataSourceUtils.releaseConnection(Connection con, DataSource dataSource) Close the given Connection, obtained from the given DataSource, if it is not managed externally (that is, not bound to the thread).static voidDataSourceUtils.releaseConnection(Connection con, DataSource dataSource) Close the given Connection, obtained from the given DataSource, if it is not managed externally (that is, not bound to the thread).static voidDataSourceUtils.resetConnectionAfterTransaction(Connection con, Integer previousIsolationLevel) Deprecated.as of 5.1.11, in favor ofDataSourceUtils.resetConnectionAfterTransaction(Connection, Integer, boolean)static voidDataSourceUtils.resetConnectionAfterTransaction(Connection con, Integer previousIsolationLevel, boolean resetReadOnly) Reset the given Connection after a transaction, regarding read-only flag and isolation level.voidAbstractDriverBasedDataSource.setCatalog(String catalog) Specify a database catalog to be applied to each Connection.protected voidConnectionHolder.setConnection(Connection connection) Override the existing Connection handle with the given Connection.voidJdbcTransactionObjectSupport.setConnectionHolder(ConnectionHolder connectionHolder) Set the ConnectionHolder for this transaction object.voidAbstractDriverBasedDataSource.setConnectionProperties(Properties connectionProperties) Specify arbitrary connection properties as key/value pairs, to be passed to the Driver.voidDataSourceTransactionManager.setDataSource(DataSource dataSource) Set the JDBCDataSourcethat this instance should manage transactions for.voidSpecify the JDBC Driver instance to use.voidAbstractDriverBasedDataSource.setPassword(String password) Set the JDBC password to use for connecting through the Driver.voidJdbcTransactionObjectSupport.setPreviousIsolationLevel(Integer previousIsolationLevel) Set the previous isolation level to retain, if any.voidSpecify a database schema to be applied to each Connection.voidDelegatingDataSource.setTargetDataSource(DataSource targetDataSource) Set the target DataSource that this DataSource should delegate to.voidSet the JDBC URL to use for connecting through the Driver.voidAbstractDriverBasedDataSource.setUsername(String username) Set the JDBC username to use for connecting through the Driver. -
Uses of Nullable in org.springframework.jdbc.datasource.embedded
Methods in org.springframework.jdbc.datasource.embedded with annotations of type NullableModifier and TypeMethodDescriptionprotected final DataSourceEmbeddedDatabaseFactory.getDataSource()Hook that gets theDataSourcethat provides the connectivity to the embedded database.EmbeddedDatabaseFactoryBean.getObject() -
Uses of Nullable in org.springframework.jdbc.datasource.init
Method parameters in org.springframework.jdbc.datasource.init with annotations of type NullableModifier and TypeMethodDescriptionstatic voidScriptUtils.executeSqlScript(Connection connection, EncodedResource resource, boolean continueOnError, boolean ignoreFailedDrops, String[] commentPrefixes, String separator, String blockCommentStartDelimiter, String blockCommentEndDelimiter) Execute the given SQL script.static voidScriptUtils.executeSqlScript(Connection connection, EncodedResource resource, boolean continueOnError, boolean ignoreFailedDrops, String commentPrefix, String separator, String blockCommentStartDelimiter, String blockCommentEndDelimiter) Execute the given SQL script.static StringScriptUtils.readScript(LineNumberReader lineNumberReader, String[] commentPrefixes, String separator, String blockCommentEndDelimiter) Deprecated.as of Spring Framework 5.2.16 with no plans for replacement.static StringScriptUtils.readScript(LineNumberReader lineNumberReader, String[] commentPrefixes, String separator, String blockCommentEndDelimiter) Deprecated.as of Spring Framework 5.2.16 with no plans for replacement.static StringScriptUtils.readScript(LineNumberReader lineNumberReader, String[] commentPrefixes, String separator, String blockCommentEndDelimiter) Deprecated.as of Spring Framework 5.2.16 with no plans for replacement.static StringScriptUtils.readScript(LineNumberReader lineNumberReader, String commentPrefix, String separator, String blockCommentEndDelimiter) Deprecated.as of Spring Framework 5.2.16 with no plans for replacement.static StringScriptUtils.readScript(LineNumberReader lineNumberReader, String commentPrefix, String separator, String blockCommentEndDelimiter) Deprecated.as of Spring Framework 5.2.16 with no plans for replacement.static StringScriptUtils.readScript(LineNumberReader lineNumberReader, String commentPrefix, String separator, String blockCommentEndDelimiter) Deprecated.as of Spring Framework 5.2.16 with no plans for replacement.voidResourceDatabasePopulator.setSqlScriptEncoding(String sqlScriptEncoding) Specify the encoding for the configured SQL scripts, if different from the platform encoding.static voidScriptUtils.splitSqlScript(EncodedResource resource, String script, String separator, String[] commentPrefixes, String blockCommentStartDelimiter, String blockCommentEndDelimiter, List<String> statements) Deprecated.as of Spring Framework 5.2.16 with no plans for replacement.static voidScriptUtils.splitSqlScript(EncodedResource resource, String script, String separator, String commentPrefix, String blockCommentStartDelimiter, String blockCommentEndDelimiter, List<String> statements) Deprecated.as of Spring Framework 5.2.16 with no plans for replacement.Constructor parameters in org.springframework.jdbc.datasource.init with annotations of type NullableModifierConstructorDescriptionResourceDatabasePopulator(boolean continueOnError, boolean ignoreFailedDrops, String sqlScriptEncoding, Resource... scripts) Construct a newResourceDatabasePopulatorwith the supplied values.ScriptException(String message, Throwable cause) Create a newScriptException.ScriptParseException(String message, EncodedResource resource) Create a newScriptParseException.ScriptParseException(String message, EncodedResource resource, Throwable cause) Create a newScriptParseException.ScriptParseException(String message, EncodedResource resource, Throwable cause) Create a newScriptParseException. -
Uses of Nullable in org.springframework.jdbc.datasource.lookup
Methods in org.springframework.jdbc.datasource.lookup with annotations of type NullableModifier and TypeMethodDescriptionprotected abstract ObjectAbstractRoutingDataSource.determineCurrentLookupKey()Determine the current lookup key.protected ObjectIsolationLevelDataSourceRouter.determineCurrentLookupKey()AbstractRoutingDataSource.getResolvedDefaultDataSource()Return the resolved default target DataSource, if any.Method parameters in org.springframework.jdbc.datasource.lookup with annotations of type NullableModifier and TypeMethodDescriptionvoidAbstractRoutingDataSource.setDataSourceLookup(DataSourceLookup dataSourceLookup) Set the DataSourceLookup implementation to use for resolving data source name Strings in thetargetDataSourcesmap.voidMapDataSourceLookup.setDataSources(Map<String, DataSource> dataSources) -
Uses of Nullable in org.springframework.jdbc.object
Methods in org.springframework.jdbc.object with annotations of type NullableModifier and TypeMethodDescriptionSqlQuery.findObject(int p1) Convenient method to find a single object given a single int parameter.SqlQuery.findObject(int p1, int p2) Convenient method to find a single object given two int parameters.SqlQuery.findObject(int p1, int p2, Map<?, ?> context) Convenient method to find a single object given two int parameters and a context.SqlQuery.findObject(int p1, Map<?, ?> context) Convenient method to find a single object given a single int parameter and a context.SqlQuery.findObject(long p1) Convenient method to find a single object given a single long parameter.SqlQuery.findObject(long p1, Map<?, ?> context) Convenient method to find a single object given a single long parameter and a context.SqlQuery.findObject(Object... params) Convenient method to find a single object without context.SqlQuery.findObject(Object[] params, Map<?, ?> context) Generic object finder method, used by all otherfindObjectmethods.SqlQuery.findObject(String p1) Convenient method to find a single object given a single String parameter.SqlQuery.findObject(String p1, Map<?, ?> context) Convenient method to find a single object given a single String parameter and a context.SqlQuery.findObjectByNamedParam(Map<String, ?> paramMap) Convenient method to execute without context.SqlQuery.findObjectByNamedParam(Map<String, ?> paramMap, Map<?, ?> context) Generic object finder method for named parameters.SqlCall.getCallString()Get the call string.String[]RdbmsOperation.getGeneratedKeysColumnNames()Return the column names of the auto generated keys.RdbmsOperation.getSql()Subclasses can override this to supply dynamic SQL if they wish, but SQL is normally set by calling theRdbmsOperation.setSql(java.lang.String)method or in a subclass constructor.protected abstract TSubclasses must implement this method to convert each row of the ResultSet into an object of the result type.protected final TThis method is implemented to invoke the simpler mapRow template method, ignoring parameters.protected abstract TMappingSqlQueryWithParameters.mapRow(ResultSet rs, int rowNum, Object[] parameters, Map<?, ?> context) Subclasses must implement this method to convert each row of the ResultSet into an object of the result type.protected TThis implementation of this method extracts a single value from the single row returned by the function.SqlFunction.runGeneric()Convenient method to run the function without arguments, returning the value as an object.SqlFunction.runGeneric(int parameter) Convenient method to run the function with a single int argument.SqlFunction.runGeneric(Object[] parameters) Analogous to theSqlQuery.findObject(Object[])method.Method parameters in org.springframework.jdbc.object with annotations of type NullableModifier and TypeMethodDescriptionConvenient method to execute with two int parameters and context.Convenient method to execute with a single int parameter and context.Convenient method to execute with a single long parameter and context.Central execution method.Central execution method.Convenient method to execute with a single String parameter and context.SqlQuery.executeByNamedParam(Map<String, ?> paramMap, Map<?, ?> context) Central execution method.SqlQuery.findObject(int p1, int p2, Map<?, ?> context) Convenient method to find a single object given two int parameters and a context.SqlQuery.findObject(int p1, Map<?, ?> context) Convenient method to find a single object given a single int parameter and a context.SqlQuery.findObject(long p1, Map<?, ?> context) Convenient method to find a single object given a single long parameter and a context.SqlQuery.findObject(Object[] params, Map<?, ?> context) Generic object finder method, used by all otherfindObjectmethods.SqlQuery.findObject(Object[] params, Map<?, ?> context) Generic object finder method, used by all otherfindObjectmethods.SqlQuery.findObject(String p1, Map<?, ?> context) Convenient method to find a single object given a single String parameter and a context.SqlQuery.findObjectByNamedParam(Map<String, ?> paramMap, Map<?, ?> context) Generic object finder method for named parameters.protected final TThis method is implemented to invoke the simpler mapRow template method, ignoring parameters.protected final TThis method is implemented to invoke the simpler mapRow template method, ignoring parameters.protected abstract TMappingSqlQueryWithParameters.mapRow(ResultSet rs, int rowNum, Object[] parameters, Map<?, ?> context) Subclasses must implement this method to convert each row of the ResultSet into an object of the result type.protected abstract TMappingSqlQueryWithParameters.mapRow(ResultSet rs, int rowNum, Object[] parameters, Map<?, ?> context) Subclasses must implement this method to convert each row of the ResultSet into an object of the result type.protected CallableStatementCreatorSqlCall.newCallableStatementCreator(Map<String, ?> inParams) Return a CallableStatementCreator to perform an operation with these parameters.protected final PreparedStatementCreatorSqlOperation.newPreparedStatementCreator(Object[] params) Return a PreparedStatementCreator to perform an operation with the given parameters.protected final PreparedStatementCreatorSqlOperation.newPreparedStatementCreator(String sqlToUse, Object[] params) Return a PreparedStatementCreator to perform an operation with the given parameters.protected final PreparedStatementSetterSqlOperation.newPreparedStatementSetter(Object[] params) Return a PreparedStatementSetter to perform an operation with the given parameters.GenericSqlQuery.newRowMapper(Object[] parameters, Map<?, ?> context) GenericSqlQuery.newRowMapper(Object[] parameters, Map<?, ?> context) MappingSqlQueryWithParameters.newRowMapper(Object[] parameters, Map<?, ?> context) Implementation of protected abstract method.MappingSqlQueryWithParameters.newRowMapper(Object[] parameters, Map<?, ?> context) Implementation of protected abstract method.SqlQuery.newRowMapper(Object[] parameters, Map<?, ?> context) Subclasses must implement this method to extract an object per row, to be returned by theexecutemethod as an aggregatedList.SqlQuery.newRowMapper(Object[] parameters, Map<?, ?> context) Subclasses must implement this method to extract an object per row, to be returned by theexecutemethod as an aggregatedList.UpdatableSqlQuery.newRowMapper(Object[] parameters, Map<?, ?> context) Implementation of the superclass template method.UpdatableSqlQuery.newRowMapper(Object[] parameters, Map<?, ?> context) Implementation of the superclass template method.voidRdbmsOperation.setGeneratedKeysColumnNames(String... names) Set the column names of the auto-generated keys.voidSet the SQL executed by this operation.voidRdbmsOperation.setTypes(int[] types) Add anonymous parameters, specifying only their SQL types as defined in thejava.sql.Typesclass.protected abstract TSubclasses must implement this method to update each row of the ResultSet and optionally create object of the result type.protected voidRdbmsOperation.validateNamedParameters(Map<String, ?> parameters) Validate the named parameters passed to an execute method based on declared parameters.protected voidRdbmsOperation.validateParameters(Object[] parameters) Validate the parameters passed to an execute method based on declared parameters.Constructor parameters in org.springframework.jdbc.object with annotations of type NullableModifierConstructorDescriptionRowMapperImpl(Object[] parameters, Map<?, ?> context) Use an array results.RowMapperImpl(Object[] parameters, Map<?, ?> context) Use an array results.RowMapperImpl(Map<?, ?> context) -
Uses of Nullable in org.springframework.jdbc.support
Methods in org.springframework.jdbc.support with annotations of type NullableModifier and TypeMethodDescriptionstatic StringJdbcUtils.commonDatabaseName(String source) Extract a common name for the target database in use even if various drivers/platforms provide varying names at runtime.protected DataAccessExceptionSQLErrorCodeSQLExceptionTranslator.createCustomException(String task, String sql, SQLException sqlEx, Class<?> exceptionClass) Create a customDataAccessException, based on a given exception class from aCustomSQLErrorCodesTranslationdefinition.protected DataAccessExceptionSQLErrorCodeSQLExceptionTranslator.customTranslate(String task, String sql, SQLException sqlEx) Subclasses can override this method to attempt a custom mapping fromSQLExceptiontoDataAccessException.protected abstract DataAccessExceptionAbstractFallbackSQLExceptionTranslator.doTranslate(String task, String sql, SQLException ex) Template method for actually translating the given exception.protected DataAccessExceptionSQLErrorCodeSQLExceptionTranslator.doTranslate(String task, String sql, SQLException ex) protected DataAccessExceptionSQLExceptionSubclassTranslator.doTranslate(String task, String sql, SQLException ex) protected DataAccessExceptionSQLStateSQLExceptionTranslator.doTranslate(String task, String sql, SQLException ex) CustomSQLExceptionTranslatorRegistry.findTranslatorForDatabase(String dbName) Find a custom translator for the specified database.SQLErrorCodes.getCustomSqlExceptionTranslator()SQLErrorCodes.getCustomTranslations()SQLErrorCodes.getDatabaseProductName()String[]SQLErrorCodes.getDatabaseProductNames()JdbcAccessor.getDataSource()Return the DataSource used by this template.Class<?>CustomSQLErrorCodesTranslation.getExceptionClass()Return the exception class for the specified error codes.AbstractFallbackSQLExceptionTranslator.getFallbackTranslator()Return the fallback exception translator, if any.GeneratedKeyHolder.getKey()KeyHolder.getKey()Retrieve the first item from the first map, assuming that there is just one item and just one map, and that the item is a number.<T> T<T> TRetrieve the first item from the first map, assuming that there is just one item and just one map, and that the item is an instance of specified type.GeneratedKeyHolder.getKeys()KeyHolder.getKeys()Retrieve the first map of keys.static ObjectJdbcUtils.getResultSetValue(ResultSet rs, int index) Retrieve a JDBC column value from a ResultSet, using the most appropriate value type.static ObjectJdbcUtils.getResultSetValue(ResultSet rs, int index, Class<?> requiredType) Retrieve a JDBC column value from a ResultSet, using the specified value type.SQLErrorCodeSQLExceptionTranslator.getSqlErrorCodes()Return the error codes used by this translator.protected ResourceSQLErrorCodesFactory.loadResource(String path) Load the given resource from the class path.SQLErrorCodesFactory.resolveErrorCodes(DataSource dataSource) ReturnSQLErrorCodesfor the givenDataSource, evaluating "databaseProductName" from theDatabaseMetaData, ornullif case of a JDBC meta-data access problem.static StringJdbcUtils.resolveTypeName(int sqlType) Resolve the standard type name for the given SQL type, if possible.AbstractFallbackSQLExceptionTranslator.translate(String task, String sql, SQLException ex) Pre-checks the arguments, callsAbstractFallbackSQLExceptionTranslator.doTranslate(java.lang.String, java.lang.String, java.sql.SQLException), and invokes thefallback translatorif necessary.SQLExceptionTranslator.translate(String task, String sql, SQLException ex) Translate the givenSQLExceptioninto a genericDataAccessException.SQLErrorCodesFactory.unregisterDatabase(DataSource dataSource) Clear the cache for the specifiedDataSource, if registered.Method parameters in org.springframework.jdbc.support with annotations of type NullableModifier and TypeMethodDescriptionprotected StringAbstractFallbackSQLExceptionTranslator.buildMessage(String task, String sql, SQLException ex) Build a messageStringfor the givenSQLException.static voidJdbcUtils.closeConnection(Connection con) Close the given JDBC Connection and ignore any thrown exception.static voidJdbcUtils.closeResultSet(ResultSet rs) Close the given JDBC ResultSet and ignore any thrown exception.static voidJdbcUtils.closeStatement(Statement stmt) Close the given JDBC Statement and ignore any thrown exception.static StringJdbcUtils.commonDatabaseName(String source) Extract a common name for the target database in use even if various drivers/platforms provide varying names at runtime.static StringJdbcUtils.convertUnderscoreNameToPropertyName(String name) Convert a column name with underscores to the corresponding property name using "camel case".protected DataAccessExceptionSQLErrorCodeSQLExceptionTranslator.createCustomException(String task, String sql, SQLException sqlEx, Class<?> exceptionClass) Create a customDataAccessException, based on a given exception class from aCustomSQLErrorCodesTranslationdefinition.protected DataAccessExceptionSQLErrorCodeSQLExceptionTranslator.customTranslate(String task, String sql, SQLException sqlEx) Subclasses can override this method to attempt a custom mapping fromSQLExceptiontoDataAccessException.protected abstract DataAccessExceptionAbstractFallbackSQLExceptionTranslator.doTranslate(String task, String sql, SQLException ex) Template method for actually translating the given exception.protected DataAccessExceptionSQLErrorCodeSQLExceptionTranslator.doTranslate(String task, String sql, SQLException ex) protected DataAccessExceptionSQLExceptionSubclassTranslator.doTranslate(String task, String sql, SQLException ex) protected DataAccessExceptionSQLStateSQLExceptionTranslator.doTranslate(String task, String sql, SQLException ex) static ObjectJdbcUtils.getResultSetValue(ResultSet rs, int index, Class<?> requiredType) Retrieve a JDBC column value from a ResultSet, using the specified value type.voidSQLErrorCodes.setCustomSqlExceptionTranslator(SQLExceptionTranslator customSqlExceptionTranslator) voidSQLErrorCodes.setCustomSqlExceptionTranslatorClass(Class<? extends SQLExceptionTranslator> customTranslatorClass) voidSQLErrorCodes.setDatabaseProductName(String databaseProductName) Set this property if the database name contains spaces, in which case we can not use the bean name for lookup.voidSQLErrorCodes.setDatabaseProductNames(String... databaseProductNames) Set this property to specify multiple database names that contains spaces, in which case we can not use bean names for lookup.voidJdbcAccessor.setDataSource(DataSource dataSource) Set the JDBC DataSource to obtain connections from.voidCustomSQLErrorCodesTranslation.setExceptionClass(Class<?> exceptionClass) Set the exception class for the specified error codes.voidAbstractFallbackSQLExceptionTranslator.setFallbackTranslator(SQLExceptionTranslator fallback) Set the fallback translator to use when this translator cannot find a specific match itself.voidSQLErrorCodeSQLExceptionTranslator.setSqlErrorCodes(SQLErrorCodes sec) Set custom error codes to be used for translation.AbstractFallbackSQLExceptionTranslator.translate(String task, String sql, SQLException ex) Pre-checks the arguments, callsAbstractFallbackSQLExceptionTranslator.doTranslate(java.lang.String, java.lang.String, java.sql.SQLException), and invokes thefallback translatorif necessary.SQLExceptionTranslator.translate(String task, String sql, SQLException ex) Translate the givenSQLExceptioninto a genericDataAccessException. -
Uses of Nullable in org.springframework.jdbc.support.lob
Methods in org.springframework.jdbc.support.lob with annotations of type NullableModifier and TypeMethodDescriptionAbstractLobHandler.getBlobAsBinaryStream(ResultSet rs, String columnName) DefaultLobHandler.getBlobAsBinaryStream(ResultSet rs, int columnIndex) LobHandler.getBlobAsBinaryStream(ResultSet rs, int columnIndex) Retrieve the given column as binary stream from the given ResultSet.LobHandler.getBlobAsBinaryStream(ResultSet rs, String columnName) Retrieve the given column as binary stream from the given ResultSet.byte[]AbstractLobHandler.getBlobAsBytes(ResultSet rs, String columnName) byte[]DefaultLobHandler.getBlobAsBytes(ResultSet rs, int columnIndex) byte[]LobHandler.getBlobAsBytes(ResultSet rs, int columnIndex) Retrieve the given column as bytes from the given ResultSet.byte[]LobHandler.getBlobAsBytes(ResultSet rs, String columnName) Retrieve the given column as bytes from the given ResultSet.AbstractLobHandler.getClobAsAsciiStream(ResultSet rs, String columnName) LobHandler.getClobAsAsciiStream(ResultSet rs, int columnIndex) Retrieve the given column as ASCII stream from the given ResultSet.LobHandler.getClobAsAsciiStream(ResultSet rs, String columnName) Retrieve the given column as ASCII stream from the given ResultSet.AbstractLobHandler.getClobAsString(ResultSet rs, String columnName) DefaultLobHandler.getClobAsString(ResultSet rs, int columnIndex) LobHandler.getClobAsString(ResultSet rs, int columnIndex) Retrieve the given column as String from the given ResultSet.LobHandler.getClobAsString(ResultSet rs, String columnName) Retrieve the given column as String from the given ResultSet.Method parameters in org.springframework.jdbc.support.lob with annotations of type NullableModifier and TypeMethodDescriptionvoidDefaultLobHandler.DefaultLobCreator.setBlobAsBinaryStream(PreparedStatement ps, int paramIndex, InputStream binaryStream, int contentLength) voidLobCreator.setBlobAsBinaryStream(PreparedStatement ps, int paramIndex, InputStream contentStream, int contentLength) Set the given content as binary stream on the given statement, using the given parameter index.voidTemporaryLobCreator.setBlobAsBinaryStream(PreparedStatement ps, int paramIndex, InputStream binaryStream, int contentLength) voidDefaultLobHandler.DefaultLobCreator.setBlobAsBytes(PreparedStatement ps, int paramIndex, byte[] content) voidLobCreator.setBlobAsBytes(PreparedStatement ps, int paramIndex, byte[] content) Set the given content as bytes on the given statement, using the given parameter index.voidTemporaryLobCreator.setBlobAsBytes(PreparedStatement ps, int paramIndex, byte[] content) voidDefaultLobHandler.DefaultLobCreator.setClobAsAsciiStream(PreparedStatement ps, int paramIndex, InputStream asciiStream, int contentLength) voidLobCreator.setClobAsAsciiStream(PreparedStatement ps, int paramIndex, InputStream asciiStream, int contentLength) Set the given content as ASCII stream on the given statement, using the given parameter index.voidTemporaryLobCreator.setClobAsAsciiStream(PreparedStatement ps, int paramIndex, InputStream asciiStream, int contentLength) voidDefaultLobHandler.DefaultLobCreator.setClobAsCharacterStream(PreparedStatement ps, int paramIndex, Reader characterStream, int contentLength) voidLobCreator.setClobAsCharacterStream(PreparedStatement ps, int paramIndex, Reader characterStream, int contentLength) Set the given content as character stream on the given statement, using the given parameter index.voidTemporaryLobCreator.setClobAsCharacterStream(PreparedStatement ps, int paramIndex, Reader characterStream, int contentLength) voidDefaultLobHandler.DefaultLobCreator.setClobAsString(PreparedStatement ps, int paramIndex, String content) voidLobCreator.setClobAsString(PreparedStatement ps, int paramIndex, String content) Set the given content as String on the given statement, using the given parameter index.voidTemporaryLobCreator.setClobAsString(PreparedStatement ps, int paramIndex, String content) -
Uses of Nullable in org.springframework.jdbc.support.rowset
Methods in org.springframework.jdbc.support.rowset with annotations of type NullableModifier and TypeMethodDescriptionResultSetWrappingSqlRowSet.getBigDecimal(int columnIndex) ResultSetWrappingSqlRowSet.getBigDecimal(String columnLabel) SqlRowSet.getBigDecimal(int columnIndex) Retrieve the value of the indicated column in the current row as a BigDecimal object.SqlRowSet.getBigDecimal(String columnLabel) Retrieve the value of the indicated column in the current row as a BigDecimal object.ResultSetWrappingSqlRowSet.getDate(int columnIndex) SqlRowSet.getDate(int columnIndex) Retrieve the value of the indicated column in the current row as a Date object.Retrieve the value of the indicated column in the current row as a Date object.Retrieve the value of the indicated column in the current row as a Date object.Retrieve the value of the indicated column in the current row as a Date object.ResultSetWrappingSqlRowSet.getNString(int columnIndex) ResultSetWrappingSqlRowSet.getNString(String columnLabel) SqlRowSet.getNString(int columnIndex) Retrieve the value of the indicated column in the current row as a String (for NCHAR, NVARCHAR, LONGNVARCHAR columns).SqlRowSet.getNString(String columnLabel) Retrieve the value of the indicated column in the current row as a String (for NCHAR, NVARCHAR, LONGNVARCHAR columns).ResultSetWrappingSqlRowSet.getObject(int columnIndex) <T> T<T> TSqlRowSet.getObject(int columnIndex) Retrieve the value of the indicated column in the current row as an Object.<T> TRetrieve the value of the indicated column in the current row as an Object.Retrieve the value of the indicated column in the current row as an Object.Retrieve the value of the indicated column in the current row as an Object.<T> TRetrieve the value of the indicated column in the current row as an Object.Retrieve the value of the indicated column in the current row as an Object.ResultSetWrappingSqlRowSet.getString(int columnIndex) SqlRowSet.getString(int columnIndex) Retrieve the value of the indicated column in the current row as a String.Retrieve the value of the indicated column in the current row as a String.ResultSetWrappingSqlRowSet.getTime(int columnIndex) SqlRowSet.getTime(int columnIndex) Retrieve the value of the indicated column in the current row as a Time object.Retrieve the value of the indicated column in the current row as a Time object.Retrieve the value of the indicated column in the current row as a Time object.Retrieve the value of the indicated column in the current row as a Time object.ResultSetWrappingSqlRowSet.getTimestamp(int columnIndex) ResultSetWrappingSqlRowSet.getTimestamp(int columnIndex, Calendar cal) ResultSetWrappingSqlRowSet.getTimestamp(String columnLabel) ResultSetWrappingSqlRowSet.getTimestamp(String columnLabel, Calendar cal) SqlRowSet.getTimestamp(int columnIndex) Retrieve the value of the indicated column in the current row as a Timestamp object.SqlRowSet.getTimestamp(int columnIndex, Calendar cal) Retrieve the value of the indicated column in the current row as a Timestamp object.SqlRowSet.getTimestamp(String columnLabel) Retrieve the value of the indicated column in the current row as a Timestamp object.SqlRowSet.getTimestamp(String columnLabel, Calendar cal) Retrieve the value of the indicated column in the current row as a Timestamp object. -
Uses of Nullable in org.springframework.jdbc.support.xml
Methods in org.springframework.jdbc.support.xml with annotations of type NullableModifier and TypeMethodDescriptionJdbc4SqlXmlHandler.getXmlAsBinaryStream(ResultSet rs, int columnIndex) Jdbc4SqlXmlHandler.getXmlAsBinaryStream(ResultSet rs, String columnName) SqlXmlHandler.getXmlAsBinaryStream(ResultSet rs, int columnIndex) Retrieve the given column as binary stream from the given ResultSet.SqlXmlHandler.getXmlAsBinaryStream(ResultSet rs, String columnName) Retrieve the given column as binary stream from the given ResultSet.Jdbc4SqlXmlHandler.getXmlAsCharacterStream(ResultSet rs, int columnIndex) Jdbc4SqlXmlHandler.getXmlAsCharacterStream(ResultSet rs, String columnName) SqlXmlHandler.getXmlAsCharacterStream(ResultSet rs, int columnIndex) Retrieve the given column as character stream from the given ResultSet.SqlXmlHandler.getXmlAsCharacterStream(ResultSet rs, String columnName) Retrieve the given column as character stream from the given ResultSet.Jdbc4SqlXmlHandler.getXmlAsSource(ResultSet rs, int columnIndex, Class<? extends Source> sourceClass) Jdbc4SqlXmlHandler.getXmlAsSource(ResultSet rs, String columnName, Class<? extends Source> sourceClass) SqlXmlHandler.getXmlAsSource(ResultSet rs, int columnIndex, Class<? extends Source> sourceClass) Retrieve the given column as Source implemented using the specified source class from the given ResultSet.SqlXmlHandler.getXmlAsSource(ResultSet rs, String columnName, Class<? extends Source> sourceClass) Retrieve the given column as Source implemented using the specified source class from the given ResultSet.Jdbc4SqlXmlHandler.getXmlAsString(ResultSet rs, int columnIndex) Jdbc4SqlXmlHandler.getXmlAsString(ResultSet rs, String columnName) SqlXmlHandler.getXmlAsString(ResultSet rs, int columnIndex) Retrieve the given column as String from the given ResultSet.SqlXmlHandler.getXmlAsString(ResultSet rs, String columnName) Retrieve the given column as String from the given ResultSet.Method parameters in org.springframework.jdbc.support.xml with annotations of type NullableModifier and TypeMethodDescriptionJdbc4SqlXmlHandler.getXmlAsSource(ResultSet rs, int columnIndex, Class<? extends Source> sourceClass) Jdbc4SqlXmlHandler.getXmlAsSource(ResultSet rs, String columnName, Class<? extends Source> sourceClass) SqlXmlHandler.getXmlAsSource(ResultSet rs, int columnIndex, Class<? extends Source> sourceClass) Retrieve the given column as Source implemented using the specified source class from the given ResultSet.SqlXmlHandler.getXmlAsSource(ResultSet rs, String columnName, Class<? extends Source> sourceClass) Retrieve the given column as Source implemented using the specified source class from the given ResultSet. -
Uses of Nullable in org.springframework.jms
Methods in org.springframework.jms with annotations of type NullableModifier and TypeMethodDescriptionJmsException.getErrorCode()Convenience method to get the vendor specific error code if the root cause was an instance of JMSException.JmsException.getMessage()Return the detail message, including the message from the linked exception if there is one.Constructor parameters in org.springframework.jms with annotations of type NullableModifierConstructorDescriptionJmsException(String msg, Throwable cause) Constructor that takes a message and a root cause.JmsException(Throwable cause) Constructor that takes a plain root cause, intended for subclasses mirroring correspondingjakarta.jmsexceptions. -
Uses of Nullable in org.springframework.jms.config
Methods in org.springframework.jms.config with annotations of type NullableModifier and TypeMethodDescriptionMethodJmsListenerEndpoint.getBean()AbstractJmsListenerEndpoint.getConcurrency()Return the concurrency for the listener, if any.protected StringMethodJmsListenerEndpoint.getDefaultResponseDestination()Return the default response destination, if any.AbstractJmsListenerEndpoint.getDestination()Return the name of the destination for this endpoint.JmsListenerEndpointRegistrar.getEndpointRegistry()Return theJmsListenerEndpointRegistryinstance for this registrar, may benull.JmsListenerEndpointRegistry.getListenerContainer(String id) Return theMessageListenerContainerwith the specified id ornullif no such container exists.JmsListenerEndpointRegistrar.getMessageHandlerMethodFactory()Return the customMessageHandlerMethodFactoryto use, if any.SimpleJmsListenerEndpoint.getMessageListener()Return theMessageListenerto invoke when a message matching the endpoint is received.MethodJmsListenerEndpoint.getMethod()MethodJmsListenerEndpoint.getMostSpecificMethod()AbstractJmsListenerEndpoint.getSelector()Return the JMS message selector expression, if any.AbstractJmsListenerEndpoint.getSubscription()Return the name for the durable subscription, if any.Method parameters in org.springframework.jms.config with annotations of type NullableModifier and TypeMethodDescriptionvoidJmsListenerEndpointRegistrar.registerEndpoint(JmsListenerEndpoint endpoint, JmsListenerContainerFactory<?> factory) Register a newJmsListenerEndpointalongside theJmsListenerContainerFactoryto use to create the underlying container.voidDefaultJmsListenerContainerFactory.setBackOff(BackOff backOff) voidSet the actual bean instance to invoke this endpoint method on.voidMethodJmsListenerEndpoint.setBeanFactory(BeanFactory beanFactory) Set theBeanFactoryto use to resolve expressions (may benull).voidDefaultJmsListenerContainerFactory.setCacheLevel(Integer cacheLevel) voidDefaultJmsListenerContainerFactory.setCacheLevelName(String cacheLevelName) voidAbstractJmsListenerEndpoint.setConcurrency(String concurrency) Set a concurrency for the listener, if any.voidDefaultJmsListenerContainerFactory.setConcurrency(String concurrency) voidAbstractJmsListenerEndpoint.setDestination(String destination) Set the name of the destination for this endpoint.voidMethodJmsListenerEndpoint.setEmbeddedValueResolver(StringValueResolver embeddedValueResolver) Set a value resolver for embedded placeholders and expressions.voidJmsListenerEndpointRegistrar.setEndpointRegistry(JmsListenerEndpointRegistry endpointRegistry) Set theJmsListenerEndpointRegistryinstance to use.voidDefaultJmsListenerContainerFactory.setMaxMessagesPerTask(Integer maxMessagesPerTask) voidJmsListenerEndpointRegistrar.setMessageHandlerMethodFactory(MessageHandlerMethodFactory messageHandlerMethodFactory) Set theMessageHandlerMethodFactoryto use to configure the message listener responsible to serve an endpoint detected by this processor.voidSimpleJmsListenerEndpoint.setMessageListener(MessageListener messageListener) Set theMessageListenerto invoke when a message matching the endpoint is received.voidSet the method to invoke for processing a message managed by this endpoint.voidMethodJmsListenerEndpoint.setMostSpecificMethod(Method mostSpecificMethod) Set the most specific method known for this endpoint's declaration.voidDefaultJmsListenerContainerFactory.setReceiveTimeout(Long receiveTimeout) voidDefaultJmsListenerContainerFactory.setRecoveryInterval(Long recoveryInterval) voidAbstractJmsListenerEndpoint.setSelector(String selector) Set the JMS message selector expression.voidAbstractJmsListenerEndpoint.setSubscription(String subscription) Set the name for the durable subscription.voidDefaultJmsListenerContainerFactory.setTaskExecutor(Executor taskExecutor) voidDefaultJmsListenerContainerFactory.setTransactionManager(PlatformTransactionManager transactionManager) -
Uses of Nullable in org.springframework.jms.connection
Methods in org.springframework.jms.connection with annotations of type NullableModifier and TypeMethodDescriptionstatic SessionConnectionFactoryUtils.doGetTransactionalSession(ConnectionFactory connectionFactory, ConnectionFactoryUtils.ResourceFactory resourceFactory) Obtain a JMS Session that is synchronized with the current transaction, if any.static SessionConnectionFactoryUtils.doGetTransactionalSession(ConnectionFactory connectionFactory, ConnectionFactoryUtils.ResourceFactory resourceFactory, boolean startConnection) Obtain a JMS Session that is synchronized with the current transaction, if any.protected StringSingleConnectionFactory.getClientId()Return a JMS client ID for the single Connection created and exposed by this ConnectionFactory, if any.ConnectionFactoryUtils.ResourceFactory.getConnection(JmsResourceHolder holder) Fetch an appropriate Connection from the given JmsResourceHolder.JmsResourceHolder.getConnection()Return this resource holder's default Connection, ornullif none.<C extends Connection>
CJmsResourceHolder.getConnection(Class<C> connectionType) Return this resource holder's Connection of the given type, ornullif none.JmsTransactionManager.getConnectionFactory()Return the JMS ConnectionFactory that this instance should manage transactions for.protected ExceptionListenerSingleConnectionFactory.getExceptionListener()Return the JMS ExceptionListener implementation that should be registered with the single Connection created by this factory, if any.ConnectionFactoryUtils.ResourceFactory.getSession(JmsResourceHolder holder) Fetch an appropriate Session from the given JmsResourceHolder.JmsResourceHolder.getSession()Return this resource holder's default Session, ornullif none.<S extends Session>
SJmsResourceHolder.getSession(Class<S> sessionType) Return this resource holder's Session of the given type, ornullif none.<S extends Session>
SJmsResourceHolder.getSession(Class<S> sessionType, Connection connection) Return this resource holder's Session of the given type for the given connection, ornullif none.protected SessionSingleConnectionFactory.getSession(Connection con, Integer mode) Template method for obtaining a (potentially cached) Session.DelegatingConnectionFactory.getTargetConnectionFactory()Return the target ConnectionFactory that this ConnectionFactory delegates to.SingleConnectionFactory.getTargetConnectionFactory()Return the target ConnectionFactory which will be used to lazily create a single Connection, if any.static QueueSessionConnectionFactoryUtils.getTransactionalQueueSession(QueueConnectionFactory cf, QueueConnection existingCon, boolean synchedLocalTransactionAllowed) Obtain a JMS QueueSession that is synchronized with the current transaction, if any.static SessionConnectionFactoryUtils.getTransactionalSession(ConnectionFactory cf, Connection existingCon, boolean synchedLocalTransactionAllowed) Obtain a JMS Session that is synchronized with the current transaction, if any.static TopicSessionConnectionFactoryUtils.getTransactionalTopicSession(TopicConnectionFactory cf, TopicConnection existingCon, boolean synchedLocalTransactionAllowed) Obtain a JMS TopicSession that is synchronized with the current transaction, if any.Method parameters in org.springframework.jms.connection with annotations of type NullableModifier and TypeMethodDescriptionfinal voidJmsResourceHolder.addSession(Session session, Connection connection) Add the given Session to this resource holder, registered for a specific Connection.protected ConnectionUserCredentialsConnectionFactoryAdapter.doCreateConnection(String username, String password) This implementation delegates to thecreateConnection(username, password)method of the target ConnectionFactory, passing in the specified user credentials.protected ConnectionUserCredentialsConnectionFactoryAdapter.doCreateConnection(String username, String password) This implementation delegates to thecreateConnection(username, password)method of the target ConnectionFactory, passing in the specified user credentials.protected QueueConnectionUserCredentialsConnectionFactoryAdapter.doCreateQueueConnection(String username, String password) This implementation delegates to thecreateQueueConnection(username, password)method of the target QueueConnectionFactory, passing in the specified user credentials.protected QueueConnectionUserCredentialsConnectionFactoryAdapter.doCreateQueueConnection(String username, String password) This implementation delegates to thecreateQueueConnection(username, password)method of the target QueueConnectionFactory, passing in the specified user credentials.protected TopicConnectionUserCredentialsConnectionFactoryAdapter.doCreateTopicConnection(String username, String password) This implementation delegates to thecreateTopicConnection(username, password)method of the target TopicConnectionFactory, passing in the specified user credentials.protected TopicConnectionUserCredentialsConnectionFactoryAdapter.doCreateTopicConnection(String username, String password) This implementation delegates to thecreateTopicConnection(username, password)method of the target TopicConnectionFactory, passing in the specified user credentials.protected void<S extends Session>
SJmsResourceHolder.getSession(Class<S> sessionType, Connection connection) Return this resource holder's Session of the given type for the given connection, ornullif none.static QueueSessionConnectionFactoryUtils.getTransactionalQueueSession(QueueConnectionFactory cf, QueueConnection existingCon, boolean synchedLocalTransactionAllowed) Obtain a JMS QueueSession that is synchronized with the current transaction, if any.static SessionConnectionFactoryUtils.getTransactionalSession(ConnectionFactory cf, Connection existingCon, boolean synchedLocalTransactionAllowed) Obtain a JMS Session that is synchronized with the current transaction, if any.static TopicSessionConnectionFactoryUtils.getTransactionalTopicSession(TopicConnectionFactory cf, TopicConnection existingCon, boolean synchedLocalTransactionAllowed) Obtain a JMS TopicSession that is synchronized with the current transaction, if any.static booleanConnectionFactoryUtils.isSessionTransactional(Session session, ConnectionFactory cf) Determine whether the given JMS Session is transactional, that is, bound to the current thread by Spring's transaction facilities.static booleanConnectionFactoryUtils.isSessionTransactional(Session session, ConnectionFactory cf) Determine whether the given JMS Session is transactional, that is, bound to the current thread by Spring's transaction facilities.static voidConnectionFactoryUtils.releaseConnection(Connection con, ConnectionFactory cf, boolean started) Release the given Connection, stopping it (if necessary) and eventually closing it.static voidConnectionFactoryUtils.releaseConnection(Connection con, ConnectionFactory cf, boolean started) Release the given Connection, stopping it (if necessary) and eventually closing it.voidSingleConnectionFactory.setClientId(String clientId) Specify a JMS client ID for the single Connection created and exposed by this ConnectionFactory.voidJmsTransactionManager.setConnectionFactory(ConnectionFactory cf) Set the JMS ConnectionFactory that this instance should manage transactions for.voidSingleConnectionFactory.setExceptionListener(ExceptionListener exceptionListener) Specify an JMS ExceptionListener implementation that should be registered with the single Connection created by this factory.voidDelegatingConnectionFactory.setTargetConnectionFactory(ConnectionFactory targetConnectionFactory) Set the target ConnectionFactory that this ConnectionFactory should delegate to.voidSingleConnectionFactory.setTargetConnectionFactory(ConnectionFactory targetConnectionFactory) Set the target ConnectionFactory which will be used to lazily create a single Connection.Constructor parameters in org.springframework.jms.connection with annotations of type NullableModifierConstructorDescriptionJmsResourceHolder(ConnectionFactory connectionFactory) Create a new JmsResourceHolder that is open for resources to be added.JmsResourceHolder(ConnectionFactory connectionFactory, Connection connection, Session session) Create a new JmsResourceHolder for the given JMS resources. -
Uses of Nullable in org.springframework.jms.core
Methods in org.springframework.jms.core with annotations of type NullableModifier and TypeMethodDescription<T> TJmsOperations.browse(Queue queue, BrowserCallback<T> action) Browse messages in a JMS queue.<T> TJmsOperations.browse(String queueName, BrowserCallback<T> action) Browse messages in a JMS queue.<T> TJmsOperations.browse(BrowserCallback<T> action) Browse messages in the default JMS queue.<T> TJmsTemplate.browse(Queue queue, BrowserCallback<T> action) <T> TJmsTemplate.browse(String queueName, BrowserCallback<T> action) <T> TJmsTemplate.browse(BrowserCallback<T> action) <T> TJmsOperations.browseSelected(Queue queue, String messageSelector, BrowserCallback<T> action) Browse selected messages in a JMS queue.<T> TJmsOperations.browseSelected(String queueName, String messageSelector, BrowserCallback<T> action) Browse selected messages in a JMS queue.<T> TJmsOperations.browseSelected(String messageSelector, BrowserCallback<T> action) Browse selected messages in a JMS queue.<T> TJmsTemplate.browseSelected(Queue queue, String messageSelector, BrowserCallback<T> action) <T> TJmsTemplate.browseSelected(String queueName, String messageSelector, BrowserCallback<T> action) <T> TJmsTemplate.browseSelected(String messageSelector, BrowserCallback<T> action) protected Message<?>JmsMessagingTemplate.convertJmsMessage(Message message) <T> TJmsMessageOperations.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter, send it as aMessageto the given destination, receive the reply and convert its body of the specified target class.<T> TJmsMessageOperations.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, apply the given post processor and send the resultingMessageto the given destination, receive the reply and convert its body of the given target class.<T> TJmsMessageOperations.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter, send it as aMessagewith the given headers, to the specified destination, receive the reply and convert its body of the specified target class.<T> TJmsMessageOperations.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post processor and send the resultingMessageto the specified destination, receive the reply and convert its body of the given target class.<T> TJmsMessagingTemplate.convertSendAndReceive(Object request, Class<T> targetClass) <T> TJmsMessagingTemplate.convertSendAndReceive(Object request, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TJmsMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass) <T> TJmsMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) <T> TJmsMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) <T> TJmsMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) protected ObjectJmsTemplate.doConvertFromMessage(Message message) Extract the content from the given JMS message.BrowserCallback.doInJms(Session session, QueueBrowser browser) Perform operations on the givenSessionandQueueBrowser.ProducerCallback.doInJms(Session session, MessageProducer producer) Perform operations on the givenSessionandMessageProducer.Execute any number of operations against the supplied JMSSession, possibly returning a result.protected Message<?>JmsMessagingTemplate.doReceive(Destination destination) protected Message<?>protected MessageJmsTemplate.doReceive(Session session, Destination destination, String messageSelector) Receive a JMS message.protected MessageJmsTemplate.doReceive(Session session, MessageConsumer consumer) Actually receive a JMS message.protected Message<?>JmsMessagingTemplate.doSendAndReceive(Destination destination, Message<?> requestMessage) protected Message<?>JmsMessagingTemplate.doSendAndReceive(String destinationName, Message<?> requestMessage) protected MessageJmsTemplate.doSendAndReceive(Session session, Destination destination, MessageCreator messageCreator) Send a request message to the givenDestinationand block until a reply has been received on a temporary queue created on-the-fly.<T> TJmsOperations.execute(Destination destination, ProducerCallback<T> action) Send messages to a JMS destination.<T> TJmsOperations.execute(String destinationName, ProducerCallback<T> action) Send messages to a JMS destination.<T> TJmsOperations.execute(ProducerCallback<T> action) Send messages to the default JMS destination (or one specified for each send operation).<T> TJmsOperations.execute(SessionCallback<T> action) Execute the action specified by the given action object within a JMS Session.<T> TJmsTemplate.execute(Destination destination, ProducerCallback<T> action) <T> TJmsTemplate.execute(String destinationName, ProducerCallback<T> action) <T> TJmsTemplate.execute(ProducerCallback<T> action) <T> TJmsTemplate.execute(SessionCallback<T> action) <T> TJmsTemplate.execute(SessionCallback<T> action, boolean startConnection) Execute the action specified by the given action object within a JMS Session.protected ConnectionJmsTemplate.getConnection(JmsResourceHolder holder) Fetch an appropriate Connection from the given JmsResourceHolder.JmsMessagingTemplate.getConnectionFactory()Return the ConnectionFactory that the underlyingJmsTemplateuses.JmsTemplate.getDefaultDestination()Return the destination to be used on send/receive operations that do not have a destination parameter.JmsMessagingTemplate.getDefaultDestinationName()Return the configured default destination name.JmsTemplate.getDefaultDestinationName()Return the destination name to be used on send/receive operations that do not have a destination parameter.JmsMessagingTemplate.getJmsTemplate()Return the configuredJmsTemplate.JmsTemplate.getMessageConverter()Return the message converter for this template.protected SessionJmsTemplate.getSession(JmsResourceHolder holder) Fetch an appropriate Session from the given JmsResourceHolder.Message<?>Receive a message from the given destination.Message<?>JmsMessagingTemplate.receive()Message<?>JmsOperations.receive()Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.JmsOperations.receive(Destination destination) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsTemplate.receive()JmsTemplate.receive(Destination destination) <T> TJmsMessageOperations.receiveAndConvert(String destinationName, Class<T> targetClass) Receive a message from the given destination and convert its payload to the specified target class.<T> TJmsMessagingTemplate.receiveAndConvert(Class<T> targetClass) <T> TJmsMessagingTemplate.receiveAndConvert(String destinationName, Class<T> targetClass) JmsOperations.receiveAndConvert()Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.JmsOperations.receiveAndConvert(Destination destination) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsOperations.receiveAndConvert(String destinationName) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsTemplate.receiveAndConvert()JmsTemplate.receiveAndConvert(Destination destination) JmsTemplate.receiveAndConvert(String destinationName) JmsOperations.receiveSelected(Destination destination, String messageSelector) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsOperations.receiveSelected(String messageSelector) Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.JmsOperations.receiveSelected(String destinationName, String messageSelector) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsTemplate.receiveSelected(Destination destination, String messageSelector) JmsTemplate.receiveSelected(String messageSelector) JmsTemplate.receiveSelected(String destinationName, String messageSelector) JmsOperations.receiveSelectedAndConvert(Destination destination, String messageSelector) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsOperations.receiveSelectedAndConvert(String messageSelector) Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.JmsOperations.receiveSelectedAndConvert(String destinationName, String messageSelector) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsTemplate.receiveSelectedAndConvert(Destination destination, String messageSelector) JmsTemplate.receiveSelectedAndConvert(String messageSelector) JmsTemplate.receiveSelectedAndConvert(String destinationName, String messageSelector) Message<?>JmsMessageOperations.sendAndReceive(String destinationName, Message<?> requestMessage) Send a request message and receive the reply from the given destination.Message<?>JmsMessagingTemplate.sendAndReceive(String destinationName, Message<?> requestMessage) Message<?>JmsMessagingTemplate.sendAndReceive(Message<?> requestMessage) JmsOperations.sendAndReceive(Destination destination, MessageCreator messageCreator) Send a message and receive the reply from the specified destination.JmsOperations.sendAndReceive(String destinationName, MessageCreator messageCreator) Send a message and receive the reply from the specified destination.JmsOperations.sendAndReceive(MessageCreator messageCreator) Send a request message and receive the reply from a default destination.JmsTemplate.sendAndReceive(Destination destination, MessageCreator messageCreator) JmsTemplate.sendAndReceive(String destinationName, MessageCreator messageCreator) JmsTemplate.sendAndReceive(MessageCreator messageCreator) Method parameters in org.springframework.jms.core with annotations of type NullableModifier and TypeMethodDescription<T> TJmsTemplate.browseSelected(Queue queue, String messageSelector, BrowserCallback<T> action) <T> TJmsTemplate.browseSelected(String queueName, String messageSelector, BrowserCallback<T> action) voidJmsMessageOperations.convertAndSend(String destinationName, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post processor, and send the resulting message to the given destination.voidJmsMessageOperations.convertAndSend(String destinationName, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post processor, and send the resulting message to the given destination.voidJmsMessagingTemplate.convertAndSend(Object payload, MessagePostProcessor postProcessor) voidJmsMessagingTemplate.convertAndSend(String destinationName, Object payload, Map<String, Object> headers) voidJmsMessagingTemplate.convertAndSend(String destinationName, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) voidJmsMessagingTemplate.convertAndSend(String destinationName, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) voidJmsMessagingTemplate.convertAndSend(String destinationName, Object payload, MessagePostProcessor postProcessor) protected Message<?>JmsMessagingTemplate.convertJmsMessage(Message message) <T> TJmsMessageOperations.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter, send it as aMessagewith the given headers, to the specified destination, receive the reply and convert its body of the specified target class.<T> TJmsMessagingTemplate.convertSendAndReceive(Object request, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TJmsMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) <T> TJmsMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) <T> TJmsMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TJmsMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) protected QueueBrowserJmsTemplate.createBrowser(Session session, Queue queue, String messageSelector) Create a JMS MessageProducer for the given Session and Destination, configuring it to disable message ids and/or timestamps (if necessary).protected MessageConsumerJmsTemplate.createConsumer(Session session, Destination destination, String messageSelector) Create a JMS MessageConsumer for the given Session and Destination.protected MessageProducerJmsTemplate.createProducer(Session session, Destination destination) Create a JMS MessageProducer for the given Session and Destination, configuring it to disable message ids and/or timestamps (if necessary).protected ObjectJmsTemplate.doConvertFromMessage(Message message) Extract the content from the given JMS message.protected MessageProducerJmsTemplate.doCreateProducer(Session session, Destination destination) Create a raw JMS MessageProducer for the given Session and Destination.protected MessageJmsTemplate.doReceive(Session session, Destination destination, String messageSelector) Receive a JMS message.<T> TJmsTemplate.execute(Destination destination, ProducerCallback<T> action) JmsTemplate.receiveSelected(Destination destination, String messageSelector) JmsTemplate.receiveSelected(String destinationName, String messageSelector) voidJmsTemplate.setDefaultDestination(Destination destination) Set the destination to be used on send/receive operations that do not have a destination parameter.voidJmsMessagingTemplate.setDefaultDestinationName(String defaultDestinationName) Configure the default destination name to use in send methods that don't have a destination argument.voidJmsTemplate.setDefaultDestinationName(String destinationName) Set the destination name to be used on send/receive operations that do not have a destination parameter.voidJmsMessagingTemplate.setJmsTemplate(JmsTemplate jmsTemplate) Set theJmsTemplateto use.voidJmsTemplate.setMessageConverter(MessageConverter messageConverter) Set the message converter for this template. -
Uses of Nullable in org.springframework.jms.core.support
Methods in org.springframework.jms.core.support with annotations of type NullableModifier and TypeMethodDescriptionfinal ConnectionFactoryJmsGatewaySupport.getConnectionFactory()Return the JMS ConnectionFactory used by the gateway.final JmsTemplateJmsGatewaySupport.getJmsTemplate()Return the JmsTemplate for the gateway.Method parameters in org.springframework.jms.core.support with annotations of type NullableModifier and TypeMethodDescriptionfinal voidJmsGatewaySupport.setJmsTemplate(JmsTemplate jmsTemplate) Set the JmsTemplate for the gateway. -
Uses of Nullable in org.springframework.jms.listener
Methods in org.springframework.jms.listener with annotations of type NullableModifier and TypeMethodDescriptionprotected final StringAbstractJmsListeningContainer.getBeanName()Return the bean name that this listener container has been assigned in its containing bean factory, if any.AbstractJmsListeningContainer.getClientId()Return the JMS client ID for the shared Connection created and used by this container, if any.protected ConnectionAbstractPollingMessageListenerContainer.getConnection(JmsResourceHolder holder) Fetch an appropriate Connection from the given JmsResourceHolder.AbstractMessageListenerContainer.getDestination()Return the destination to receive messages from.AbstractMessageListenerContainer.getDestinationName()Return the name of the destination to receive messages from.MessageListenerContainer.getDestinationResolver()Return theDestinationResolverto use to resolve destinations by names.AbstractMessageListenerContainer.getDurableSubscriptionName()Return the name of a durable subscription to create, if any.AbstractMessageListenerContainer.getErrorHandler()Return theErrorHandlerto be invoked in case of any uncaught exceptions thrown while processing aMessage.AbstractMessageListenerContainer.getExceptionListener()Return the JMS ExceptionListener to notify in case of a JMSException thrown by the registered message listener or the invocation infrastructure, if any.AbstractMessageListenerContainer.getMessageConverter()MessageListenerContainer.getMessageConverter()Return theMessageConverterthat can be used to convertMessage, if any.AbstractMessageListenerContainer.getMessageListener()Return the message listener object to register.AbstractMessageListenerContainer.getMessageSelector()Return the JMS message selector expression (ornullif none).AbstractMessageListenerContainer.getReplyQosSettings()MessageListenerContainer.getReplyQosSettings()Return theQosSettingsto use when sending a reply, ornullif the broker's defaults should be used.protected SessionAbstractPollingMessageListenerContainer.getSession(JmsResourceHolder holder) Fetch an appropriate Session from the given JmsResourceHolder.AbstractMessageListenerContainer.getSubscriptionName()Return the name of a subscription to create, if any.protected final PlatformTransactionManagerAbstractPollingMessageListenerContainer.getTransactionManager()Return the Spring PlatformTransactionManager to use for transactional wrapping of message reception plus listener execution.protected MessageAbstractPollingMessageListenerContainer.receiveMessage(MessageConsumer consumer) Receive a message from the given consumer.Method parameters in org.springframework.jms.listener with annotations of type NullableModifier and TypeMethodDescriptionprotected voidAbstractMessageListenerContainer.checkMessageListener(Object messageListener) Check the given message listener, throwing an exception if it does not correspond to a supported listener type.protected voidAbstractMessageListenerContainer.commitIfNecessary(Session session, Message message) Perform a commit or message acknowledgement, as appropriate.protected booleanAbstractPollingMessageListenerContainer.doReceiveAndExecute(Object invoker, Session session, MessageConsumer consumer, TransactionStatus status) Actually execute the listener for a message received from the given consumer, fetching all requires resources and invoking the listener.protected booleanAbstractPollingMessageListenerContainer.doReceiveAndExecute(Object invoker, Session session, MessageConsumer consumer, TransactionStatus status) Actually execute the listener for a message received from the given consumer, fetching all requires resources and invoking the listener.protected booleanAbstractPollingMessageListenerContainer.doReceiveAndExecute(Object invoker, Session session, MessageConsumer consumer, TransactionStatus status) Actually execute the listener for a message received from the given consumer, fetching all requires resources and invoking the listener.protected booleanAbstractPollingMessageListenerContainer.receiveAndExecute(Object invoker, Session session, MessageConsumer consumer) Execute the listener for a message received from the given consumer, wrapping the entire operation in an external transaction if demanded.protected booleanAbstractPollingMessageListenerContainer.receiveAndExecute(Object invoker, Session session, MessageConsumer consumer) Execute the listener for a message received from the given consumer, wrapping the entire operation in an external transaction if demanded.voidAbstractJmsListeningContainer.setBeanName(String beanName) voidAbstractJmsListeningContainer.setClientId(String clientId) Specify the JMS client ID for a shared Connection created and used by this container.voidAbstractMessageListenerContainer.setDestination(Destination destination) Set the destination to receive messages from.voidAbstractMessageListenerContainer.setDestinationName(String destinationName) Set the name of the destination to receive messages from.voidAbstractMessageListenerContainer.setDurableSubscriptionName(String durableSubscriptionName) Set the name of a durable subscription to create.voidAbstractMessageListenerContainer.setErrorHandler(ErrorHandler errorHandler) Set theErrorHandlerto be invoked in case of any uncaught exceptions thrown while processing aMessage.voidAbstractMessageListenerContainer.setExceptionListener(ExceptionListener exceptionListener) Set the JMS ExceptionListener to notify in case of a JMSException thrown by the registered message listener or the invocation infrastructure.voidAbstractMessageListenerContainer.setMessageConverter(MessageConverter messageConverter) Set theMessageConverterstrategy for converting JMS Messages.voidAbstractMessageListenerContainer.setMessageListener(Object messageListener) Set the message listener implementation to register.voidAbstractMessageListenerContainer.setMessageSelector(String messageSelector) Set the JMS message selector expression (ornullif none).voidAbstractMessageListenerContainer.setReplyQosSettings(QosSettings replyQosSettings) Configure theQosSettingsto use when sending a reply.voidAbstractMessageListenerContainer.setSubscriptionName(String subscriptionName) Set the name of a subscription to create.voidAbstractPollingMessageListenerContainer.setTransactionManager(PlatformTransactionManager transactionManager) Specify the SpringPlatformTransactionManagerto use for transactional wrapping of message reception plus listener execution. -
Uses of Nullable in org.springframework.jms.listener.adapter
Methods in org.springframework.jms.listener.adapter with annotations of type NullableModifier and TypeMethodDescriptionprotected MessageConverterAbstractAdaptableMessageListener.getMessageConverter()Return the converter that will convert incoming JMS messages to listener method arguments, and objects returned from listener methods back to JMS messages.protected QosSettingsAbstractAdaptableMessageListener.getResponseQosSettings()Return theQosSettingsto use when sending a response, ornullif the defaults should be used.protected ObjectMessageListenerAdapter.invokeListenerMethod(String methodName, Object[] arguments) Invoke the specified listener method.protected DestinationAbstractAdaptableMessageListener.resolveDefaultResponseDestination(Session session) Resolve the default response destination into a JMSDestination, using this accessor'sDestinationResolverin case of a destination name.JmsResponse.resolveDestination(DestinationResolver destinationResolver, Session session) Resolve theDestinationto use for this instance.Method parameters in org.springframework.jms.listener.adapter with annotations of type NullableModifier and TypeMethodDescriptionprotected voidAbstractAdaptableMessageListener.handleResult(Object result, Message request, Session session) Handle the given result object returned from the listener method, sending a response message back.abstract voidvoidSpringSessionAwareMessageListenerentry point.voidvoidAbstractAdaptableMessageListener.setMessageConverter(MessageConverter messageConverter) Set the converter that will convert incoming JMS messages to listener method arguments, and objects returned from listener methods back to JMS messages.voidAbstractAdaptableMessageListener.setResponseQosSettings(QosSettings responseQosSettings) Set theQosSettingsto use when sending a response. -
Uses of Nullable in org.springframework.jms.listener.endpoint
Methods in org.springframework.jms.listener.endpoint with annotations of type NullableModifier and TypeMethodDescriptionprotected Class<?>StandardJmsActivationSpecFactory.determineActivationSpecClass(ResourceAdapter adapter) Determine the ActivationSpec class for the given ResourceAdapter, if possible.JmsMessageEndpointManager.getActivationSpecConfig()Return theJmsActivationSpecConfigobject that this endpoint manager should use for activating its listener.JmsActivationSpecConfig.getClientId()JmsActivationSpecConfig.getDestinationName()JmsMessageEndpointManager.getDestinationResolver()StandardJmsActivationSpecFactory.getDestinationResolver()Return theDestinationResolverto use for resolving destinations names.JmsActivationSpecConfig.getDurableSubscriptionName()JmsActivationSpecConfig.getMessageConverter()Return theMessageConverterto use, if any.JmsMessageEndpointManager.getMessageConverter()JmsActivationSpecConfig.getMessageSelector()JmsActivationSpecConfig.getReplyQosSettings()JmsMessageEndpointManager.getReplyQosSettings()JmsActivationSpecConfig.getSubscriptionName()Method parameters in org.springframework.jms.listener.endpoint with annotations of type NullableModifier and TypeMethodDescriptionvoidJmsMessageEndpointManager.setActivationSpecConfig(JmsActivationSpecConfig activationSpecConfig) Specify theJmsActivationSpecConfigobject that this endpoint manager should use for activating its listener.voidJmsMessageEndpointManager.setActivationSpecFactory(JmsActivationSpecFactory activationSpecFactory) Set the factory for concrete JCA 1.5 ActivationSpec objects, creating JCA ActivationSpecs based onJmsActivationSpecConfigobjects.voidJmsActivationSpecConfig.setClientId(String clientId) voidJmsActivationSpecConfig.setDestinationName(String destinationName) voidStandardJmsActivationSpecFactory.setDestinationResolver(DestinationResolver destinationResolver) Set the DestinationResolver to use for resolving destination names into the JCA 1.5 ActivationSpec "destination" property.voidJmsActivationSpecConfig.setDurableSubscriptionName(String durableSubscriptionName) voidJmsActivationSpecConfig.setMessageConverter(MessageConverter messageConverter) Set theMessageConverterstrategy for converting JMS Messages.voidJmsActivationSpecConfig.setMessageSelector(String messageSelector) voidJmsActivationSpecConfig.setReplyQosSettings(QosSettings replyQosSettings) voidJmsActivationSpecConfig.setSubscriptionName(String subscriptionName) -
Uses of Nullable in org.springframework.jms.support
Methods in org.springframework.jms.support with annotations of type NullableModifier and TypeMethodDescriptionJmsAccessor.getConnectionFactory()Return the ConnectionFactory that this accessor uses for obtaining JMSConnections.JmsMessageHeaderAccessor.getCorrelationId()Return thecorrelationId.JmsMessageHeaderAccessor.getDeliveryMode()Return thedelivery mode.JmsMessageHeaderAccessor.getDestination()Return thedestination.JmsMessageHeaderAccessor.getExpiration()Return the messageexpiration.JmsMessageHeaderAccessor.getMessageId()Return themessage id.JmsMessageHeaderAccessor.getPriority()Return thepriority.JmsMessageHeaderAccessor.getRedelivered()Return theredeliveredflag.JmsMessageHeaderAccessor.getReplyTo()Return thereply to.JmsMessageHeaderAccessor.getTimestamp()Return thetimestamp.JmsMessageHeaderAccessor.getType()Return thetype.Method parameters in org.springframework.jms.support with annotations of type NullableModifier and TypeMethodDescriptionstatic voidJmsUtils.closeConnection(Connection con) Close the given JMS Connection and ignore any thrown exception.static voidJmsUtils.closeConnection(Connection con, boolean stop) Close the given JMS Connection and ignore any thrown exception.static voidJmsUtils.closeMessageConsumer(MessageConsumer consumer) Close the given JMS MessageConsumer and ignore any thrown exception.static voidJmsUtils.closeMessageProducer(MessageProducer producer) Close the given JMS MessageProducer and ignore any thrown exception.static voidJmsUtils.closeQueueBrowser(QueueBrowser browser) Close the given JMS QueueBrowser and ignore any thrown exception.static voidJmsUtils.closeQueueRequestor(QueueRequestor requestor) Close the given JMS QueueRequestor and ignore any thrown exception.static voidJmsUtils.closeSession(Session session) Close the given JMS Session and ignore any thrown exception.booleanvoidJmsAccessor.setConnectionFactory(ConnectionFactory connectionFactory) Set the ConnectionFactory to use for obtaining JMSConnections. -
Uses of Nullable in org.springframework.jms.support.converter
Methods in org.springframework.jms.support.converter with annotations of type NullableModifier and TypeMethodDescriptionprotected Class<?>MappingJackson2MessageConverter.getSerializationView(Object conversionHint) Determine a Jackson serialization view based on the given conversion hint.Method parameters in org.springframework.jms.support.converter with annotations of type NullableModifier and TypeMethodDescriptionprotected MessageMessagingMessageConverter.createMessageForPayload(Object payload, Session session, Object conversionHint) Create a JMS message for the specified payload and conversionHint.protected Class<?>MappingJackson2MessageConverter.getSerializationView(Object conversionHint) Determine a Jackson serialization view based on the given conversion hint.Convert a Java object to a JMS Message using the specified json view and the supplied session to create the message object.A variant ofMessageConverter.toMessage(Object, Session)which takes an extra conversion context as an argument, allowing to take e.g.Constructor parameters in org.springframework.jms.support.converter with annotations of type NullableModifierConstructorDescriptionMessageConversionException(String msg, Throwable cause) Create a new MessageConversionException. -
Uses of Nullable in org.springframework.jms.support.destination
Methods in org.springframework.jms.support.destination with annotations of type NullableModifier and TypeMethodDescriptionprotected MessageJmsDestinationAccessor.receiveFromConsumer(MessageConsumer consumer, long timeout) Actually receive a message from the given consumer.Method parameters in org.springframework.jms.support.destination with annotations of type NullableModifier and TypeMethodDescriptionBeanFactoryDestinationResolver.resolveDestinationName(Session session, String destinationName, boolean pubSubDomain) DestinationResolver.resolveDestinationName(Session session, String destinationName, boolean pubSubDomain) Resolve the given destination name, either as located resource or as dynamic destination.DynamicDestinationResolver.resolveDestinationName(Session session, String destinationName, boolean pubSubDomain) Resolve the specified destination name as a dynamic destination.JndiDestinationResolver.resolveDestinationName(Session session, String destinationName, boolean pubSubDomain) Constructor parameters in org.springframework.jms.support.destination with annotations of type NullableModifierConstructorDescriptionDestinationResolutionException(String msg, Throwable cause) Create a new DestinationResolutionException. -
Uses of Nullable in org.springframework.jmx.access
Methods in org.springframework.jmx.access with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectMBeanClientInterceptor.convertResultValueIfNecessary(Object result, MethodParameter parameter) Convert the given result object (from attribute access or operation invocation) to the specified target class for returning from the proxy method.protected ObjectMBeanClientInterceptor.doInvoke(MethodInvocation invocation) Route the invocation to the configured managed resource.MBeanClientInterceptor.getEnvironment()AllowMapaccess to the environment to be set for the connector, with the option to add or override specific entries.NotificationListenerRegistrar.getEnvironment()AllowMapaccess to the environment to be set for the connector, with the option to add or override specific entries.protected final Class<?>MBeanClientInterceptor.getManagementInterface()Return the management interface of the target MBean, ornullif none specified.MBeanProxyFactoryBean.getObject()protected ObjectMBeanClientInterceptor.handleConnectFailure(MethodInvocation invocation, Exception ex) Refresh the connection and retry the MBean invocation if possible.MBeanClientInterceptor.invoke(MethodInvocation invocation) Route the invocation to the configured managed resource..Method parameters in org.springframework.jmx.access with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectMBeanClientInterceptor.convertResultValueIfNecessary(Object result, MethodParameter parameter) Convert the given result object (from attribute access or operation invocation) to the specified target class for returning from the proxy method.voidMBeanClientInterceptor.setEnvironment(Map<String, ?> environment) Specify the environment for the JMX connector.voidNotificationListenerRegistrar.setEnvironment(Map<String, ?> environment) Specify the environment for the JMX connector.voidMBeanClientInterceptor.setManagementInterface(Class<?> managementInterface) Set the management interface of the target MBean, exposing bean property setters and getters for MBean attributes and conventional Java methods for MBean operations. -
Uses of Nullable in org.springframework.jmx.export
Methods in org.springframework.jmx.export with annotations of type NullableModifier and TypeMethodDescriptionprotected DynamicMBeanMBeanExporter.adaptMBeanIfPossible(Object bean) Build an adapted MBean for the given bean instance, if possible.Method parameters in org.springframework.jmx.export with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectNameMBeanExporter.getObjectName(Object bean, String beanKey) Retrieve theObjectNamefor a bean.protected booleanDetermine whether the given bean class qualifies as an MBean as-is. -
Uses of Nullable in org.springframework.jmx.export.annotation
Methods in org.springframework.jmx.export.annotation with annotations of type NullableModifier and TypeMethodDescriptionAnnotationJmxAttributeSource.getManagedAttribute(Method method) AnnotationJmxAttributeSource.getManagedMetric(Method method) AnnotationJmxAttributeSource.getManagedOperation(Method method) AnnotationJmxAttributeSource.getManagedResource(Class<?> beanClass) -
Uses of Nullable in org.springframework.jmx.export.assembler
Methods in org.springframework.jmx.export.assembler with annotations of type NullableModifier and TypeMethodDescriptionprotected IntegerAbstractReflectiveMBeanInfoAssembler.getDefaultCurrencyTimeLimit()Return default value for the JMX field "currencyTimeLimit", if any.protected ParameterNameDiscovererAbstractReflectiveMBeanInfoAssembler.getParameterNameDiscoverer()Return the ParameterNameDiscoverer to use for resolving method parameter names if needed (may benullin order to skip parameter detection).Method parameters in org.springframework.jmx.export.assembler with annotations of type NullableModifier and TypeMethodDescriptionprotected voidAbstractReflectiveMBeanInfoAssembler.populateAttributeDescriptor(Descriptor desc, Method getter, Method setter, String beanKey) Allows subclasses to add extra fields to theDescriptorfor a particular attribute.protected voidAbstractReflectiveMBeanInfoAssembler.populateAttributeDescriptor(Descriptor desc, Method getter, Method setter, String beanKey) Allows subclasses to add extra fields to theDescriptorfor a particular attribute.protected voidMetadataMBeanInfoAssembler.populateAttributeDescriptor(Descriptor desc, Method getter, Method setter, String beanKey) Adds descriptor fields from theManagedAttributeattribute or theManagedMetricattribute to the attribute descriptor.protected voidMetadataMBeanInfoAssembler.populateAttributeDescriptor(Descriptor desc, Method getter, Method setter, String beanKey) Adds descriptor fields from theManagedAttributeattribute or theManagedMetricattribute to the attribute descriptor.voidInterfaceBasedMBeanInfoAssembler.setBeanClassLoader(ClassLoader beanClassLoader) voidAbstractReflectiveMBeanInfoAssembler.setDefaultCurrencyTimeLimit(Integer defaultCurrencyTimeLimit) Set the default for the JMX field "currencyTimeLimit".voidInterfaceBasedMBeanInfoAssembler.setInterfaceMappings(Properties mappings) Set the mappings of bean keys to a comma-separated list of interface names.voidInterfaceBasedMBeanInfoAssembler.setManagedInterfaces(Class<?>... managedInterfaces) Set the array of interfaces to use for creating the management info.voidAbstractReflectiveMBeanInfoAssembler.setParameterNameDiscoverer(ParameterNameDiscoverer parameterNameDiscoverer) Set the ParameterNameDiscoverer to use for resolving method parameter names if needed (e.g. -
Uses of Nullable in org.springframework.jmx.export.metadata
Methods in org.springframework.jmx.export.metadata with annotations of type NullableModifier and TypeMethodDescriptionManagedMetric.getCategory()The category of this metric (ex.ManagedAttribute.getDefaultValue()Return the default value of this attribute.ManagedNotification.getDescription()Return a description for this notification.ManagedMetric.getDisplayName()A display name for this metric.ManagedResource.getLogFile()JmxAttributeSource.getManagedAttribute(Method method) Implementations should return an instance ofManagedAttributeif the suppliedMethodhas the corresponding metadata.JmxAttributeSource.getManagedMetric(Method method) Implementations should return an instance ofManagedMetricif the suppliedMethodhas the corresponding metadata.JmxAttributeSource.getManagedOperation(Method method) Implementations should return an instance ofManagedOperationif the suppliedMethodhas the corresponding metadata.JmxAttributeSource.getManagedResource(Class<?> clazz) Implementations should return an instance ofManagedResourceif the suppliedClasshas the appropriate metadata.ManagedNotification.getName()Return the name of this notification.String[]ManagedNotification.getNotificationTypes()Return the list of notification types.ManagedResource.getObjectName()Return the JMX ObjectName of this managed resource.ManagedResource.getPersistLocation()ManagedResource.getPersistName()ManagedAttribute.getPersistPolicy()ManagedMetric.getPersistPolicy()The persist policy for this metric.ManagedResource.getPersistPolicy()ManagedMetric.getUnit()The expected unit of measurement values.Method parameters in org.springframework.jmx.export.metadata with annotations of type NullableModifier and TypeMethodDescriptionvoidManagedMetric.setCategory(String category) The category of this metric (ex.voidManagedAttribute.setDefaultValue(Object defaultValue) Set the default value of this attribute.voidManagedNotification.setDescription(String description) Set a description for this notification.voidManagedMetric.setDisplayName(String displayName) A display name for this metric.voidManagedResource.setLogFile(String logFile) voidSet the name of this notification.voidManagedNotification.setNotificationTypes(String... notificationTypes) Set a list of notification types.voidManagedResource.setObjectName(String objectName) Set the JMX ObjectName of this managed resource.voidManagedResource.setPersistLocation(String persistLocation) voidManagedResource.setPersistName(String persistName) voidManagedAttribute.setPersistPolicy(String persistPolicy) voidManagedMetric.setPersistPolicy(String persistPolicy) The persist policy for this metric.voidManagedResource.setPersistPolicy(String persistPolicy) voidThe expected unit of measurement values. -
Uses of Nullable in org.springframework.jmx.export.naming
Method parameters in org.springframework.jmx.export.naming with annotations of type NullableModifier and TypeMethodDescriptionIdentityNamingStrategy.getObjectName(Object managedBean, String beanKey) Returns an instance ofObjectNamebased on the identity of the managed resource.KeyNamingStrategy.getObjectName(Object managedBean, String beanKey) Attempts to retrieve theObjectNamevia the given key, trying to find a mapped value in the mappings first.MetadataNamingStrategy.getObjectName(Object managedBean, String beanKey) Reads theObjectNamefrom the source-level metadata associated with the managed resource'sClass.ObjectNamingStrategy.getObjectName(Object managedBean, String beanKey) Obtain anObjectNamefor the supplied bean. -
Uses of Nullable in org.springframework.jmx.support
Fields in org.springframework.jmx.support with annotations of type NullableModifier and TypeFieldDescriptionNotificationListenerHolder.mappedObjectNamesprotected MBeanServerMBeanRegistrationSupport.serverTheMBeanServerinstance being used to register beans.Methods in org.springframework.jmx.support with annotations of type NullableModifier and TypeMethodDescriptionNotificationListenerHolder.getHandback()Return the (arbitrary) object that will be 'handed back' as-is by anNotificationBroadcasterwhen notifying anyNotificationListener.static Class<?>JmxUtils.getMBeanInterface(Class<?> clazz) Return the Standard MBean interface for the given class, if any (that is, an interface whose name matches the class name of the given class but with suffix "MBean").static Class<?>JmxUtils.getMXBeanInterface(Class<?> clazz) Return the Java MXBean interface for the given class, if any (that is, an interface whose name ends with "MXBean" and/or carries an appropriate MXBean annotation).NotificationListenerHolder.getNotificationFilter()Return theNotificationFilterassociated with the encapsulatedNotificationListener.NotificationListenerHolder.getNotificationListener()Get theNotificationListener.ConnectorServerFactoryBean.getObject()MBeanServerConnectionFactoryBean.getObject()MBeanServerFactoryBean.getObject()NotificationListenerHolder.getResolvedObjectNames()Return the list ofObjectNameString representations for which the encapsulatedNotificationFilterwill be registered as a listener forNotifications.final MBeanServerMBeanRegistrationSupport.getServer()Return theMBeanServerthat the beans will be registered with.static Class<?>[]JmxUtils.parameterInfoToTypes(MBeanParameterInfo[] paramInfo) Convert an array ofMBeanParameterInfointo an array ofClassinstances corresponding to the parameters.static Class<?>[]JmxUtils.parameterInfoToTypes(MBeanParameterInfo[] paramInfo, ClassLoader classLoader) Convert an array ofMBeanParameterInfointo an array ofClassinstances corresponding to the parameters.Method parameters in org.springframework.jmx.support with annotations of type NullableModifier and TypeMethodDescriptionprotected MBeanServerMBeanServerFactoryBean.createMBeanServer(String defaultDomain, boolean registerWithFactory) Create a newMBeanServerinstance and register it with theMBeanServerFactory, if desired.booleanstatic Class<?>JmxUtils.getMBeanInterface(Class<?> clazz) Return the Standard MBean interface for the given class, if any (that is, an interface whose name matches the class name of the given class but with suffix "MBean").static Class<?>JmxUtils.getMXBeanInterface(Class<?> clazz) Return the Java MXBean interface for the given class, if any (that is, an interface whose name ends with "MXBean" and/or carries an appropriate MXBean annotation).static booleanDetermine whether the given bean class qualifies as an MBean as-is.static MBeanServerJmxUtils.locateMBeanServer(String agentId) Attempt to find a locally runningMBeanServer.protected MBeanServerMBeanServerFactoryBean.locateMBeanServer(String agentId) Attempt to locate an existingMBeanServer.static Class<?>[]JmxUtils.parameterInfoToTypes(MBeanParameterInfo[] paramInfo) Convert an array ofMBeanParameterInfointo an array ofClassinstances corresponding to the parameters.static Class<?>[]JmxUtils.parameterInfoToTypes(MBeanParameterInfo[] paramInfo, ClassLoader classLoader) Convert an array ofMBeanParameterInfointo an array ofClassinstances corresponding to the parameters.static Class<?>[]JmxUtils.parameterInfoToTypes(MBeanParameterInfo[] paramInfo, ClassLoader classLoader) Convert an array ofMBeanParameterInfointo an array ofClassinstances corresponding to the parameters.voidConnectorServerFactoryBean.setEnvironment(Properties environment) Set the environment properties used to construct theJMXConnectorServerasjava.util.Properties(String key/value pairs).voidConnectorServerFactoryBean.setEnvironmentMap(Map<String, ?> environment) Set the environment properties used to construct theJMXConnectoras aMapof String keys and arbitrary Object values.voidMBeanServerConnectionFactoryBean.setEnvironmentMap(Map<String, ?> environment) Set the environment properties used to construct theJMXConnectoras aMapof String keys and arbitrary Object values.voidNotificationListenerHolder.setHandback(Object handback) Set the (arbitrary) object that will be 'handed back' as-is by anNotificationBroadcasterwhen notifying anyNotificationListener.voidNotificationListenerHolder.setMappedObjectName(Object mappedObjectName) Set theObjectName-style name of the single MBean that the encapsulatedNotificationFilterwill be registered with to listen forNotifications.voidNotificationListenerHolder.setNotificationFilter(NotificationFilter notificationFilter) Set theNotificationFilterassociated with the encapsulatedNotificationFilter.voidNotificationListenerHolder.setNotificationListener(NotificationListener notificationListener) Set theNotificationListener.voidMBeanRegistrationSupport.setServer(MBeanServer server) Specify theMBeanServerinstance with which all beans should be registered. -
Uses of Nullable in org.springframework.jndi
Methods in org.springframework.jndi with annotations of type NullableModifier and TypeMethodDescriptionJndiCallback.doInContext(Context ctx) Do something with the given JNDI context.<T> TJndiTemplate.execute(JndiCallback<T> contextCallback) Execute the given JNDI context callback implementation.JndiTemplate.getEnvironment()Return the environment for the JNDI InitialContext, if any.Class<?>JndiObjectLocator.getExpectedType()Return the type that the located JNDI object is supposed to be assignable to, if any.JndiAccessor.getJndiEnvironment()Return the JNDI environment to use for JNDI lookups.JndiObjectLocator.getJndiName()Return the JNDI name to look up.JndiObjectFactoryBean.getObject()Return the singleton JNDI object.JndiPropertySource.getProperty(String name) This implementation looks up and returns the value associated with the given name from the underlyingJndiLocatorDelegate.JndiObjectTargetSource.getTarget()Class<?>JndiObjectTargetSource.getTargetClass()Method parameters in org.springframework.jndi with annotations of type NullableModifier and TypeMethodDescription<T> Tprotected <T> TPerform an actual JNDI lookup for the given name via the JndiTemplate.<T> TLook up the object with the given name in the current JNDI context.voidJndiTemplate.releaseContext(Context ctx) Release a JNDI context as obtained fromJndiTemplate.getContext().voidvoidJndiTemplate.setEnvironment(Properties environment) Set the environment for the JNDI InitialContext.voidJndiObjectLocator.setExpectedType(Class<?> expectedType) Specify the type that the located JNDI object is supposed to be assignable to, if any.voidJndiAccessor.setJndiEnvironment(Properties jndiEnvironment) Set the JNDI environment to use for JNDI lookups.voidJndiObjectLocator.setJndiName(String jndiName) Specify the JNDI name to look up.voidJndiAccessor.setJndiTemplate(JndiTemplate jndiTemplate) Set the JNDI template to use for JNDI lookups.Constructor parameters in org.springframework.jndi with annotations of type NullableModifierConstructorDescriptionJndiTemplate(Properties environment) Create a new JndiTemplate instance, using the given environment. -
Uses of Nullable in org.springframework.jndi.support
Methods in org.springframework.jndi.support with annotations of type NullableMethod parameters in org.springframework.jndi.support with annotations of type Nullable -
Uses of Nullable in org.springframework.mail
Methods in org.springframework.mail with annotations of type NullableModifier and TypeMethodDescriptionString[]SimpleMailMessage.getBcc()String[]SimpleMailMessage.getCc()SimpleMailMessage.getFrom()MailSendException.getMessage()SimpleMailMessage.getReplyTo()SimpleMailMessage.getSentDate()SimpleMailMessage.getSubject()SimpleMailMessage.getText()String[]SimpleMailMessage.getTo()Method parameters in org.springframework.mail with annotations of type NullableModifier and TypeMethodDescriptionbooleanvoidvoidvoidvoidvoidvoidSimpleMailMessage.setReplyTo(String replyTo) voidSimpleMailMessage.setSentDate(Date sentDate) voidSimpleMailMessage.setSubject(String subject) voidvoidConstructor parameters in org.springframework.mail with annotations of type NullableModifierConstructorDescriptionMailException(String msg, Throwable cause) Constructor for MailException.MailException(String msg, Throwable cause) Constructor for MailException.MailSendException(String msg, Throwable cause) Constructor for MailSendException.Constructor for registration of failed messages, with the messages that failed as keys, and the thrown exceptions as values.Constructor for registration of failed messages, with the messages that failed as keys, and the thrown exceptions as values. -
Uses of Nullable in org.springframework.mail.javamail
Methods in org.springframework.mail.javamail with annotations of type NullableModifier and TypeMethodDescriptionJavaMailSenderImpl.getDefaultEncoding()Return the default encoding forMimeMessages, ornullif none.protected StringMimeMessageHelper.getDefaultEncoding(MimeMessage mimeMessage) Determine the default encoding for the given MimeMessage.JavaMailSenderImpl.getDefaultFileTypeMap()MimeMessageHelper.getEncoding()Return the specific character encoding used for this message, if any.JavaMailSenderImpl.getHost()Return the mail server host.JavaMailSenderImpl.getPassword()Return the password for the account at the mail host.JavaMailSenderImpl.getProtocol()Return the mail protocol.JavaMailSenderImpl.getUsername()Return the username for the account at the mail host.Method parameters in org.springframework.mail.javamail with annotations of type NullableModifier and TypeMethodDescriptionprotected FileTypeMapConfigurableMimeFileTypeMap.createFileTypeMap(Resource mappingLocation, String[] mappings) Compile aFileTypeMapfrom the mappings in the given mapping file and the given mapping entries.protected FileTypeMapConfigurableMimeFileTypeMap.createFileTypeMap(Resource mappingLocation, String[] mappings) Compile aFileTypeMapfrom the mappings in the given mapping file and the given mapping entries.protected voidJavaMailSenderImpl.doSend(MimeMessage[] mimeMessages, Object[] originalMessages) Actually send the given array of MimeMessages via JavaMail.voidJavaMailSenderImpl.setDefaultEncoding(String defaultEncoding) Set the default encoding to use forMimeMessagescreated by this instance.voidJavaMailSenderImpl.setDefaultFileTypeMap(FileTypeMap defaultFileTypeMap) Set the default Java ActivationFileTypeMapto use forMimeMessagescreated by this instance.voidMimeMessageHelper.setFileTypeMap(FileTypeMap fileTypeMap) Set the Java Activation FrameworkFileTypeMapto use for determining the content type of inline content and attachments that get added to the message.voidSet the mail server host, typically an SMTP host.protected final voidMimeMessageHelper.setMimeMultiparts(MimeMultipart root, MimeMultipart main) Set the given MimeMultipart objects for use by this MimeMessageHelper.protected final voidMimeMessageHelper.setMimeMultiparts(MimeMultipart root, MimeMultipart main) Set the given MimeMultipart objects for use by this MimeMessageHelper.voidJavaMailSenderImpl.setPassword(String password) Set the password for the account at the mail host, if any.voidJavaMailSenderImpl.setProtocol(String protocol) Set the mail protocol.voidJavaMailSenderImpl.setUsername(String username) Set the username for the account at the mail host, if any.Constructor parameters in org.springframework.mail.javamail with annotations of type NullableModifierConstructorDescriptionMimeMessageHelper(MimeMessage mimeMessage, boolean multipart, String encoding) Create a new MimeMessageHelper for the given MimeMessage, in multipart mode (supporting alternative texts, inline elements and attachments) if requested.MimeMessageHelper(MimeMessage mimeMessage, int multipartMode, String encoding) Create a new MimeMessageHelper for the given MimeMessage, in multipart mode (supporting alternative texts, inline elements and attachments) if requested.MimeMessageHelper(MimeMessage mimeMessage, String encoding) Create a new MimeMessageHelper for the given MimeMessage, assuming a simple text message (no multipart content, i.e. -
Uses of Nullable in org.springframework.messaging
Methods in org.springframework.messaging with annotations of type NullableModifier and TypeMethodDescription<T> TMessageHeaders.getErrorChannel()Message<?>MessagingException.getFailedMessage()MessageHeaders.getId()MessageHeaders.getReplyChannel()MessageHeaders.getTimestamp()Message<?>PollableChannel.receive()Receive a message from this channel, blocking indefinitely if necessary.Message<?>PollableChannel.receive(long timeout) Receive a message from this channel, blocking until either a message is available or the specified timeout period elapses.Method parameters in org.springframework.messaging with annotations of type NullableConstructor parameters in org.springframework.messaging with annotations of type NullableModifierConstructorDescriptionMessageHeaders(Map<String, Object> headers) Construct aMessageHeaderswith the given headers.protectedConstructor providing control over the ID and TIMESTAMP header values.protectedConstructor providing control over the ID and TIMESTAMP header values.protectedConstructor providing control over the ID and TIMESTAMP header values.MessagingException(String description, Throwable cause) MessagingException(String description, Throwable cause) MessagingException(Message<?> message, String description, Throwable cause) MessagingException(Message<?> message, String description, Throwable cause) -
Uses of Nullable in org.springframework.messaging.converter
Methods in org.springframework.messaging.converter with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectAbstractJsonMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectAbstractMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) Convert the message payload from serialized form to an Object.protected ObjectByteArrayMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectMappingJackson2MessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectMarshallingMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectAbstractJsonMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectAbstractMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) Convert the payload object to serialized form.protected ObjectByteArrayMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectMappingJackson2MessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectMarshallingMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectStringMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) final ObjectAbstractMessageConverter.fromMessage(Message<?> message, Class<?> targetClass) final ObjectAbstractMessageConverter.fromMessage(Message<?> message, Class<?> targetClass, Object conversionHint) CompositeMessageConverter.fromMessage(Message<?> message, Class<?> targetClass) CompositeMessageConverter.fromMessage(Message<?> message, Class<?> targetClass, Object conversionHint) GenericMessageConverter.fromMessage(Message<?> message, Class<?> targetClass) MessageConverter.fromMessage(Message<?> message, Class<?> targetClass) Convert the payload of aMessagefrom a serialized form to a typed Object of the specified target class.SimpleMessageConverter.fromMessage(Message<?> message, Class<?> targetClass) SmartMessageConverter.fromMessage(Message<?> message, Class<?> targetClass, Object conversionHint) A variant ofMessageConverter.fromMessage(Message, Class)which takes an extra conversion context as an argument, allowing to take e.g.AbstractMessageConverter.getContentTypeResolver()Return the configuredContentTypeResolver.protected MimeTypeAbstractMessageConverter.getDefaultContentType(Object payload) Return the default content type for the payload.DefaultContentTypeResolver.getDefaultMimeType()Return the default MIME type to use if noMessageHeaders.CONTENT_TYPEheader is present.MarshallingMessageConverter.getMarshaller()Return the configured Marshaller.protected MimeTypeAbstractMessageConverter.getMimeType(MessageHeaders headers) protected Class<?>MappingJackson2MessageConverter.getSerializationView(Object conversionHint) Determine a Jackson serialization view based on the given conversion hint.MarshallingMessageConverter.getUnmarshaller()Return the configured unmarshaller.ContentTypeResolver.resolve(MessageHeaders headers) Determine theMimeTypeof a message from the given MessageHeaders.DefaultContentTypeResolver.resolve(MessageHeaders headers) final Message<?>AbstractMessageConverter.toMessage(Object payload, MessageHeaders headers) final Message<?>AbstractMessageConverter.toMessage(Object payload, MessageHeaders headers, Object conversionHint) Message<?>CompositeMessageConverter.toMessage(Object payload, MessageHeaders headers) Message<?>CompositeMessageConverter.toMessage(Object payload, MessageHeaders headers, Object conversionHint) Message<?>MessageConverter.toMessage(Object payload, MessageHeaders headers) Create aMessagewhose payload is the result of converting the given payload Object to serialized form.Message<?>SmartMessageConverter.toMessage(Object payload, MessageHeaders headers, Object conversionHint) A variant ofMessageConverter.toMessage(Object, MessageHeaders)which takes an extra conversion context as an argument, allowing to take e.g.Method parameters in org.springframework.messaging.converter with annotations of type NullableModifier and TypeMethodDescriptionprotected booleanMappingJackson2MessageConverter.canConvertFrom(Message<?> message, Class<?> targetClass) protected booleanAbstractMessageConverter.canConvertTo(Object payload, MessageHeaders headers) protected booleanMappingJackson2MessageConverter.canConvertTo(Object payload, MessageHeaders headers) protected booleanMarshallingMessageConverter.canConvertTo(Object payload, MessageHeaders headers) protected booleanProtobufMessageConverter.canConvertTo(Object payload, MessageHeaders headers) protected ObjectAbstractJsonMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectAbstractMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) Convert the message payload from serialized form to an Object.protected ObjectByteArrayMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectByteArrayMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectMappingJackson2MessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectMarshallingMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectProtobufMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectStringMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectAbstractJsonMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectAbstractJsonMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectAbstractMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) Convert the payload object to serialized form.protected ObjectAbstractMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) Convert the payload object to serialized form.protected ObjectByteArrayMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectByteArrayMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectMappingJackson2MessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectMappingJackson2MessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectMarshallingMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectMarshallingMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectProtobufMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectProtobufMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectStringMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectStringMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) final ObjectAbstractMessageConverter.fromMessage(Message<?> message, Class<?> targetClass, Object conversionHint) CompositeMessageConverter.fromMessage(Message<?> message, Class<?> targetClass, Object conversionHint) SmartMessageConverter.fromMessage(Message<?> message, Class<?> targetClass, Object conversionHint) A variant ofMessageConverter.fromMessage(Message, Class)which takes an extra conversion context as an argument, allowing to take e.g.protected JsonEncodingMappingJackson2MessageConverter.getJsonEncoding(MimeType contentType) Determine the JSON encoding to use for the given content type.protected MimeTypeAbstractMessageConverter.getMimeType(MessageHeaders headers) protected Class<?>MappingJackson2MessageConverter.getSerializationView(Object conversionHint) Determine a Jackson serialization view based on the given conversion hint.protected voidMappingJackson2MessageConverter.logWarningIfNecessary(Type type, Throwable cause) Determine whether to log the given exception coming from aObjectMapper.canDeserialize(com.fasterxml.jackson.databind.JavaType)/ObjectMapper.canSerialize(java.lang.Class<?>)check.ContentTypeResolver.resolve(MessageHeaders headers) Determine theMimeTypeof a message from the given MessageHeaders.DefaultContentTypeResolver.resolve(MessageHeaders headers) voidAbstractMessageConverter.setContentTypeResolver(ContentTypeResolver resolver) Configure theContentTypeResolverto use to resolve the content type of an input message.voidDefaultContentTypeResolver.setDefaultMimeType(MimeType defaultMimeType) Set the default MIME type to use when there is noMessageHeaders.CONTENT_TYPEheader present.voidMarshallingMessageConverter.setMarshaller(Marshaller marshaller) Set theMarshallerto be used by this message converter.voidMarshallingMessageConverter.setUnmarshaller(Unmarshaller unmarshaller) Set theUnmarshallerto be used by this message converter.protected booleanAbstractMessageConverter.supportsMimeType(MessageHeaders headers) final Message<?>AbstractMessageConverter.toMessage(Object payload, MessageHeaders headers) final Message<?>AbstractMessageConverter.toMessage(Object payload, MessageHeaders headers, Object conversionHint) final Message<?>AbstractMessageConverter.toMessage(Object payload, MessageHeaders headers, Object conversionHint) Message<?>CompositeMessageConverter.toMessage(Object payload, MessageHeaders headers) Message<?>CompositeMessageConverter.toMessage(Object payload, MessageHeaders headers, Object conversionHint) Message<?>CompositeMessageConverter.toMessage(Object payload, MessageHeaders headers, Object conversionHint) Message<?>MessageConverter.toMessage(Object payload, MessageHeaders headers) Create aMessagewhose payload is the result of converting the given payload Object to serialized form.Message<?>SimpleMessageConverter.toMessage(Object payload, MessageHeaders headers) Message<?>SmartMessageConverter.toMessage(Object payload, MessageHeaders headers, Object conversionHint) A variant ofMessageConverter.toMessage(Object, MessageHeaders)which takes an extra conversion context as an argument, allowing to take e.g.Message<?>SmartMessageConverter.toMessage(Object payload, MessageHeaders headers, Object conversionHint) A variant ofMessageConverter.toMessage(Object, MessageHeaders)which takes an extra conversion context as an argument, allowing to take e.g.Constructor parameters in org.springframework.messaging.converter with annotations of type NullableModifierConstructorDescriptionMessageConversionException(String description, Throwable cause) MessageConversionException(String description, Throwable cause) MessageConversionException(Message<?> failedMessage, String description, Throwable cause) MessageConversionException(Message<?> failedMessage, String description, Throwable cause) ProtobufJsonFormatMessageConverter(com.google.protobuf.ExtensionRegistry extensionRegistry) Constructor with default instances ofJsonFormat.Parser,JsonFormat.Printer, andExtensionRegistry.ProtobufJsonFormatMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, and a default instance ofExtensionRegistry.ProtobufJsonFormatMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, and a default instance ofExtensionRegistry.ProtobufJsonFormatMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer, com.google.protobuf.ExtensionRegistry extensionRegistry) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, andExtensionRegistry.ProtobufJsonFormatMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer, com.google.protobuf.ExtensionRegistry extensionRegistry) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, andExtensionRegistry.ProtobufJsonFormatMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer, com.google.protobuf.ExtensionRegistry extensionRegistry) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, andExtensionRegistry. -
Uses of Nullable in org.springframework.messaging.core
Methods in org.springframework.messaging.core with annotations of type NullableModifier and TypeMethodDescription<T> TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass) <T> TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) <T> TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Class<T> targetClass) <T> TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass) <T> TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractMessagingTemplate.convertSendAndReceive(Object request, Class<T> targetClass) <T> TAbstractMessagingTemplate.convertSendAndReceive(Object request, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter, wrap it as a message and send it to the resolved destination, receive a reply and convert its body to the specified target class.<T> TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter, wrap it as a message, apply the given post process, and send the resulting message to the resolved destination, then receive a reply and convert its body to the specified target class.<T> TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers and send it to the resolved destination, receive a reply and convert its body to the specified target class.<T> TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post process, and send the resulting message to the resolved destination, then receive a reply and convert its body to the specified target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(D destination, Object request, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter, send it as aMessageto the given destination, receive the reply and convert its body of the specified target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(D destination, Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, apply the given post processor and send the resultingMessageto the given destination, receive the reply and convert its body of the given target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter, send it as aMessagewith the given headers, to the specified destination, receive the reply and convert its body of the specified target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post processor and send the resultingMessageto the specified destination, receive the reply and convert its body of the given target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(Object request, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter, send it as aMessageto a default destination, receive the reply and convert its body of the specified target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, apply the given post processor and send the resultingMessageto a default destination, receive the reply and convert its body of the given target class.protected <T> TConvert from the given message to the given target class.protected abstract Message<?>Actually receive a message from the given destination.protected final Message<?>GenericMessagingTemplate.doReceive(MessageChannel channel) protected final Message<?>GenericMessagingTemplate.doReceive(MessageChannel channel, long timeout) protected abstract Message<?>AbstractMessagingTemplate.doSendAndReceive(D destination, Message<?> requestMessage) protected final Message<?>GenericMessagingTemplate.doSendAndReceive(MessageChannel channel, Message<?> requestMessage) AbstractMessageSendingTemplate.getDefaultDestination()Return the configured default destination.AbstractDestinationResolvingMessagingTemplate.getDestinationResolver()Return the configured destination resolver.AbstractMessageSendingTemplate.processHeadersToSend(Map<String, Object> headers) Provides access to the map of input headers before a send operation.Message<?>Message<?>AbstractMessageReceivingTemplate.receive()Message<?>Message<?>Resolve the given destination name and receive a message from it.Message<?>MessageReceivingOperations.receive()Receive a message from a default destination.Message<?>Receive a message from the given destination.<T> TAbstractDestinationResolvingMessagingTemplate.receiveAndConvert(String destinationName, Class<T> targetClass) <T> TAbstractMessageReceivingTemplate.receiveAndConvert(D destination, Class<T> targetClass) <T> TAbstractMessageReceivingTemplate.receiveAndConvert(Class<T> targetClass) <T> TDestinationResolvingMessageReceivingOperations.receiveAndConvert(String destinationName, Class<T> targetClass) Resolve the given destination name, receive a message from it, convert the payload to the specified target type.<T> TMessageReceivingOperations.receiveAndConvert(D destination, Class<T> targetClass) Receive a message from the given destination and convert its payload to the specified target class.<T> TMessageReceivingOperations.receiveAndConvert(Class<T> targetClass) Receive a message from a default destination and convert its payload to the specified target class.Message<?>AbstractDestinationResolvingMessagingTemplate.sendAndReceive(String destinationName, Message<?> requestMessage) Message<?>AbstractMessagingTemplate.sendAndReceive(D destination, Message<?> requestMessage) Message<?>AbstractMessagingTemplate.sendAndReceive(Message<?> requestMessage) Message<?>DestinationResolvingMessageRequestReplyOperations.sendAndReceive(String destinationName, Message<?> requestMessage) Resolve the given destination name to a destination and send the given message, receive a reply and return it.Message<?>MessageRequestReplyOperations.sendAndReceive(D destination, Message<?> requestMessage) Send a request message and receive the reply from the given destination.Message<?>MessageRequestReplyOperations.sendAndReceive(Message<?> requestMessage) Send a request message and receive the reply from a default destination.Method parameters in org.springframework.messaging.core with annotations of type NullableModifier and TypeMethodDescription<T> voidAbstractDestinationResolvingMessagingTemplate.convertAndSend(String destinationName, T payload, Map<String, Object> headers) <T> voidAbstractDestinationResolvingMessagingTemplate.convertAndSend(String destinationName, T payload, Map<String, Object> headers, MessagePostProcessor postProcessor) <T> voidAbstractDestinationResolvingMessagingTemplate.convertAndSend(String destinationName, T payload, Map<String, Object> headers, MessagePostProcessor postProcessor) <T> voidAbstractDestinationResolvingMessagingTemplate.convertAndSend(String destinationName, T payload, MessagePostProcessor postProcessor) voidAbstractMessageSendingTemplate.convertAndSend(D destination, Object payload, Map<String, Object> headers) voidAbstractMessageSendingTemplate.convertAndSend(D destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) voidAbstractMessageSendingTemplate.convertAndSend(D destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) voidAbstractMessageSendingTemplate.convertAndSend(D destination, Object payload, MessagePostProcessor postProcessor) voidAbstractMessageSendingTemplate.convertAndSend(Object payload, MessagePostProcessor postProcessor) <T> voidDestinationResolvingMessageSendingOperations.convertAndSend(String destinationName, T payload, Map<String, Object> headers) Resolve the given destination name to a destination, convert the payload Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers and send it to the resolved destination.<T> voidDestinationResolvingMessageSendingOperations.convertAndSend(String destinationName, T payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Resolve the given destination name to a destination, convert the payload Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post processor, and send the resulting message to the resolved destination.<T> voidDestinationResolvingMessageSendingOperations.convertAndSend(String destinationName, T payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Resolve the given destination name to a destination, convert the payload Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post processor, and send the resulting message to the resolved destination.<T> voidDestinationResolvingMessageSendingOperations.convertAndSend(String destinationName, T payload, MessagePostProcessor postProcessor) Resolve the given destination name to a destination, convert the payload Object to serialized form, possibly using aMessageConverter, wrap it as a message, apply the given post processor, and send the resulting message to the resolved destination.voidMessageSendingOperations.convertAndSend(D destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post processor, and send the resulting message to the given destination.voidMessageSendingOperations.convertAndSend(D destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post processor, and send the resulting message to the given destination.voidMessageSendingOperations.convertAndSend(Object payload, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message, apply the given post processor, and send the resulting message to a default destination.<T> TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) <T> TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass) <T> TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractMessagingTemplate.convertSendAndReceive(Object request, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter, wrap it as a message, apply the given post process, and send the resulting message to the resolved destination, then receive a reply and convert its body to the specified target class.<T> TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers and send it to the resolved destination, receive a reply and convert its body to the specified target class.<T> TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post process, and send the resulting message to the resolved destination, then receive a reply and convert its body to the specified target class.<T> TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post process, and send the resulting message to the resolved destination, then receive a reply and convert its body to the specified target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter, send it as aMessagewith the given headers, to the specified destination, receive the reply and convert its body of the specified target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post processor and send the resultingMessageto the specified destination, receive the reply and convert its body of the given target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post processor and send the resultingMessageto the specified destination, receive the reply and convert its body of the given target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, apply the given post processor and send the resultingMessageto a default destination, receive the reply and convert its body of the given target class.protected Message<?>AbstractMessageSendingTemplate.doConvert(Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers and apply the given post processor.protected Message<?>AbstractMessageSendingTemplate.doConvert(Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers and apply the given post processor.AbstractMessageSendingTemplate.processHeadersToSend(Map<String, Object> headers) Provides access to the map of input headers before a send operation.voidAbstractMessageSendingTemplate.setDefaultDestination(D defaultDestination) Configure the default destination to use in send methods that don't have a destination argument.voidAbstractDestinationResolvingMessagingTemplate.setDestinationResolver(DestinationResolver<D> destinationResolver) Configure theDestinationResolverto use to resolve String destination names into actual destinations of type<D>.Constructor parameters in org.springframework.messaging.core with annotations of type NullableModifierConstructorDescriptionDestinationResolutionException(String description, Throwable cause) DestinationResolutionException(String description, Throwable cause) -
Uses of Nullable in org.springframework.messaging.handler
Methods in org.springframework.messaging.handler with annotations of type NullableModifier and TypeMethodDescriptionprotected static ObjectHandlerMethod.findProvidedArgument(MethodParameter parameter, Object... providedArgs) Class<?>MessagingAdviceBean.getBeanType()Return the type of the contained advice bean.DestinationPatternsMessageCondition.getMatchingCondition(Message<?> message) Check if any of the patterns match the given Message destination and return an instance that is guaranteed to contain matching patterns, sorted viaPathMatcher.getPatternComparator(String).MessageCondition.getMatchingCondition(Message<?> message) Check if this condition matches the given Message and returns a potentially new condition with content tailored to the current message.<A extends Annotation>
AHandlerMethod.getMethodAnnotation(Class<A> annotationType) Return a single annotation on the underlying method traversing its super methods if no annotation can be found on the given method itself.HandlerMethod.getResolvedFromHandlerMethod()Return the HandlerMethod from which this HandlerMethod instance was resolved viaHandlerMethod.createWithResolvedBean().Method parameters in org.springframework.messaging.handler with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanbooleanprotected static ObjectHandlerMethod.findProvidedArgument(MethodParameter parameter, Object... providedArgs) HandlerMethod.getReturnValueType(Object returnValue) Return the actual return value type.Constructor parameters in org.springframework.messaging.handler with annotations of type NullableModifierConstructorDescriptionDestinationPatternsMessageCondition(String[] patterns, PathMatcher matcher) Constructor with patterns and aPathMatcherinstance. -
Uses of Nullable in org.springframework.messaging.handler.annotation
Methods in org.springframework.messaging.handler.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected TypeMessageMappingReflectiveProcessor.getMessageType(MethodParameter parameter) -
Uses of Nullable in org.springframework.messaging.handler.annotation.reactive
Methods in org.springframework.messaging.handler.annotation.reactive with annotations of type NullableModifier and TypeMethodDescriptionprotected CompositeMessageConditionMessageMappingMessageHandler.getCondition(AnnotatedElement element) Determine the mapping condition for the given annotated element.protected MimeTypePayloadMethodArgumentResolver.getMimeType(Message<?> message) Return the mime type for the content.MessageMappingMessageHandler.getRouteMatcher()Return theRouteMatcherused to map messages to handlers.MessageMappingMessageHandler.getValidator()Return the configured Validator instance.PayloadMethodArgumentResolver.getValidator()Return the configured validator, if any.protected abstract ObjectAbstractNamedValueMethodArgumentResolver.resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) Resolves the given parameter type and value name into an argument value.protected ObjectDestinationVariableMethodArgumentResolver.resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) protected ObjectHeaderMethodArgumentResolver.resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) HeadersMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter, Message<?> message) Method parameters in org.springframework.messaging.handler.annotation.reactive with annotations of type NullableModifier and TypeMethodDescriptionvoidMessageMappingMessageHandler.setRouteMatcher(RouteMatcher routeMatcher) Set theRouteMatcherto use for mapping messages to handlers based on the route patterns they're configured with.voidMessageMappingMessageHandler.setValidator(Validator validator) Set the Validator instance used for validating@Payloadarguments.Constructor parameters in org.springframework.messaging.handler.annotation.reactive with annotations of type NullableModifierConstructorDescriptionprotectedAbstractNamedValueMethodArgumentResolver(ConversionService conversionService, ConfigurableBeanFactory beanFactory) Constructor with aConversionServiceand aBeanFactory.HeaderMethodArgumentResolver(ConversionService conversionService, ConfigurableBeanFactory beanFactory) protectedNamedValueInfo(String name, boolean required, String defaultValue) PayloadMethodArgumentResolver(List<? extends Decoder<?>> decoders, Validator validator, ReactiveAdapterRegistry registry, boolean useDefaultResolution) PayloadMethodArgumentResolver(List<? extends Decoder<?>> decoders, Validator validator, ReactiveAdapterRegistry registry, boolean useDefaultResolution) -
Uses of Nullable in org.springframework.messaging.handler.annotation.support
Methods in org.springframework.messaging.handler.annotation.support with annotations of type NullableModifier and TypeMethodDescriptionfinal BindingResultMethodArgumentNotValidException.getBindingResult()Return the BindingResult if the failure is validation-related, ornullif none.HeadersMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) PayloadMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) protected abstract ObjectAbstractNamedValueMethodArgumentResolver.resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) Resolves the given parameter type and value name into an argument value.protected ObjectDestinationVariableMethodArgumentResolver.resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) protected ObjectHeaderMethodArgumentResolver.resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) Method parameters in org.springframework.messaging.handler.annotation.support with annotations of type NullableModifier and TypeMethodDescriptionprotected voidAbstractNamedValueMethodArgumentResolver.handleResolvedValue(Object arg, String name, MethodParameter parameter, Message<?> message) Invoked after a value is resolved.protected booleanMessageMethodArgumentResolver.isEmptyPayload(Object payload) Check if the givenpayloadis empty.protected booleanPayloadMethodArgumentResolver.isEmptyPayload(Object payload) Specify if the givenpayloadis empty.voidDefaultMessageHandlerMethodFactory.setArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) Configure the complete list of supported argument types effectively overriding the ones configured by default.Constructor parameters in org.springframework.messaging.handler.annotation.support with annotations of type NullableModifierConstructorDescriptionprotectedAbstractNamedValueMethodArgumentResolver(ConversionService conversionService, ConfigurableBeanFactory beanFactory) Constructor with aConversionServiceand aBeanFactory.HeaderMethodArgumentResolver(ConversionService conversionService, ConfigurableBeanFactory beanFactory) MessageMethodArgumentResolver(MessageConverter converter) Create a resolver instance with the givenMessageConverter.protectedNamedValueInfo(String name, boolean required, String defaultValue) PayloadMethodArgumentResolver(MessageConverter messageConverter, Validator validator) PayloadMethodArgumentResolver(MessageConverter messageConverter, Validator validator, boolean useDefaultResolution) -
Uses of Nullable in org.springframework.messaging.handler.invocation
Methods in org.springframework.messaging.handler.invocation with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectInvoke the handler method with the given argument values.AbstractMethodMessageHandler.getApplicationContext()protected abstract StringAbstractMethodMessageHandler.getDestination(Message<?> message) protected InvocableHandlerMethodAbstractMethodMessageHandler.getExceptionHandlerMethod(HandlerMethod handlerMethod, Exception exception) Find an@MessageExceptionHandlermethod for the given exception.protected LogAbstractMethodMessageHandler.getHandlerMethodLogger()Return a logger to set onInvocableHandlerMethod.protected StringAbstractMethodMessageHandler.getLookupDestination(String destination) Check whether the given destination (of an incoming message) matches to one of the configured destination prefixes and if so return the remaining portion of the destination after the matched prefix.protected abstract TAbstractMethodMessageHandler.getMappingForMethod(Method method, Class<?> handlerType) Provide the mapping for a handler method.protected abstract TAbstractMethodMessageHandler.getMatchingMapping(T mapping, Message<?> message) Check if a mapping matches the current message and return a possibly new mapping with conditions relevant to the current request.protected LogAbstractMethodMessageHandler.getReturnValueHandlerLogger()Return a logger to set onHandlerMethodReturnValueHandlerComposite.Invoke the method after resolving its argument values in the context of the given message.HandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) Resolves a method parameter into an argument value from a given message.HandlerMethodArgumentResolverComposite.resolveArgument(MethodParameter parameter, Message<?> message) Iterate over registeredHandlerMethodArgumentResolversand invoke the one that supports it.AbstractExceptionHandlerMethodResolver.resolveMethod(Throwable exception) Find aMethodto handle the given exception.AbstractExceptionHandlerMethodResolver.resolveMethodByExceptionType(Class<? extends Throwable> exceptionType) Find aMethodto handle the given exception type.AsyncHandlerMethodReturnValueHandler.toCompletableFuture(Object returnValue, MethodParameter returnType) Adapt the asynchronous return value to aCompletableFuture.HandlerMethodReturnValueHandlerComposite.toCompletableFuture(Object returnValue, MethodParameter returnType) default ListenableFuture<?>AsyncHandlerMethodReturnValueHandler.toListenableFuture(Object returnValue, MethodParameter returnType) Deprecated.as of 6.0, in favor ofAsyncHandlerMethodReturnValueHandler.toCompletableFuture(Object, MethodParameter)Method parameters in org.springframework.messaging.handler.invocation with annotations of type NullableModifier and TypeMethodDescriptionHandlerMethodReturnValueHandlerComposite.addHandlers(List<? extends HandlerMethodReturnValueHandler> handlers) Add the givenHandlerMethodReturnValueHandlers.HandlerMethodArgumentResolverComposite.addResolvers(List<? extends HandlerMethodArgumentResolver> resolvers) Add the givenHandlerMethodArgumentResolvers.HandlerMethodArgumentResolverComposite.addResolvers(HandlerMethodArgumentResolver... resolvers) Add the givenHandlerMethodArgumentResolvers.protected StringAbstractMethodMessageHandler.getLookupDestination(String destination) Check whether the given destination (of an incoming message) matches to one of the configured destination prefixes and if so return the remaining portion of the destination after the matched prefix.voidAbstractAsyncReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) voidHandlerMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) Handle the given return value.voidHandlerMethodReturnValueHandlerComposite.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) voidAbstractMethodMessageHandler.setApplicationContext(ApplicationContext applicationContext) voidAbstractMethodMessageHandler.setArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) Configure the complete list of supported argument types, effectively overriding the ones configured by default.voidAbstractMethodMessageHandler.setCustomArgumentResolvers(List<HandlerMethodArgumentResolver> customArgumentResolvers) Sets the list of customHandlerMethodArgumentResolvers that will be used after resolvers for supported argument type.voidAbstractMethodMessageHandler.setCustomReturnValueHandlers(List<HandlerMethodReturnValueHandler> customReturnValueHandlers) Set the list of customHandlerMethodReturnValueHandlers that will be used after return value handlers for known types.voidAbstractMethodMessageHandler.setDestinationPrefixes(Collection<String> prefixes) When this property is configured only messages to destinations matching one of the configured prefixes are eligible for handling.voidAbstractMethodMessageHandler.setReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers) Configure the complete list of supported return value types, effectively overriding the ones configured by default.Constructor parameters in org.springframework.messaging.handler.invocation with annotations of type NullableModifierConstructorDescriptionMethodArgumentResolutionException(Message<?> message, MethodParameter parameter, String description, Throwable cause) Create a new instance providing the invalidMethodParameter, prepared description, and a cause. -
Uses of Nullable in org.springframework.messaging.handler.invocation.reactive
Methods in org.springframework.messaging.handler.invocation.reactive with annotations of type NullableModifier and TypeMethodDescriptionAbstractMethodMessageHandler.getApplicationContext()HandlerMethodArgumentResolverComposite.getArgumentResolver(MethodParameter parameter) Find a registeredHandlerMethodArgumentResolverthat supports the given method parameter.protected abstract RouteMatcher.RouteAbstractMethodMessageHandler.getDestination(Message<?> message) Extract the destination from the given message.AbstractMethodMessageHandler.getHandlerPredicate()Return theconfiguredhandler predicate.protected abstract TAbstractMethodMessageHandler.getMappingForMethod(Method method, Class<?> handlerType) Obtain the mapping for the given method, if any.protected abstract TAbstractMethodMessageHandler.getMatchingMapping(T mapping, Message<?> message) Check if a mapping matches the current message and return a possibly new mapping with conditions relevant to the current request.SyncHandlerMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter, Message<?> message) Resolve the value for the method parameter synchronously.Method parameters in org.springframework.messaging.handler.invocation.reactive with annotations of type NullableModifier and TypeMethodDescriptionHandlerMethodReturnValueHandlerComposite.addHandlers(List<? extends HandlerMethodReturnValueHandler> handlers) Add the givenHandlerMethodReturnValueHandlers.HandlerMethodArgumentResolverComposite.addResolvers(List<? extends HandlerMethodArgumentResolver> resolvers) Add the givenHandlerMethodArgumentResolvers.HandlerMethodArgumentResolverComposite.addResolvers(HandlerMethodArgumentResolver... resolvers) Add the givenHandlerMethodArgumentResolvers.protected voidAbstractMethodMessageHandler.handleNoMatch(RouteMatcher.Route destination, Message<?> message) Invoked when no matching handler is found.reactor.core.publisher.Mono<Void>AbstractEncoderMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) reactor.core.publisher.Mono<Void>HandlerMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) Handle the given return value.reactor.core.publisher.Mono<Void>HandlerMethodReturnValueHandlerComposite.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) voidAbstractMethodMessageHandler.setApplicationContext(ApplicationContext applicationContext) voidAbstractMethodMessageHandler.setHandlerPredicate(Predicate<Class<?>> handlerPredicate) Configure a predicate for selecting which Spring beans to check for the presence of message handler methods. -
Uses of Nullable in org.springframework.messaging.rsocket
Methods in org.springframework.messaging.rsocket with annotations of type NullableModifier and TypeMethodDescriptionRSocketRequester.rsocket()Return the underlyingRSocketif the requester was created with a "live" RSocket viaRSocketRequester.wrap(RSocket, MimeType, MimeType, RSocketStrategies)or via one of the (deprecated) connect methods on theRSocketRequesterbuilder, or otherwise returnnull.Method parameters in org.springframework.messaging.rsocket with annotations of type NullableModifier and TypeMethodDescriptionRSocketStrategies.Builder.dataBufferFactory(DataBufferFactory bufferFactory) Configure the DataBufferFactory to use for allocating buffers when preparing requests or creating responses.RSocketRequester.Builder.dataMimeType(MimeType mimeType) Configure the payload data MimeType to specify on theSETUPframe that applies to the whole connection.default <T> Decoder<T>RSocketStrategies.decoder(ResolvableType elementType, MimeType mimeType) Find a compatible Decoder for the given element type.default <T> Encoder<T>RSocketStrategies.encoder(ResolvableType elementType, MimeType mimeType) Find a compatible Encoder for the given element type.Begin to specify a new request with the given metadata value, which can be a concrete value or any producer of a single value that can be adapted to aPublisherviaReactiveAdapterRegistry.RSocketStrategies.Builder.metadataExtractor(MetadataExtractor metadataExtractor) Configure aMetadataExtractorto extract the route along with other metadata.default voidMetadataExtractorRegistry.metadataToExtract(MimeType mimeType, Class<?> targetType, String name) Decode metadata entries with the givenMimeTypeto the specified target class, and store the decoded value in the output map under the given name.default voidMetadataExtractorRegistry.metadataToExtract(MimeType mimeType, ParameterizedTypeReference<?> targetType, String name) Variant ofMetadataExtractorRegistry.metadataToExtract(MimeType, Class, String)that acceptsParameterizedTypeReferenceinstead ofClassfor specifying a target type with generic parameters.RSocketStrategies.Builder.reactiveAdapterStrategy(ReactiveAdapterRegistry registry) Configure the registry for reactive type support.RSocketStrategies.Builder.routeMatcher(RouteMatcher routeMatcher) Configure aRouteMatcherfor matching routes to message handlers based on route patterns.RSocketRequester.Builder.rsocketStrategies(RSocketStrategies strategies) Provide theRSocketStrategiesto use.RSocketRequester.Builder.setupMetadata(Object value, MimeType mimeType) Add metadata entry to the setup payload. -
Uses of Nullable in org.springframework.messaging.rsocket.annotation.support
Methods in org.springframework.messaging.rsocket.annotation.support with annotations of type NullableModifier and TypeMethodDescriptionprotected CompositeMessageConditionRSocketMessageHandler.getCondition(AnnotatedElement element) RSocketMessageHandler.getDefaultDataMimeType()Return the configureddefaultDataMimeType, ornull.static FrameTypeRSocketFrameTypeMessageCondition.getFrameType(Message<?> message) Find the RSocket frame type in the message headers.Method parameters in org.springframework.messaging.rsocket.annotation.support with annotations of type NullableModifier and TypeMethodDescriptionprotected voidRSocketMessageHandler.handleNoMatch(RouteMatcher.Route destination, Message<?> message) voidRSocketMessageHandler.setDefaultDataMimeType(MimeType mimeType) Configure the default content type to use for data payloads if theSETUPframe did not specify one.voidRSocketMessageHandler.setRouteMatcher(RouteMatcher routeMatcher) Set theRouteMatcherto use for mapping messages to handlers based on the route patterns they're configured with. -
Uses of Nullable in org.springframework.messaging.rsocket.service
Methods in org.springframework.messaging.rsocket.service with annotations of type NullableModifier and TypeMethodDescriptionPublisher<?>RSocketRequestValues.getPayload()Return the request payload as a Publisher.RSocketRequestValues.getPayloadElementType()Return the element type for a Publisher payload.RSocketRequestValues.getPayloadValue()Return the request payload as a value to be serialized, if set.RSocketRequestValues.getRoute()Return the route value forroute.Method parameters in org.springframework.messaging.rsocket.service with annotations of type NullableModifier and TypeMethodDescriptionstatic RSocketRequestValues.BuilderbooleanDestinationVariableArgumentResolver.resolve(Object argument, MethodParameter parameter, RSocketRequestValues.Builder requestValues) booleanMetadataArgumentResolver.resolve(Object argument, MethodParameter parameter, RSocketRequestValues.Builder requestValues) booleanPayloadArgumentResolver.resolve(Object argument, MethodParameter parameter, RSocketRequestValues.Builder requestValues) booleanRSocketServiceArgumentResolver.resolve(Object argument, MethodParameter parameter, RSocketRequestValues.Builder requestValues) Resolve the argument value.Constructor parameters in org.springframework.messaging.rsocket.service with annotations of type NullableModifierConstructorDescriptionRSocketRequestValues(String route, List<Object> routeVariables, org.springframework.messaging.rsocket.service.RSocketRequestValues.MetadataHelper metadataHelper, Object payloadValue, Publisher<?> payload, ParameterizedTypeReference<?> payloadElementType) RSocketRequestValues(String route, List<Object> routeVariables, org.springframework.messaging.rsocket.service.RSocketRequestValues.MetadataHelper metadataHelper, Object payloadValue, Publisher<?> payload, ParameterizedTypeReference<?> payloadElementType) RSocketRequestValues(String route, List<Object> routeVariables, org.springframework.messaging.rsocket.service.RSocketRequestValues.MetadataHelper metadataHelper, Object payloadValue, Publisher<?> payload, ParameterizedTypeReference<?> payloadElementType) RSocketRequestValues(String route, List<Object> routeVariables, org.springframework.messaging.rsocket.service.RSocketRequestValues.MetadataHelper metadataHelper, Object payloadValue, Publisher<?> payload, ParameterizedTypeReference<?> payloadElementType) RSocketRequestValues(String route, List<Object> routeVariables, org.springframework.messaging.rsocket.service.RSocketRequestValues.MetadataHelper metadataHelper, Object payloadValue, Publisher<?> payload, ParameterizedTypeReference<?> payloadElementType) RSocketRequestValues(String route, List<Object> routeVariables, org.springframework.messaging.rsocket.service.RSocketRequestValues.MetadataHelper metadataHelper, Object payloadValue, Publisher<?> payload, ParameterizedTypeReference<?> payloadElementType) -
Uses of Nullable in org.springframework.messaging.simp
Methods in org.springframework.messaging.simp with annotations of type NullableModifier and TypeMethodDescriptionSimpAttributes.getAttribute(String name) Return the value for the attribute of the given name, if any.static SimpAttributesSimpAttributesContextHolder.getAttributes()Return the SimpAttributes currently bound to the thread.SimpMessageHeaderAccessor.getDestination()static StringSimpMessageHeaderAccessor.getDestination(Map<String, Object> headers) SimpMessagingTemplate.getHeaderInitializer()Return the configured header initializer.static long[]SimpMessageHeaderAccessor.getHeartbeat(Map<String, Object> headers) SimpMessageMappingInfo.getMatchingCondition(Message<?> message) SimpMessageTypeMessageCondition.getMatchingCondition(Message<?> message) SimpMessageHeaderAccessor.getMessageType()static SimpMessageTypeSimpMessageHeaderAccessor.getMessageType(Map<String, Object> headers) SimpMessageHeaderAccessor.getSessionAttributes()Return the attributes associated with the current session.SimpMessageHeaderAccessor.getSessionAttributes(Map<String, Object> headers) SimpMessageHeaderAccessor.getSessionId()Return the id of the current session.static StringSimpMessageHeaderAccessor.getSessionId(Map<String, Object> headers) SimpMessageHeaderAccessor.getSubscriptionId()static StringSimpMessageHeaderAccessor.getSubscriptionId(Map<String, Object> headers) SimpMessageHeaderAccessor.getUser()Return the user associated with the current session.static PrincipalSimpSessionScope.resolveContextualObject(String key) Method parameters in org.springframework.messaging.simp with annotations of type NullableModifier and TypeMethodDescriptionvoidSimpMessageSendingOperations.convertAndSendToUser(String user, String destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Send a message to the given user.voidSimpMessageSendingOperations.convertAndSendToUser(String user, String destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Send a message to the given user.voidSimpMessagingTemplate.convertAndSendToUser(String user, String destination, Object payload, Map<String, Object> headers) voidSimpMessagingTemplate.convertAndSendToUser(String user, String destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) voidSimpMessagingTemplate.convertAndSendToUser(String user, String destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) voidSimpMessagingTemplate.convertAndSendToUser(String user, String destination, Object payload, MessagePostProcessor postProcessor) booleanSimpMessageHeaderAccessor.getDetailedLogMessage(Object payload) SimpMessagingTemplate.processHeadersToSend(Map<String, Object> headers) Creates a new map and puts the given headers under the keyNATIVE_HEADERS NATIVE_HEADERS NATIVE_HEADERS.static voidSimpAttributesContextHolder.setAttributes(SimpAttributes attributes) Bind the given SimpAttributes to the current thread.voidSimpMessageHeaderAccessor.setDestination(String destination) voidSimpMessagingTemplate.setHeaderInitializer(MessageHeaderInitializer headerInitializer) Configure aMessageHeaderInitializerto apply to the headers of all messages created through theSimpMessagingTemplate.voidSimpMessageHeaderAccessor.setSessionAttributes(Map<String, Object> attributes) A static alternative for access to the session attributes header.voidSimpMessageHeaderAccessor.setSessionId(String sessionId) voidSimpMessageHeaderAccessor.setSubscriptionId(String subscriptionId) voidConstructor parameters in org.springframework.messaging.simp with annotations of type NullableModifierConstructorDescriptionprotectedSimpMessageHeaderAccessor(SimpMessageType messageType, Map<String, List<String>> externalSourceHeaders) A constructor for creating new message headers. -
Uses of Nullable in org.springframework.messaging.simp.annotation.support
Methods in org.springframework.messaging.simp.annotation.support with annotations of type NullableModifier and TypeMethodDescriptionprotected StringSimpAnnotationMethodMessageHandler.getDestination(Message<?> message) SendToMethodReturnValueHandler.getHeaderInitializer()Return the configured header initializer.SimpAnnotationMethodMessageHandler.getHeaderInitializer()Return the configured header initializer.SubscriptionMethodReturnValueHandler.getHeaderInitializer()Return the configured header initializer.protected SimpMessageMappingInfoSimpAnnotationMethodMessageHandler.getMappingForMethod(Method method, Class<?> handlerType) protected SimpMessageMappingInfoSimpAnnotationMethodMessageHandler.getMatchingMapping(SimpMessageMappingInfo mapping, Message<?> message) protected StringSendToMethodReturnValueHandler.getUserName(Message<?> message, MessageHeaders headers) SimpAnnotationMethodMessageHandler.getValidator()Return the configured Validator instance.Method parameters in org.springframework.messaging.simp.annotation.support with annotations of type NullableModifier and TypeMethodDescriptionprotected StringSimpAnnotationMethodMessageHandler.getLookupDestination(String destination) protected String[]SendToMethodReturnValueHandler.getTargetDestinations(Annotation annotation, Message<?> message, String defaultPrefix) voidSendToMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) voidSubscriptionMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) voidSimpAnnotationMethodMessageHandler.setDestinationPrefixes(Collection<String> prefixes) When this property is configured only messages to destinations matching one of the configured prefixes are eligible for handling.voidSendToMethodReturnValueHandler.setHeaderInitializer(MessageHeaderInitializer headerInitializer) Configure aMessageHeaderInitializerto apply to the headers of all messages sent to the client outbound channel.voidSimpAnnotationMethodMessageHandler.setHeaderInitializer(MessageHeaderInitializer headerInitializer) Configure aMessageHeaderInitializerto pass on toHandlerMethodReturnValueHandlersthat send messages from controller return values.voidSubscriptionMethodReturnValueHandler.setHeaderInitializer(MessageHeaderInitializer headerInitializer) Configure aMessageHeaderInitializerto apply to the headers of all messages sent to the client outbound channel.voidSimpAnnotationMethodMessageHandler.setValidator(Validator validator) Set the Validator instance used for validating@Payloadarguments. -
Uses of Nullable in org.springframework.messaging.simp.broker
Methods in org.springframework.messaging.simp.broker with annotations of type NullableModifier and TypeMethodDescriptionAbstractBrokerMessageHandler.getApplicationEventPublisher()SimpleBrokerMessageHandler.getHeaderInitializer()Return the configured header initializer.long[]SimpleBrokerMessageHandler.getHeartbeatValue()The configured value for the heart-beat settings.static RunnableOrderedMessageChannelDecorator.getNextMessageTask(Message<?> message) Obtain the task to release the next message, if found.DefaultSubscriptionRegistry.getSelectorHeaderName()Return the name of the selector header.SimpleBrokerMessageHandler.getTaskScheduler()Return the configured TaskScheduler.Method parameters in org.springframework.messaging.simp.broker with annotations of type NullableModifier and TypeMethodDescriptionprotected booleanAbstractBrokerMessageHandler.checkDestinationPrefix(String destination) Whether a message with the given destination should be processed.protected voidSimpleBrokerMessageHandler.sendMessageToSubscribers(String destination, Message<?> message) voidAbstractBrokerMessageHandler.setApplicationEventPublisher(ApplicationEventPublisher publisher) voidSimpleBrokerMessageHandler.setCacheLimit(Integer cacheLimit) When configured, the specified cache limit is passed down to the underlying SubscriptionRegistry, overriding any default there.voidSimpleBrokerMessageHandler.setHeaderInitializer(MessageHeaderInitializer headerInitializer) Configure aMessageHeaderInitializerto apply to the headers of all messages sent to the client outbound channel.voidSimpleBrokerMessageHandler.setHeartbeatValue(long[] heartbeat) Configure the value for the heart-beat settings.voidSimpleBrokerMessageHandler.setPathMatcher(PathMatcher pathMatcher) When configured, the given PathMatcher is passed down to the underlying SubscriptionRegistry to use for matching destination to subscriptions.voidDefaultSubscriptionRegistry.setSelectorHeaderName(String selectorHeaderName) Configure the name of a header that a subscription message can have for the purpose of filtering messages matched to the subscription.voidSimpleBrokerMessageHandler.setSelectorHeaderName(String selectorHeaderName) Configure the name of a header that a subscription message can have for the purpose of filtering messages matched to the subscription.voidSimpleBrokerMessageHandler.setTaskScheduler(TaskScheduler taskScheduler) Configure theTaskSchedulerto use for providing heartbeat support.voidAbstractBrokerMessageHandler.setUserDestinationPredicate(Predicate<String> predicate) Configure a Predicate to identify messages with a user destination.Constructor parameters in org.springframework.messaging.simp.broker with annotations of type NullableModifierConstructorDescriptionAbstractBrokerMessageHandler(SubscribableChannel inboundChannel, MessageChannel outboundChannel, SubscribableChannel brokerChannel, Collection<String> destinationPrefixes) Constructor with destination prefixes to match to destinations of messages. -
Uses of Nullable in org.springframework.messaging.simp.config
Methods in org.springframework.messaging.simp.config with annotations of type NullableModifier and TypeMethodDescriptionAbstractMessageBrokerConfiguration.getApplicationContext()protected Collection<String>MessageBrokerRegistry.getApplicationDestinationPrefixes()final PathMatcherAbstractMessageBrokerConfiguration.getPathMatcher(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel) Provide access to the configured PatchMatcher for access from other configuration classes.protected PathMatcherMessageBrokerRegistry.getPathMatcher()protected SimpleBrokerMessageHandlerMessageBrokerRegistry.getSimpleBroker(SubscribableChannel brokerChannel) protected StompBrokerRelayMessageHandlerMessageBrokerRegistry.getStompBrokerRelay(SubscribableChannel brokerChannel) protected StringMessageBrokerRegistry.getUserDestinationBroadcast()protected StringStompBrokerRelayRegistration.getUserDestinationBroadcast()protected StringMessageBrokerRegistry.getUserDestinationPrefix()protected StringMessageBrokerRegistry.getUserRegistryBroadcast()protected StringStompBrokerRelayRegistration.getUserRegistryBroadcast()protected IntegerMessageBrokerRegistry.getUserRegistryOrder()AbstractMessageBrokerConfiguration.getValidator()Override this method to provide a customValidator.AbstractMessageBrokerConfiguration.simpleBrokerMessageHandler(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, AbstractSubscribableChannel brokerChannel, UserDestinationResolver userDestinationResolver) AbstractMessageBrokerConfiguration.stompBrokerRelayMessageHandler(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, AbstractSubscribableChannel brokerChannel, UserDestinationMessageHandler userDestinationMessageHandler, MessageHandler userRegistryMessageHandler, UserDestinationResolver userDestinationResolver) AbstractMessageBrokerConfiguration.userRegistryMessageHandler(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, SimpUserRegistry userRegistry, SimpMessagingTemplate brokerMessagingTemplate, TaskScheduler scheduler) Method parameters in org.springframework.messaging.simp.config with annotations of type NullableModifier and TypeMethodDescriptionprotected abstract SimpUserRegistryAbstractMessageBrokerConfiguration.createLocalUserRegistry(Integer order) Create the user registry that provides access to local users.voidAbstractMessageBrokerConfiguration.setApplicationContext(ApplicationContext applicationContext) voidSimpleBrokerRegistration.setSelectorHeaderName(String selectorHeaderName) Configure the name of a header that a subscription message can have for the purpose of filtering messages matched to the subscription.StompBrokerRelayRegistration.setTaskScheduler(TaskScheduler taskScheduler) Some STOMP clients (e.g.AbstractMessageBrokerConfiguration.stompBrokerRelayMessageHandler(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, AbstractSubscribableChannel brokerChannel, UserDestinationMessageHandler userDestinationMessageHandler, MessageHandler userRegistryMessageHandler, UserDestinationResolver userDestinationResolver) ChannelRegistration.taskExecutor(ThreadPoolTaskExecutor taskExecutor) Configure the thread pool backing this message channel using a custom ThreadPoolTaskExecutor.Constructor parameters in org.springframework.messaging.simp.config with annotations of type NullableModifierConstructorDescriptionAbstractBrokerRegistration(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel, String[] destinationPrefixes) Create a new broker registration. -
Uses of Nullable in org.springframework.messaging.simp.stomp
Methods in org.springframework.messaging.simp.stomp with annotations of type NullableModifier and TypeMethodDescriptionString[]StompHeaders.getAcceptVersion()Get the accept-version header.StompHeaderAccessor.getAck()StompHeaders.getAck()Get the ack header.StompHeaderAccessor.getCommand()Return the STOMP command, ornullif not yet set.static StompCommandStompHeaderAccessor.getCommand(Map<String, Object> headers) Return the STOMP command from the given headers, ornullif not set.StompHeaderAccessor.getContentLength()static IntegerStompHeaderAccessor.getContentLength(Map<String, List<String>> nativeHeaders) StompHeaders.getContentType()Return the content-type header value.StompHeaders.getDestination()Get the destination header.BufferingStompDecoder.getExpectedContentLength()Get the expected content length of the currently buffered, incomplete STOMP frame.Return the first header value for the given header name, if any.StompBrokerRelayMessageHandler.getHeaderInitializer()Return the configured header initializer.StompDecoder.getHeaderInitializer()Return the configuredMessageHeaderInitializer, if any.long[]StompHeaders.getHeartbeat()Get the heartbeat header.StompHeaderAccessor.getHost()StompHeaders.getHost()Get the host header.StompHeaders.getId()Get the id header.StompHeaderAccessor.getLogin()StompHeaders.getLogin()Get the login header.StompHeaderAccessor.getMessage()StompHeaderAccessor.getMessageId()StompHeaders.getMessageId()Get the message-id header.StompHeaderAccessor.getNack()StompHeaderAccessor.getNativeHeaders()StompHeaderAccessor.getPasscode()Return the passcode header value, ornullif not set.static StringStompHeaderAccessor.getPasscode(Map<String, Object> headers) Return the passcode header value, ornullif not set.StompHeaders.getPasscode()Get the passcode header.StompHeaderAccessor.getReceipt()StompHeaders.getReceipt()Get the receipt header.StompHeaderAccessor.getReceiptId()StompHeaders.getReceiptId()Get the receipt header.StompSession.Receiptable.getReceiptId()Return the receipt id, ornullif the STOMP frame for which the handle was returned did not have a "receipt" header.StompHeaders.getServer()Get the server header.StompHeaders.getSession()Get the session header.StompHeaders.getSubscription()Get the subscription header.StompSession.Subscription.getSubscriptionId()Return the id for the subscription.DefaultStompSession.getTaskScheduler()Return the configured TaskScheduler to use for receipt tracking.StompBrokerRelayMessageHandler.getTaskScheduler()StompClientSupport.getTaskScheduler()The configured TaskScheduler.TcpOperations<byte[]>StompBrokerRelayMessageHandler.getTcpClient()Get the configured TCP client (nevernullunless not configured invoked and this method is invoked before the handler is started and hence a default implementation initialized).StompHeaderAccessor.getVersion()StompBrokerRelayMessageHandler.getVirtualHost()Return the configured virtual host value.Method parameters in org.springframework.messaging.simp.stomp with annotations of type NullableModifier and TypeMethodDescriptionvoidAdd the given, single header value under the given name.ReactorNettyTcpStompClient.connect(StompHeaders connectHeaders, StompSessionHandler handler) Deprecated.as of 6.0, in favor ofReactorNettyTcpStompClient.connectAsync(StompHeaders, StompSessionHandler)ReactorNettyTcpStompClient.connectAsync(StompHeaders connectHeaders, StompSessionHandler handler) An overloaded version ofReactorNettyTcpStompClient.connectAsync(StompSessionHandler)that accepts headers to use for the STOMP CONNECT frame.protected ConnectionHandlingStompSessionStompClientSupport.createSession(StompHeaders connectHeaders, StompSessionHandler handler) Factory method for create and configure a new session.StompDecoder.decode(ByteBuffer byteBuffer, MultiValueMap<String, String> partialMessageHeaders) Decodes one or more STOMP frames from the givenbufferand returns a list ofMessages.voidDefaultStompSession.disconnect(StompHeaders headers) booleanStompHeaderAccessor.getDetailedLogMessage(Object payload) voidStompSessionHandler.handleException(StompSession session, StompCommand command, StompHeaders headers, byte[] payload, Throwable exception) Handle any exception arising while processing a STOMP frame such as a failure to convert the payload or an unhandled exception in the applicationStompFrameHandler.voidStompSessionHandlerAdapter.handleException(StompSession session, StompCommand command, StompHeaders headers, byte[] payload, Throwable exception) This implementation is empty.voidStompFrameHandler.handleFrame(StompHeaders headers, Object payload) Handle a STOMP frame with the payload converted to the target type returned fromStompFrameHandler.getPayloadType(StompHeaders).voidStompSessionHandlerAdapter.handleFrame(StompHeaders headers, Object payload) This implementation is empty.protected StompHeadersStompClientSupport.processConnectHeaders(StompHeaders connectHeaders) Further initialize the StompHeaders, for example setting the heart-beat header if necessary.static StompHeadersStompHeaders.readOnlyStompHeaders(Map<String, List<String>> headers) Return aStompHeadersobject that can only be read, not written to.voidSet the given, single header value under the given name.voidStompHeaders.setAcceptVersion(String... acceptVersions) Set the accept-version header.voidvoidSet the ack header to one of "auto", "client", or "client-individual".voidStompHeaders.setContentType(MimeType mimeType) Set the content-type header.voidStompHeaderAccessor.setDestination(String destination) voidStompHeaders.setDestination(String destination) Set the destination header.voidStompBrokerRelayMessageHandler.setHeaderInitializer(MessageHeaderInitializer headerInitializer) Configure aMessageHeaderInitializerto apply to the headers of all messages created through theStompBrokerRelayMessageHandlerthat are sent to the client outbound message channel.voidStompDecoder.setHeaderInitializer(MessageHeaderInitializer headerInitializer) Configure aMessageHeaderInitializerto apply to the headers ofMessagesfrom decoded STOMP frames.voidStompHeaders.setHeartbeat(long[] heartbeat) Set the heartbeat header.voidvoidSet the host header.voidSet the id header.voidvoidSet the login header.voidStompHeaderAccessor.setMessage(String content) voidStompHeaderAccessor.setMessageId(String id) voidStompHeaders.setMessageId(String messageId) Set the message-id header.voidvoidStompHeaderAccessor.setPasscode(String passcode) voidStompHeaders.setPasscode(String passcode) Set the passcode header.voidStompHeaderAccessor.setReceipt(String receiptId) voidStompHeaders.setReceipt(String receipt) Set the receipt header.voidStompHeaderAccessor.setReceiptId(String receiptId) voidStompHeaders.setReceiptId(String receiptId) Set the receipt-id header.voidSet the server header.voidStompHeaders.setSession(String session) Set the session header.voidStompHeaders.setSubscription(String subscription) Set the login header.voidStompHeaderAccessor.setSubscriptionId(String subscriptionId) voidStompBrokerRelayMessageHandler.setSystemSubscriptions(Map<String, MessageHandler> subscriptions) Configure one more destinations to subscribe to on the shared "system" connection along with MessageHandler's to handle received messages.voidDefaultStompSession.setTaskScheduler(TaskScheduler taskScheduler) Configure the TaskScheduler to use for receipt tracking.voidStompBrokerRelayMessageHandler.setTaskScheduler(TaskScheduler taskScheduler) Configure theTaskSchedulerto use to reset client-to-broker message count in the current heartbeat period.voidStompClientSupport.setTaskScheduler(TaskScheduler taskScheduler) Configure a scheduler to use for heartbeats and for receipt tracking.voidStompBrokerRelayMessageHandler.setTcpClient(TcpOperations<byte[]> tcpClient) Configure a TCP client for managing TCP connections to the STOMP broker.voidStompHeaderAccessor.setVersion(String version) voidStompBrokerRelayMessageHandler.setVirtualHost(String virtualHost) Set the value of the "host" header to use in STOMP CONNECT frames.voidStompSession.Subscription.unsubscribe(StompHeaders headers) Alternative toStompSession.Subscription.unsubscribe()with additional custom headers to send to the server. -
Uses of Nullable in org.springframework.messaging.simp.user
Methods in org.springframework.messaging.simp.user with annotations of type NullableModifier and TypeMethodDescriptionUserDestinationMessageHandler.getBroadcastDestination()Return the configured destination for unresolved messages.UserDestinationMessageHandler.getHeaderInitializer()Return the configured header initializer.SimpUser.getPrincipal()Return the user associated with the session, if available.SimpUser.getSession(String sessionId) Look up the session for the given id.protected StringDefaultUserDestinationResolver.getTargetDestination(String sourceDestination, String actualDestination, String sessionId, String user) This method determines how to translate the source "user" destination to an actual target destination for the given active user session.Get the user for the given name.UserDestinationResult.getUser()The user for this user destination.DefaultUserDestinationResolver.resolveDestination(Message<?> message) UserDestinationResolver.resolveDestination(Message<?> message) Resolve the given message with a user destination to one or more messages with actual destinations, one for each active user session.Method parameters in org.springframework.messaging.simp.user with annotations of type NullableModifier and TypeMethodDescriptionprotected StringDefaultUserDestinationResolver.getTargetDestination(String sourceDestination, String actualDestination, String sessionId, String user) This method determines how to translate the source "user" destination to an actual target destination for the given active user session.voidUserDestinationMessageHandler.setBroadcastDestination(String destination) Set a destination to broadcast messages to that remain unresolved because the user is not connected.voidUserDestinationMessageHandler.setHeaderInitializer(MessageHeaderInitializer headerInitializer) Configure a customMessageHeaderInitializerto initialize the headers of resolved target messages.booleanMultiServerUserRegistry.supportsSourceType(Class<?> sourceType) Constructor parameters in org.springframework.messaging.simp.user with annotations of type Nullable -
Uses of Nullable in org.springframework.messaging.support
Methods in org.springframework.messaging.support with annotations of type NullableModifier and TypeMethodDescriptionMessage<?>AbstractMessageChannel.ChannelInterceptorChain.applyPostReceive(Message<?> message, MessageChannel channel) Message<?>AbstractMessageChannel.ChannelInterceptorChain.applyPreSend(Message<?> message, MessageChannel channel) default Message<?>ExecutorChannelInterceptor.beforeHandle(Message<?> message, MessageChannel channel, MessageHandler handler) Invoked inside theRunnablesubmitted to the Executor just before calling the target MessageHandler to handle the message.static MessageHeaderAccessorMessageHeaderAccessor.getAccessor(Message<?> message) Return the originalMessageHeaderAccessorused to create the headers of the givenMessage, ornullif that's not available or if its type does not match the required type.static <T extends MessageHeaderAccessor>
TMessageHeaderAccessor.getAccessor(Message<?> message, Class<T> requiredType) Return the originalMessageHeaderAccessorused to create the headers of the givenMessage, ornullif that's not available or if its type does not match the required type.static <T extends MessageHeaderAccessor>
TMessageHeaderAccessor.getAccessor(MessageHeaders messageHeaders, Class<T> requiredType) A variation ofMessageHeaderAccessor.getAccessor(org.springframework.messaging.Message, Class)with aMessageHeadersinstance instead of aMessage.MessageHeaderAccessor.getContentType()MessageHeaderAccessor.getErrorChannel()ExecutorSubscribableChannel.getExecutor()NativeMessageHeaderAccessor.getFirstNativeHeader(String headerName) Return the first value for the specified native header, if present.static StringNativeMessageHeaderAccessor.getFirstNativeHeader(String headerName, Map<String, Object> headers) Return the first value for the specified native header, ornullif none.Retrieve the value for the header with the given name.protected <V> VReturn the header value, ornullif it does not exist or does not match the requestedtype.MessageHeaderAccessor.getId()IdTimestampMessageHeaderInitializer.getIdGenerator()Return the configuredIdGenerator, if any.NativeMessageHeaderAccessor.getNativeHeader(String headerName) Return all values for the specified native header, if present.NativeMessageHeaderAccessor.getNativeHeaders()Subclasses can use this method to access the "native" headers sub-map.Message<?>ErrorMessage.getOriginalMessage()Return the original message (if available) at the point in the stack where the ErrorMessage was created.MessageHeaderAccessor.getReplyChannel()MessageHeaderAccessor.getTimestamp()default Message<?>ChannelInterceptor.postReceive(Message<?> message, MessageChannel channel) Invoked immediately after a Message has been retrieved but before it is returned to the caller.default Message<?>ChannelInterceptor.preSend(Message<?> message, MessageChannel channel) Invoked before the Message is actually sent to the channel.NativeMessageHeaderAccessor.removeNativeHeader(String headerName) Remove the specified native header value replacing existing values.Method parameters in org.springframework.messaging.support with annotations of type NullableModifier and TypeMethodDescriptionvoidNativeMessageHeaderAccessor.addNativeHeader(String name, String value) Add the specified native header value to existing values.voidNativeMessageHeaderAccessor.addNativeHeaders(MultiValueMap<String, String> headers) Add the specified native headers to existing values.default voidExecutorChannelInterceptor.afterMessageHandled(Message<?> message, MessageChannel channel, MessageHandler handler, Exception ex) Invoked inside theRunnablesubmitted to the Executor after calling the target MessageHandler regardless of the outcome (i.e.default voidChannelInterceptor.afterReceiveCompletion(Message<?> message, MessageChannel channel, Exception ex) Invoked after the completion of a receive regardless of any exception that have been raised thus allowing for proper resource cleanup.default voidChannelInterceptor.afterReceiveCompletion(Message<?> message, MessageChannel channel, Exception ex) Invoked after the completion of a receive regardless of any exception that have been raised thus allowing for proper resource cleanup.default voidChannelInterceptor.afterSendCompletion(Message<?> message, MessageChannel channel, boolean sent, Exception ex) Invoked after the completion of a send regardless of any exception that have been raised thus allowing for proper resource cleanup.MessageBuilder.copyHeaders(Map<String, ?> headersToCopy) Copy the name-value pairs from the provided Map.voidMessageHeaderAccessor.copyHeaders(Map<String, ?> headersToCopy) Copy the name-value pairs from the provided Map.voidNativeMessageHeaderAccessor.copyHeaders(Map<String, ?> headersToCopy) MessageBuilder.copyHeadersIfAbsent(Map<String, ?> headersToCopy) Copy the name-value pairs from the provided Map.voidMessageHeaderAccessor.copyHeadersIfAbsent(Map<String, ?> headersToCopy) Copy the name-value pairs from the provided Map.voidNativeMessageHeaderAccessor.copyHeadersIfAbsent(Map<String, ?> headersToCopy) booleanstatic <T extends MessageHeaderAccessor>
TMessageHeaderAccessor.getAccessor(Message<?> message, Class<T> requiredType) Return the originalMessageHeaderAccessorused to create the headers of the givenMessage, ornullif that's not available or if its type does not match the required type.static <T extends MessageHeaderAccessor>
TMessageHeaderAccessor.getAccessor(MessageHeaders messageHeaders, Class<T> requiredType) A variation ofMessageHeaderAccessor.getAccessor(org.springframework.messaging.Message, Class)with aMessageHeadersinstance instead of aMessage.MessageHeaderAccessor.getDetailedLogMessage(Object payload) Return a more detailed message for logging purposes.protected StringMessageHeaderAccessor.getDetailedPayloadLogMessage(Object payload) Set the value for the given header name.voidSet the value for the given header name.voidIdTimestampMessageHeaderInitializer.setIdGenerator(IdGenerator idGenerator) Configure the IdGenerator strategy to initializeMessageHeaderAccessorinstances with.voidAbstractHeaderMapper.setInboundPrefix(String inboundPrefix) Specify a prefix to be appended to the message header name for any user-defined property that is being mapped into the MessageHeaders.voidNativeMessageHeaderAccessor.setNativeHeader(String name, String value) Set the specified native header value replacing existing values.voidNativeMessageHeaderAccessor.setNativeHeaderValues(String name, List<String> values) Variant ofNativeMessageHeaderAccessor.addNativeHeader(String, String)for all values.voidAbstractHeaderMapper.setOutboundPrefix(String outboundPrefix) Specify a prefix to be appended to the protocol property name for any user-defined message header that is being mapped into the protocol-specific Message.voidAbstractMessageChannel.ChannelInterceptorChain.triggerAfterReceiveCompletion(Message<?> message, MessageChannel channel, Exception ex) voidAbstractMessageChannel.ChannelInterceptorChain.triggerAfterReceiveCompletion(Message<?> message, MessageChannel channel, Exception ex) voidAbstractMessageChannel.ChannelInterceptorChain.triggerAfterSendCompletion(Message<?> message, MessageChannel channel, boolean sent, Exception ex) protected voidMessageHeaderAccessor.verifyType(String headerName, Object headerValue) protected voidMessageHeaderAccessor.verifyType(String headerName, Object headerValue) Constructor parameters in org.springframework.messaging.support with annotations of type NullableModifierConstructorDescriptionExecutorSubscribableChannel(Executor executor) Create a newExecutorSubscribableChannelinstance where messages will be sent via the specified executor.MessageHeaderAccessor(Message<?> message) A constructor accepting the headers of an existing message to copy.protectedNativeMessageHeaderAccessor(Map<String, List<String>> nativeHeaders) Protected constructor to create an instance with the given native headers.protectedNativeMessageHeaderAccessor(Message<?> message) Protected constructor that copies headers from another message. -
Uses of Nullable in org.springframework.messaging.tcp
Methods in org.springframework.messaging.tcp with annotations of type NullableModifier and TypeMethodDescriptionReconnectStrategy.getTimeToNextAttempt(int attemptCount) Return the time to the next attempt to reconnect. -
Uses of Nullable in org.springframework.mock.http.server.reactive
Methods in org.springframework.mock.http.server.reactive with annotations of type NullableModifier and TypeMethodDescriptionMockServerHttpRequest.getLocalAddress()MockServerHttpRequest.getRemoteAddress()protected SslInfoMockServerHttpRequest.initSslInfo() -
Uses of Nullable in org.springframework.mock.web
Methods in org.springframework.mock.web with annotations of type NullableModifier and TypeMethodDescriptionMockPageContext.findAttribute(String name) MockHttpServletRequest.getAsyncContext()MockPageContext.getAttribute(String name) MockPageContext.getAttribute(String name, int scope) MockServletContext.getAttribute(String name) MockHttpServletRequest.getAuthType()MockHttpServletRequest.getCharacterEncoding()MockServletContext.getClassLoader()MockSessionCookieConfig.getComment()byte[]MockHttpServletRequest.getContentAsByteArray()Get the content of the request body as a byte array.MockHttpServletRequest.getContentAsString()Get the content of the request body as aString, using the configured character encoding.MockHttpServletRequest.getContentType()MockHttpServletResponse.getContentType()MockMultipartFile.getContentType()MockPart.getContentType()Cookie[]MockHttpServletRequest.getCookies()MockAsyncContext.getDispatchedPath()MockSessionCookieConfig.getDomain()MockPageContext.getELContext()MockHttpServletResponse.getErrorMessage()Return the error message used when callingHttpServletResponse.sendError(int, String).MockPageContext.getException()MockCookie.getExpires()Get the "Expires" attribute for this cookie.MockPageContext.getExpressionEvaluator()Deprecated.MockServletContext.getFilterRegistration(String filterName) This method always returnsnull.MockHttpServletResponse.getForwardedUrl()Return the primary value for the given header as a String, if any.MockHttpServletResponse.getHeaderValue(String name) Return the primary value for the given header, if any.MockHttpServletResponse.getIncludedUrl()MockHttpServletMapping.getMappingMatch()MockHttpServletRequest.getMethod()MockServletContext.getMimeType(String filePath) MockSessionCookieConfig.getName()MockHttpServletRequest.getParameter(String name) MockSessionCookieConfig.getPath()MockHttpServletRequest.getPathInfo()MockHttpServletRequest.getPathTranslated()MockHttpServletRequest.getQueryString()MockServletContext.getRealPath(String path) MockHttpServletResponse.getRedirectedUrl()MockHttpServletRequest.getRemoteUser()MockFilterChain.getRequest()Return the request thatMockFilterChain.doFilter(jakarta.servlet.ServletRequest, jakarta.servlet.ServletResponse)has been called with.MockServletContext.getRequestCharacterEncoding()MockHttpServletRequest.getRequestedSessionId()MockHttpServletRequest.getRequestURI()MockServletContext.getResource(String path) MockServletContext.getResourceAsStream(String path) MockServletContext.getResourcePaths(String path) MockAsyncContext.getResponse()MockFilterChain.getResponse()Return the response thatMockFilterChain.doFilter(jakarta.servlet.ServletRequest, jakarta.servlet.ServletResponse)has been called with.MockServletContext.getResponseCharacterEncoding()MockCookie.getSameSite()Get the "SameSite" attribute for this cookie.MockServletContext.getServletRegistration(String servletName) This method always returnsnull.MockHttpServletRequest.getSession()MockHttpServletRequest.getSession(boolean create) MockPart.getSubmittedFileName()MockHttpServletRequest.getUserPrincipal()MockPageContext.getVariableResolver()Deprecated.Method parameters in org.springframework.mock.web with annotations of type NullableModifier and TypeMethodDescriptionvoidvoidMockHttpServletRequest.addParameter(String name, String value) Add a single value for the specified HTTP parameter.voidMockAsyncContext.dispatch(ServletContext context, String path) voidMockHttpServletRequest.setAsyncContext(MockAsyncContext asyncContext) voidMockCookie.setAttribute(String name, String value) voidMockHttpServletRequest.setAttribute(String name, Object value) voidMockHttpSession.setAttribute(String name, Object value) voidMockPageContext.setAttribute(String name, Object value) voidMockPageContext.setAttribute(String name, Object value, int scope) voidMockServletContext.setAttribute(String name, Object value) voidMockHttpServletRequest.setAuthType(String authType) voidMockHttpServletRequest.setCharacterEncoding(String characterEncoding) voidMockSessionCookieConfig.setComment(String comment) voidMockHttpServletRequest.setContent(byte[] content) Set the content of the request body as a byte array.voidMockHttpServletRequest.setContentType(String contentType) voidMockHttpServletResponse.setContentType(String contentType) voidMockHttpServletRequest.setCookies(Cookie... cookies) voidvoidMockCookie.setExpires(ZonedDateTime expires) Set the "Expires" attribute for this cookie.voidMockHttpServletResponse.setForwardedUrl(String forwardedUrl) voidvoidMockHttpServletRequest.setHttpServletMapping(HttpServletMapping httpServletMapping) voidMockHttpServletResponse.setIncludedUrl(String includedUrl) voidvoidvoidvoidvoidMockHttpServletRequest.setPathInfo(String pathInfo) voidMockHttpServletRequest.setQueryString(String queryString) voidMockHttpServletRequest.setRemoteUser(String remoteUser) voidMockServletContext.setRequestCharacterEncoding(String requestCharacterEncoding) voidMockHttpServletRequest.setRequestedSessionId(String requestedSessionId) voidMockHttpServletRequest.setRequestURI(String requestURI) voidMockServletContext.setResponseCharacterEncoding(String responseCharacterEncoding) voidMockCookie.setSameSite(String sameSite) Set the "SameSite" attribute for this cookie.voidMockHttpServletRequest.setUserPrincipal(Principal userPrincipal) MockHttpServletRequest.startAsync(ServletRequest request, ServletResponse response) Constructor parameters in org.springframework.mock.web with annotations of type NullableModifierConstructorDescriptionMockAsyncContext(ServletRequest request, ServletResponse response) MockBodyContent(String content, HttpServletResponse response, Writer targetWriter) Create a MockBodyContent for the given response.MockBodyContent(String content, HttpServletResponse response, Writer targetWriter) Create a MockBodyContent for the given response.MockFilterConfig(ServletContext servletContext) Create a new MockFilterConfig.MockFilterConfig(ServletContext servletContext, String filterName) Create a new MockFilterConfig.MockHttpServletMapping(String matchValue, String pattern, String servletName, MappingMatch match) MockHttpServletRequest(ServletContext servletContext) Create a newMockHttpServletRequestwith the suppliedServletContext.MockHttpServletRequest(ServletContext servletContext, String method, String requestURI) MockHttpServletRequest(ServletContext servletContext, String method, String requestURI) MockHttpServletRequest(ServletContext servletContext, String method, String requestURI) MockHttpServletRequest(String method, String requestURI) Create a newMockHttpServletRequestwith a defaultMockServletContext.MockHttpServletRequest(String method, String requestURI) Create a newMockHttpServletRequestwith a defaultMockServletContext.MockHttpSession(ServletContext servletContext) Create a new MockHttpSession.MockHttpSession(ServletContext servletContext, String id) Create a new MockHttpSession.MockHttpSession(ServletContext servletContext, String id) Create a new MockHttpSession.MockJspWriter(HttpServletResponse response, Writer targetWriter) Create a MockJspWriter for the given response.MockJspWriter(HttpServletResponse response, Writer targetWriter) Create a MockJspWriter for the given response.MockMultipartFile(String name, byte[] content) Create a new MockMultipartFile with the given content.MockMultipartFile(String name, String originalFilename, String contentType, byte[] content) Create a new MockMultipartFile with the given content.MockMultipartFile(String name, String originalFilename, String contentType, byte[] content) Create a new MockMultipartFile with the given content.MockMultipartFile(String name, String originalFilename, String contentType, byte[] content) Create a new MockMultipartFile with the given content.MockMultipartFile(String name, String originalFilename, String contentType, InputStream contentStream) Create a new MockMultipartFile with the given content.MockMultipartFile(String name, String originalFilename, String contentType, InputStream contentStream) Create a new MockMultipartFile with the given content.MockMultipartHttpServletRequest(ServletContext servletContext) Create a newMockMultipartHttpServletRequestwith the suppliedServletContext.MockPageContext(ServletContext servletContext) Create new MockPageContext with a defaultMockHttpServletRequest,MockHttpServletResponse,MockServletConfig.MockPageContext(ServletContext servletContext, HttpServletRequest request) Create new MockPageContext with a MockHttpServletResponse, MockServletConfig.MockPageContext(ServletContext servletContext, HttpServletRequest request) Create new MockPageContext with a MockHttpServletResponse, MockServletConfig.MockPageContext(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response) Create new MockPageContext with a MockServletConfig.MockPageContext(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response) Create new MockPageContext with a MockServletConfig.MockPageContext(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response) Create new MockPageContext with a MockServletConfig.MockPageContext(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, ServletConfig servletConfig) Create new MockServletConfig.MockPageContext(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, ServletConfig servletConfig) Create new MockServletConfig.MockPageContext(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, ServletConfig servletConfig) Create new MockServletConfig.MockPageContext(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, ServletConfig servletConfig) Create new MockServletConfig.Constructor for a part with byte[] content only.Constructor for a part with a filename and byte[] content.Constructor for a part with a filename and byte[] content.MockServletConfig(ServletContext servletContext) Create a new MockServletConfig.MockServletConfig(ServletContext servletContext, String servletName) Create a new MockServletConfig.MockServletContext(String resourceBasePath, ResourceLoader resourceLoader) Create a newMockServletContextusing the supplied resource base path and resource loader.MockServletContext(ResourceLoader resourceLoader) Create a newMockServletContext, using the specifiedResourceLoaderand no base path. -
Uses of Nullable in org.springframework.mock.web.server
Constructor parameters in org.springframework.mock.web.server with annotations of type Nullable -
Uses of Nullable in org.springframework.orm
Methods in org.springframework.orm with annotations of type NullableModifier and TypeMethodDescriptionObjectOptimisticLockingFailureException.getIdentifier()Return the identifier of the object for which the locking failed.ObjectRetrievalFailureException.getIdentifier()Return the identifier of the object that was not found.Class<?>ObjectOptimisticLockingFailureException.getPersistentClass()Return the persistent class of the object for which the locking failed.Class<?>ObjectRetrievalFailureException.getPersistentClass()Return the persistent class of the object that was not found.ObjectOptimisticLockingFailureException.getPersistentClassName()Return the name of the persistent class of the object for which the locking failed.ObjectRetrievalFailureException.getPersistentClassName()Return the name of the persistent class of the object that was not found.Constructor parameters in org.springframework.orm with annotations of type NullableModifierConstructorDescriptionObjectOptimisticLockingFailureException(Class<?> persistentClass, Object identifier, String msg, Throwable cause) Create a new ObjectOptimisticLockingFailureException for the given object, with the given explicit message.ObjectOptimisticLockingFailureException(Class<?> persistentClass, Object identifier, String msg, Throwable cause) Create a new ObjectOptimisticLockingFailureException for the given object, with the given explicit message.ObjectOptimisticLockingFailureException(Class<?> persistentClass, Object identifier, Throwable cause) Create a new ObjectOptimisticLockingFailureException for the given object, with the default "optimistic locking failed" message.ObjectOptimisticLockingFailureException(String persistentClassName, Object identifier, String msg, Throwable cause) Create a new ObjectOptimisticLockingFailureException for the given object, with the given explicit message.ObjectOptimisticLockingFailureException(String persistentClassName, Object identifier, String msg, Throwable cause) Create a new ObjectOptimisticLockingFailureException for the given object, with the given explicit message.ObjectOptimisticLockingFailureException(String persistentClassName, Object identifier, Throwable cause) Create a new ObjectOptimisticLockingFailureException for the given object, with the default "optimistic locking failed" message.ObjectRetrievalFailureException(Class<?> persistentClass, Object identifier, String msg, Throwable cause) Create a new ObjectRetrievalFailureException for the given object, with the given explicit message and exception.ObjectRetrievalFailureException(Class<?> persistentClass, Object identifier, String msg, Throwable cause) Create a new ObjectRetrievalFailureException for the given object, with the given explicit message and exception.ObjectRetrievalFailureException(String persistentClassName, Object identifier, String msg, Throwable cause) Create a new ObjectRetrievalFailureException for the given object, with the given explicit message and exception.ObjectRetrievalFailureException(String persistentClassName, Object identifier, String msg, Throwable cause) Create a new ObjectRetrievalFailureException for the given object, with the given explicit message and exception. -
Uses of Nullable in org.springframework.orm.hibernate5
Methods in org.springframework.orm.hibernate5 with annotations of type NullableModifier and TypeMethodDescriptionprotected <T> THibernateTemplate.doExecute(HibernateCallback<T> action, boolean enforceNativeSession) Execute the action specified by the given action object within a Session.HibernateCallback.doInHibernate(Session session) Gets called byHibernateTemplate.executewith an active HibernateSession.<T> THibernateOperations.execute(HibernateCallback<T> action) Execute the action specified by the given action object within aSession.<T> THibernateTemplate.execute(HibernateCallback<T> action) <T> THibernateTemplate.executeWithNativeSession(HibernateCallback<T> action) Execute the action specified by the given action object within a nativeSession.<T> THibernateOperations.get(Class<T> entityClass, Serializable id) Return the persistent instance of the given entity class with the given identifier, ornullif not found.<T> THibernateOperations.get(Class<T> entityClass, Serializable id, LockMode lockMode) Return the persistent instance of the given entity class with the given identifier, ornullif not found.HibernateOperations.get(String entityName, Serializable id) Return the persistent instance of the given entity class with the given identifier, ornullif not found.HibernateOperations.get(String entityName, Serializable id, LockMode lockMode) Return the persistent instance of the given entity class with the given identifier, ornullif not found.<T> THibernateTemplate.get(Class<T> entityClass, Serializable id) <T> THibernateTemplate.get(Class<T> entityClass, Serializable id, LockMode lockMode) HibernateTemplate.get(String entityName, Serializable id) HibernateTemplate.get(String entityName, Serializable id, LockMode lockMode) HibernateTransactionManager.getDataSource()Return the JDBC DataSource that this instance manages transactions for.static DataSourceSessionFactoryUtils.getDataSource(SessionFactory sessionFactory) Determine the DataSource of the given SessionFactory.HibernateTransactionManager.getEntityInterceptor()Return the current Hibernate entity interceptor, ornullif none.String[]HibernateTemplate.getFilterNames()Return the names of Hibernate filters to be activated, if any.LocalSessionFactoryBean.getObject()SessionHolder.getPreviousFlushMode()HibernateTemplate.getQueryCacheRegion()Return the name of the cache region for queries executed by this template.HibernateTemplate.getSessionFactory()Return the Hibernate SessionFactory that should be used to create Hibernate Sessions.HibernateTransactionManager.getSessionFactory()Return the SessionFactory that this instance should manage transactions for.SessionHolder.getTransaction()HibernateExceptionTranslator.translateExceptionIfPossible(RuntimeException ex) Method parameters in org.springframework.orm.hibernate5 with annotations of type NullableModifier and TypeMethodDescriptionintHibernateTemplate.bulkUpdate(String queryString, Object... values) Deprecated.static voidSessionFactoryUtils.closeSession(Session session) Perform actual closing of the Hibernate Session, catching and logging any cleanup exceptions thrown.voidvoidprotected voidbooleanList<?>Deprecated.<T> List<T>HibernateTemplate.findByExample(String entityName, T exampleEntity, int firstResult, int maxResults) List<?>HibernateTemplate.findByNamedQuery(String queryName, Object... values) Deprecated.List<?>HibernateTemplate.findByNamedQueryAndNamedParam(String queryName, String[] paramNames, Object[] values) Deprecated.List<?>HibernateTemplate.findByNamedQueryAndNamedParam(String queryName, String[] paramNames, Object[] values) Deprecated.<T> THibernateTemplate.get(Class<T> entityClass, Serializable id, LockMode lockMode) HibernateTemplate.get(String entityName, Serializable id, LockMode lockMode) Iterator<?>Deprecated.<T> THibernateTemplate.load(Class<T> entityClass, Serializable id, LockMode lockMode) HibernateTemplate.load(String entityName, Serializable id, LockMode lockMode) voidvoidHibernateTransactionManager.setDataSource(DataSource dataSource) Set the JDBC DataSource that this instance should manage transactions for.voidHibernateTransactionManager.setEntityInterceptor(Interceptor entityInterceptor) Set a Hibernate entity interceptor that allows to inspect and change property values before writing to and reading from the database.voidHibernateTemplate.setFilterNames(String... filterNames) Set one or more names of Hibernate filters to be activated for all Sessions that this accessor works with.voidSessionHolder.setPreviousFlushMode(FlushMode previousFlushMode) voidHibernateTemplate.setQueryCacheRegion(String queryCacheRegion) Set the name of the cache region for queries executed by this template.voidHibernateTemplate.setSessionFactory(SessionFactory sessionFactory) Set the Hibernate SessionFactory that should be used to create Hibernate Sessions.voidHibernateTransactionManager.setSessionFactory(SessionFactory sessionFactory) Set the SessionFactory that this instance should manage transactions for.voidSessionHolder.setTransaction(Transaction transaction) voidvoidConstructor parameters in org.springframework.orm.hibernate5 with annotations of type NullableModifierConstructorDescriptionCreate a new HibernateSystemException, wrapping an arbitrary HibernateException.LocalSessionFactoryBuilder(DataSource dataSource) Create a new LocalSessionFactoryBuilder for the given DataSource.LocalSessionFactoryBuilder(DataSource dataSource, ClassLoader classLoader) Create a new LocalSessionFactoryBuilder for the given DataSource.LocalSessionFactoryBuilder(DataSource dataSource, ResourceLoader resourceLoader) Create a new LocalSessionFactoryBuilder for the given DataSource.LocalSessionFactoryBuilder(DataSource dataSource, ResourceLoader resourceLoader, MetadataSources metadataSources) Create a new LocalSessionFactoryBuilder for the given DataSource. -
Uses of Nullable in org.springframework.orm.hibernate5.support
Methods in org.springframework.orm.hibernate5.support with annotations of type NullableModifier and TypeMethodDescriptionfinal HibernateTemplateHibernateDaoSupport.getHibernateTemplate()Return the HibernateTemplate for this DAO, pre-initialized with the SessionFactory or set explicitly.final SessionFactoryHibernateDaoSupport.getSessionFactory()Return the Hibernate SessionFactory used by this DAO.OpenSessionInterceptor.getSessionFactory()Return the Hibernate SessionFactory that should be used to create Hibernate Sessions.OpenSessionInViewInterceptor.getSessionFactory()Return the Hibernate SessionFactory that should be used to create Hibernate Sessions.OpenSessionInterceptor.invoke(MethodInvocation invocation) Method parameters in org.springframework.orm.hibernate5.support with annotations of type NullableModifier and TypeMethodDescriptionvoidOpenSessionInViewInterceptor.afterCompletion(WebRequest request, Exception ex) Unbind the HibernateSessionfrom the thread and close it.voidOpenSessionInViewInterceptor.postHandle(WebRequest request, ModelMap model) final voidHibernateDaoSupport.setHibernateTemplate(HibernateTemplate hibernateTemplate) Set the HibernateTemplate for this DAO explicitly, as an alternative to specifying a SessionFactory.voidOpenSessionInterceptor.setSessionFactory(SessionFactory sessionFactory) Set the Hibernate SessionFactory that should be used to create Hibernate Sessions.voidOpenSessionInViewInterceptor.setSessionFactory(SessionFactory sessionFactory) Set the Hibernate SessionFactory that should be used to create Hibernate Sessions. -
Uses of Nullable in org.springframework.orm.jpa
Methods in org.springframework.orm.jpa with annotations of type NullableModifier and TypeMethodDescriptionDefaultJpaDialect.beginTransaction(EntityManager entityManager, TransactionDefinition definition) This implementation invokes the standard JPATransaction.beginmethod.JpaDialect.beginTransaction(EntityManager entityManager, TransactionDefinition definition) Begin the given JPA transaction, applying the semantics specified by the given Spring transaction definition (in particular, an isolation level and a timeout).static DataAccessExceptionEntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(RuntimeException ex) Convert the given runtime exception to an appropriate exception from theorg.springframework.daohierarchy.static EntityManagerEntityManagerFactoryUtils.doGetTransactionalEntityManager(EntityManagerFactory emf, Map<?, ?> properties) Obtain a JPA EntityManager from the given factory.static EntityManagerEntityManagerFactoryUtils.doGetTransactionalEntityManager(EntityManagerFactory emf, Map<?, ?> properties, boolean synchronizedWithTransaction) Obtain a JPA EntityManager from the given factory.AbstractEntityManagerFactoryBean.getBootstrapExecutor()Return the asynchronous executor for background bootstrapping, if any.AbstractEntityManagerFactoryBean.getDataSource()EntityManagerFactoryInfo.getDataSource()Return the JDBC DataSource that this EntityManagerFactory obtains its JDBC Connections from.JpaTransactionManager.getDataSource()Return the JDBC DataSource that this instance manages transactions for.LocalContainerEntityManagerFactoryBean.getDataSource()EntityManagerFactoryAccessor.getEntityManagerFactory()Return the JPA EntityManagerFactory that should be used to create EntityManagers.JpaTransactionManager.getEntityManagerFactory()Return the EntityManagerFactory that this instance should manage transactions for.Class<? extends EntityManager>AbstractEntityManagerFactoryBean.getEntityManagerInterface()Class<? extends EntityManager>EntityManagerFactoryInfo.getEntityManagerInterface()Return the (potentially vendor-specific) EntityManager interface that this factory's EntityManagers will implement.DefaultJpaDialect.getJdbcConnection(EntityManager entityManager, boolean readOnly) This implementation always returnsnull, indicating that no JDBC Connection can be provided.JpaDialect.getJdbcConnection(EntityManager entityManager, boolean readOnly) Retrieve the JDBC Connection that the given JPA EntityManager uses underneath, if accessing a relational database.AbstractEntityManagerFactoryBean.getJpaDialect()EntityManagerFactoryInfo.getJpaDialect()Return the vendor-specific JpaDialect implementation for this EntityManagerFactory, ornullif not known.default JpaDialectJpaVendorAdapter.getJpaDialect()Return the vendor-specific JpaDialect implementation for this provider, ornullif there is none.AbstractEntityManagerFactoryBean.getJpaVendorAdapter()Return the JpaVendorAdapter implementation for this EntityManagerFactory, ornullif not known.AbstractEntityManagerFactoryBean.getObject()Return the singleton EntityManagerFactory.AbstractEntityManagerFactoryBean.getPersistenceProvider()EntityManagerFactoryInfo.getPersistenceProvider()Return the underlying PersistenceProvider that the underlying EntityManagerFactory was created with.default StringJpaVendorAdapter.getPersistenceProviderRootPackage()Return the name of the persistence provider's root package (e.g.AbstractEntityManagerFactoryBean.getPersistenceUnitInfo()EntityManagerFactoryInfo.getPersistenceUnitInfo()Return the PersistenceUnitInfo used to create this EntityManagerFactory, if the in-container API was used.LocalContainerEntityManagerFactoryBean.getPersistenceUnitInfo()AbstractEntityManagerFactoryBean.getPersistenceUnitName()EntityManagerFactoryAccessor.getPersistenceUnitName()Return the name of the persistence unit to access the EntityManagerFactory for, if any.EntityManagerFactoryInfo.getPersistenceUnitName()Return the name of the persistence unit used to create this EntityManagerFactory, ornullif it is an unnamed default.JpaTransactionManager.getPersistenceUnitName()Return the name of the persistence unit to manage transactions for, if any.LocalContainerEntityManagerFactoryBean.getPersistenceUnitName()protected SavepointManagerEntityManagerHolder.getSavepointManager()protected EntityManagerEntityManagerFactoryAccessor.getTransactionalEntityManager()Obtain the transactional EntityManager for this accessor's EntityManagerFactory, if any.static EntityManagerEntityManagerFactoryUtils.getTransactionalEntityManager(EntityManagerFactory emf) Obtain a JPA EntityManager from the given factory.static EntityManagerEntityManagerFactoryUtils.getTransactionalEntityManager(EntityManagerFactory emf, Map<?, ?> properties) Obtain a JPA EntityManager from the given factory.DefaultJpaDialect.prepareTransaction(EntityManager entityManager, boolean readOnly, String name) JpaDialect.prepareTransaction(EntityManager entityManager, boolean readOnly, String name) Prepare a JPA transaction, applying the specified semantics.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(RuntimeException ex) Implementation of the PersistenceExceptionTranslator interface, as autodetected by Spring's PersistenceExceptionTranslationPostProcessor.DefaultJpaDialect.translateExceptionIfPossible(RuntimeException ex) This implementation delegates to EntityManagerFactoryUtils.Method parameters in org.springframework.orm.jpa with annotations of type NullableModifier and TypeMethodDescriptionvoidDefaultJpaDialect.cleanupTransaction(Object transactionData) This implementation does nothing, since the defaultbeginTransactionimplementation does not require any cleanup.voidJpaDialect.cleanupTransaction(Object transactionData) Clean up the transaction via the given transaction data.static voidEntityManagerFactoryUtils.closeEntityManager(EntityManager em) Close the given JPA EntityManager, catching and logging any cleanup exceptions thrown.static EntityManagerExtendedEntityManagerCreator.createContainerManagedEntityManager(EntityManagerFactory emf, Map<?, ?> properties) Create a container-managed extended EntityManager proxy.static EntityManagerExtendedEntityManagerCreator.createContainerManagedEntityManager(EntityManagerFactory emf, Map<?, ?> properties, boolean synchronizedWithTransaction) Create a container-managed extended EntityManager proxy.protected EntityManagerFactoryAbstractEntityManagerFactoryBean.createEntityManagerFactoryProxy(EntityManagerFactory emf) Create a proxy for the givenEntityManagerFactory.AbstractEntityManagerFactoryBean.createNativeEntityManager(Map<?, ?> properties) EntityManagerFactoryInfo.createNativeEntityManager(Map<?, ?> properties) Create a native JPA EntityManager to be used as the framework-managed resource behind an application-level EntityManager handle.static EntityManagerSharedEntityManagerCreator.createSharedEntityManager(EntityManagerFactory emf, Map<?, ?> properties) Create a transactional EntityManager proxy for the given EntityManagerFactory.static EntityManagerSharedEntityManagerCreator.createSharedEntityManager(EntityManagerFactory emf, Map<?, ?> properties, boolean synchronizedWithTransaction) Create a transactional EntityManager proxy for the given EntityManagerFactory.static EntityManagerSharedEntityManagerCreator.createSharedEntityManager(EntityManagerFactory emf, Map<?, ?> properties, boolean synchronizedWithTransaction, Class<?>... entityManagerInterfaces) Create a transactional EntityManager proxy for the given EntityManagerFactory.static EntityManagerSharedEntityManagerCreator.createSharedEntityManager(EntityManagerFactory emf, Map<?, ?> properties, Class<?>... entityManagerInterfaces) Create a transactional EntityManager proxy for the given EntityManagerFactory.static EntityManagerEntityManagerFactoryUtils.doGetTransactionalEntityManager(EntityManagerFactory emf, Map<?, ?> properties, boolean synchronizedWithTransaction) Obtain a JPA EntityManager from the given factory.protected voidstatic EntityManagerFactoryEntityManagerFactoryUtils.findEntityManagerFactory(ListableBeanFactory beanFactory, String unitName) Find an EntityManagerFactory with the given name in the given Spring application context (represented as ListableBeanFactory).static EntityManagerEntityManagerFactoryUtils.getTransactionalEntityManager(EntityManagerFactory emf, Map<?, ?> properties) Obtain a JPA EntityManager from the given factory.DefaultJpaDialect.prepareTransaction(EntityManager entityManager, boolean readOnly, String name) JpaDialect.prepareTransaction(EntityManager entityManager, boolean readOnly, String name) Prepare a JPA transaction, applying the specified semantics.voidAbstractEntityManagerFactoryBean.setBootstrapExecutor(AsyncTaskExecutor bootstrapExecutor) Specify an asynchronous executor for background bootstrapping, e.g.voidJpaTransactionManager.setDataSource(DataSource dataSource) Set the JDBC DataSource that this instance should manage transactions for.voidLocalContainerEntityManagerFactoryBean.setDataSource(DataSource dataSource) Specify the JDBC DataSource that the JPA persistence provider is supposed to use for accessing the database.voidEntityManagerFactoryAccessor.setEntityManagerFactory(EntityManagerFactory emf) Set the JPA EntityManagerFactory that should be used to create EntityManagers.voidJpaTransactionManager.setEntityManagerFactory(EntityManagerFactory emf) Set the EntityManagerFactory that this instance should manage transactions for.voidAbstractEntityManagerFactoryBean.setEntityManagerInterface(Class<? extends EntityManager> emInterface) Specify the (potentially vendor-specific) EntityManager interface that this factory's EntityManagers are supposed to implement.voidAbstractEntityManagerFactoryBean.setJpaDialect(JpaDialect jpaDialect) Specify the vendor-specific JpaDialect implementation to associate with this EntityManagerFactory.voidJpaTransactionManager.setJpaDialect(JpaDialect jpaDialect) Set the JPA dialect to use for this transaction manager.voidJpaTransactionManager.setJpaProperties(Properties jpaProperties) Specify JPA properties, to be passed intoEntityManagerFactory.createEntityManager(Map)(if any).voidAbstractEntityManagerFactoryBean.setJpaPropertyMap(Map<String, ?> jpaProperties) Specify JPA properties as a Map, to be passed intoPersistence.createEntityManagerFactory(if any).voidEntityManagerFactoryAccessor.setJpaPropertyMap(Map<String, Object> jpaProperties) Specify JPA properties as a Map, to be passed intoEntityManagerFactory.createEntityManager(Map)(if any).voidJpaTransactionManager.setJpaPropertyMap(Map<String, ?> jpaProperties) Specify JPA properties as a Map, to be passed intoEntityManagerFactory.createEntityManager(Map)(if any).voidAbstractEntityManagerFactoryBean.setJpaVendorAdapter(JpaVendorAdapter jpaVendorAdapter) Specify the JpaVendorAdapter implementation for the desired JPA provider, if any.voidLocalContainerEntityManagerFactoryBean.setJtaDataSource(DataSource jtaDataSource) Specify the JDBC DataSource that the JPA persistence provider is supposed to use for accessing the database.voidAbstractEntityManagerFactoryBean.setPersistenceProvider(PersistenceProvider persistenceProvider) Set the PersistenceProvider instance to use for creating the EntityManagerFactory.voidAbstractEntityManagerFactoryBean.setPersistenceUnitName(String persistenceUnitName) Specify the name of the EntityManagerFactory configuration.voidEntityManagerFactoryAccessor.setPersistenceUnitName(String persistenceUnitName) Set the name of the persistence unit to access the EntityManagerFactory for.voidJpaTransactionManager.setPersistenceUnitName(String persistenceUnitName) Set the name of the persistence unit to manage transactions for.voidLocalContainerEntityManagerFactoryBean.setPersistenceUnitName(String persistenceUnitName) Uses the specified persistence unit name as the name of the default persistence unit, if applicable.protected voidEntityManagerHolder.setSavepointManager(SavepointManager savepointManager) Constructor parameters in org.springframework.orm.jpa with annotations of type Nullable -
Uses of Nullable in org.springframework.orm.jpa.persistenceunit
Methods in org.springframework.orm.jpa.persistenceunit with annotations of type NullableModifier and TypeMethodDescriptionMutablePersistenceUnitInfo.getClassLoader()This implementation returns the default ClassLoader.DefaultPersistenceUnitManager.getDataSourceLookup()Return the JDBC DataSourceLookup that provides DataSources for the persistence provider, resolving data source names inpersistence.xmlagainst Spring-managed DataSource instances.DefaultPersistenceUnitManager.getDefaultDataSource()Return the JDBC DataSource that the JPA persistence provider is supposed to use for accessing the database if none has been specified inpersistence.xml.DefaultPersistenceUnitManager.getDefaultJtaDataSource()Return the JTA-aware DataSource that the JPA persistence provider is supposed to use for accessing the database if none has been specified inpersistence.xml.MutablePersistenceUnitInfo.getJtaDataSource()DefaultPersistenceUnitManager.getLoadTimeWeaver()Return the Spring LoadTimeWeaver to use for class instrumentation according to the JPA class transformer contract.MutablePersistenceUnitInfo.getNonJtaDataSource()MutablePersistenceUnitInfo.getPersistenceProviderClassName()MutablePersistenceUnitInfo.getPersistenceProviderPackageName()protected final MutablePersistenceUnitInfoDefaultPersistenceUnitManager.getPersistenceUnitInfo(String persistenceUnitName) Return the specified PersistenceUnitInfo from this manager's cache of processed persistence units, keeping it in the cache (i.e.MutablePersistenceUnitInfo.getPersistenceUnitName()DefaultPersistenceUnitManager.getPersistenceUnitPostProcessors()Return the PersistenceUnitPostProcessors to be applied to each PersistenceUnitInfo that has been parsed by this manager.MutablePersistenceUnitInfo.getPersistenceUnitRootUrl()PersistenceManagedTypes.getPersistenceUnitRootUrl()Return the persistence unit root url ornullif it could not be determined.Method parameters in org.springframework.orm.jpa.persistenceunit with annotations of type NullableModifier and TypeMethodDescriptionvoidDefaultPersistenceUnitManager.setDataSourceLookup(DataSourceLookup dataSourceLookup) Specify the JDBC DataSourceLookup that provides DataSources for the persistence provider, resolving data source names inpersistence.xmlagainst Spring-managed DataSource instances.voidDefaultPersistenceUnitManager.setDefaultDataSource(DataSource defaultDataSource) Specify the JDBC DataSource that the JPA persistence provider is supposed to use for accessing the database if none has been specified inpersistence.xml.voidDefaultPersistenceUnitManager.setDefaultJtaDataSource(DataSource defaultJtaDataSource) Specify the JDBC DataSource that the JPA persistence provider is supposed to use for accessing the database if none has been specified inpersistence.xml.voidMutablePersistenceUnitInfo.setJtaDataSource(DataSource jtaDataSource) voidDefaultPersistenceUnitManager.setLoadTimeWeaver(LoadTimeWeaver loadTimeWeaver) Specify the Spring LoadTimeWeaver to use for class instrumentation according to the JPA class transformer contract.voidMutablePersistenceUnitInfo.setNonJtaDataSource(DataSource nonJtaDataSource) voidMutablePersistenceUnitInfo.setPersistenceProviderClassName(String persistenceProviderClassName) voidMutablePersistenceUnitInfo.setPersistenceProviderPackageName(String persistenceProviderPackageName) voidMutablePersistenceUnitInfo.setPersistenceUnitName(String persistenceUnitName) voidDefaultPersistenceUnitManager.setPersistenceUnitPostProcessors(PersistenceUnitPostProcessor... postProcessors) Set the PersistenceUnitPostProcessors to be applied to each PersistenceUnitInfo that has been parsed by this manager.voidMutablePersistenceUnitInfo.setPersistenceUnitRootUrl(URL persistenceUnitRootUrl) -
Uses of Nullable in org.springframework.orm.jpa.support
Methods in org.springframework.orm.jpa.support with annotations of type NullableModifier and TypeMethodDescriptionprotected StringOpenEntityManagerInViewFilter.getEntityManagerFactoryBeanName()Return the bean name of the EntityManagerFactory to fetch from Spring's root application context.SharedEntityManagerBean.getObject()protected EntityManagerPersistenceAnnotationBeanPostProcessor.getPersistenceContext(String unitName, boolean extended) Return a specified persistence context for the given unit name, as defined through the "persistenceContexts" (or "extendedPersistenceContexts") map.protected EntityManagerFactoryPersistenceAnnotationBeanPostProcessor.getPersistenceUnit(String unitName) Return a specified persistence unit for the given unit name, as defined through the "persistenceUnits" map.protected StringOpenEntityManagerInViewFilter.getPersistenceUnitName()Return the name of the persistence unit to access the EntityManagerFactory for, if any.Method parameters in org.springframework.orm.jpa.support with annotations of type NullableModifier and TypeMethodDescriptionvoidOpenEntityManagerInViewInterceptor.afterCompletion(WebRequest request, Exception ex) protected EntityManagerFactoryPersistenceAnnotationBeanPostProcessor.findDefaultEntityManagerFactory(String requestingBeanName) Find a single default EntityManagerFactory in the Spring application context.protected EntityManagerFactoryPersistenceAnnotationBeanPostProcessor.findEntityManagerFactory(String unitName, String requestingBeanName) Find an EntityManagerFactory with the given name in the current Spring application context, falling back to a single default EntityManagerFactory (if any) in case of no unit name specified.protected EntityManagerFactoryPersistenceAnnotationBeanPostProcessor.findEntityManagerFactory(String unitName, String requestingBeanName) Find an EntityManagerFactory with the given name in the current Spring application context, falling back to a single default EntityManagerFactory (if any) in case of no unit name specified.protected EntityManagerFactoryPersistenceAnnotationBeanPostProcessor.findNamedEntityManagerFactory(String unitName, String requestingBeanName) Find an EntityManagerFactory with the given name in the current Spring application context.protected EntityManagerPersistenceAnnotationBeanPostProcessor.getPersistenceContext(String unitName, boolean extended) Return a specified persistence context for the given unit name, as defined through the "persistenceContexts" (or "extendedPersistenceContexts") map.protected EntityManagerFactoryPersistenceAnnotationBeanPostProcessor.getPersistenceUnit(String unitName) Return a specified persistence unit for the given unit name, as defined through the "persistenceUnits" map.voidOpenEntityManagerInViewInterceptor.postHandle(WebRequest request, ModelMap model) voidPersistenceAnnotationBeanPostProcessor.setDefaultPersistenceUnitName(String unitName) Specify the default persistence unit name, to be used in case of no unit name specified in an@PersistenceUnit/@PersistenceContextannotation.voidOpenEntityManagerInViewFilter.setEntityManagerFactoryBeanName(String entityManagerFactoryBeanName) Set the bean name of the EntityManagerFactory to fetch from Spring's root application context.voidOpenEntityManagerInViewFilter.setPersistenceUnitName(String persistenceUnitName) Set the name of the persistence unit to access the EntityManagerFactory for. -
Uses of Nullable in org.springframework.orm.jpa.vendor
Methods in org.springframework.orm.jpa.vendor with annotations of type NullableModifier and TypeMethodDescriptionEclipseLinkJpaDialect.beginTransaction(EntityManager entityManager, TransactionDefinition definition) protected Class<?>HibernateJpaVendorAdapter.determineDatabaseDialectClass(Database database) Determine the Hibernate database dialect class for the given target database.protected StringEclipseLinkJpaVendorAdapter.determineTargetDatabaseName(Database database) Determine the EclipseLink target database name for the given database.protected StringAbstractJpaVendorAdapter.getDatabasePlatform()Return the name of the target database to operate on.protected ObjectHibernateJpaDialect.getIdentifier(HibernateException hibEx) AbstractJpaVendorAdapter.getJpaDialect()AbstractJpaVendorAdapter.getPersistenceProviderRootPackage()protected FlushModeHibernateJpaDialect.prepareFlushMode(Session session, boolean readOnly) HibernateJpaDialect.translateExceptionIfPossible(RuntimeException ex) Method parameters in org.springframework.orm.jpa.vendor with annotations of type NullableModifier and TypeMethodDescriptionvoidHibernateJpaDialect.cleanupTransaction(Object transactionData) HibernateJpaDialect.prepareTransaction(EntityManager entityManager, boolean readOnly, String name) voidAbstractJpaVendorAdapter.setDatabasePlatform(String databasePlatform) Specify the name of the target database to operate on. -
Uses of Nullable in org.springframework.oxm.jaxb
Methods in org.springframework.oxm.jaxb with annotations of type NullableModifier and TypeMethodDescriptionClass<?>[]Jaxb2Marshaller.getClassesToBeBound()Return the list of Java classes to be recognized by a newly created JAXBContext.Jaxb2Marshaller.getContextPath()Return the JAXB context path.String[]Jaxb2Marshaller.getPackagesToScan()Return the packages to search for JAXB2 annotations.Method parameters in org.springframework.oxm.jaxb with annotations of type NullableModifier and TypeMethodDescriptionvoidJaxb2Marshaller.marshal(Object graph, Result result, MimeContainer mimeContainer) voidJaxb2Marshaller.setClassesToBeBound(Class<?>... classesToBeBound) Set the list of Java classes to be recognized by a newly created JAXBContext.voidJaxb2Marshaller.setContextPath(String contextPath) Set a JAXB context path.voidJaxb2Marshaller.setPackagesToScan(String... packagesToScan) Set the packages to search for classes with JAXB2 annotations in the classpath.Jaxb2Marshaller.unmarshal(Source source, MimeContainer mimeContainer) -
Uses of Nullable in org.springframework.oxm.mime
Methods in org.springframework.oxm.mime with annotations of type NullableModifier and TypeMethodDescriptionMimeContainer.getAttachment(String contentId) Return the attachment with the given content id, ornullif not found.Method parameters in org.springframework.oxm.mime with annotations of type NullableModifier and TypeMethodDescriptionvoidMimeMarshaller.marshal(Object graph, Result result, MimeContainer mimeContainer) Marshals the object graph with the given root into the providedResult, writing binary data to aMimeContainer.MimeUnmarshaller.unmarshal(Source source, MimeContainer mimeContainer) Unmarshals the given providedSourceinto an object graph, reading binary attachments from aMimeContainer. -
Uses of Nullable in org.springframework.oxm.support
Methods in org.springframework.oxm.support with annotations of type NullableModifier and TypeMethodDescriptionprotected StringAbstractMarshaller.getDefaultEncoding()Determine the default encoding to use for marshalling or unmarshalling from a byte stream, ornullif none.Method parameters in org.springframework.oxm.support with annotations of type NullableModifier and TypeMethodDescriptionprotected abstract voidAbstractMarshaller.marshalSaxHandlers(Object graph, ContentHandler contentHandler, LexicalHandler lexicalHandler) Abstract template method for marshalling the given object graph to a SAXContentHandler. -
Uses of Nullable in org.springframework.oxm.xstream
Method parameters in org.springframework.oxm.xstream with annotations of type NullableModifier and TypeMethodDescriptionvoidXStreamMarshaller.marshalOutputStream(Object graph, OutputStream outputStream, com.thoughtworks.xstream.converters.DataHolder dataHolder) protected voidXStreamMarshaller.marshalSaxHandlers(Object graph, ContentHandler contentHandler, LexicalHandler lexicalHandler) voidXStreamMarshaller.marshalWriter(Object graph, Writer writer, com.thoughtworks.xstream.converters.DataHolder dataHolder) XStreamMarshaller.unmarshalInputStream(InputStream inputStream, com.thoughtworks.xstream.converters.DataHolder dataHolder) XStreamMarshaller.unmarshalReader(Reader reader, com.thoughtworks.xstream.converters.DataHolder dataHolder) -
Uses of Nullable in org.springframework.r2dbc
Methods in org.springframework.r2dbc with annotations of type NullableModifier and TypeMethodDescriptionUncategorizedR2dbcException.getSql()Return the SQL that led to the problem (if known).Constructor parameters in org.springframework.r2dbc with annotations of type NullableModifierConstructorDescriptionUncategorizedR2dbcException(String msg, String sql, R2dbcException ex) Constructor forUncategorizedSQLException. -
Uses of Nullable in org.springframework.r2dbc.connection
Methods in org.springframework.r2dbc.connection with annotations of type NullableModifier and TypeMethodDescriptionprotected BooleanSingleConnectionFactory.getAutoCommitValue()Return whether the returnedConnection's "autoCommit" setting should be overridden.R2dbcTransactionManager.getConnectionFactory()Return the R2DBCConnectionFactorythat this instance manages transactions for.protected IsolationLevelR2dbcTransactionManager.resolveIsolationLevel(int isolationLevel) Resolve the isolation level constant to a R2DBCIsolationLevel.Method parameters in org.springframework.r2dbc.connection with annotations of type NullableModifier and TypeMethodDescriptionstatic DataAccessExceptionConnectionFactoryUtils.convertR2dbcException(String task, String sql, R2dbcException ex) Translate the givenR2dbcExceptioninto a genericDataAccessException.protected reactor.core.publisher.Mono<Void>R2dbcTransactionManager.doResume(TransactionSynchronizationManager synchronizationManager, Object transaction, Object suspendedResources) protected voidConnectionHolder.setConnection(Connection connection) Override the existing Connection with the givenConnection.voidR2dbcTransactionManager.setConnectionFactory(ConnectionFactory connectionFactory) Set the R2DBCConnectionFactorythat this instance should manage transactions for. -
Uses of Nullable in org.springframework.r2dbc.connection.init
Method parameters in org.springframework.r2dbc.connection.init with annotations of type NullableModifier and TypeMethodDescriptionstatic reactor.core.publisher.Mono<Void>ScriptUtils.executeSqlScript(Connection connection, EncodedResource resource, DataBufferFactory dataBufferFactory, boolean continueOnError, boolean ignoreFailedDrops, String[] commentPrefixes, String separator, String blockCommentStartDelimiter, String blockCommentEndDelimiter) Execute the given SQL script.static reactor.core.publisher.Mono<Void>ScriptUtils.executeSqlScript(Connection connection, EncodedResource resource, DataBufferFactory dataBufferFactory, boolean continueOnError, boolean ignoreFailedDrops, String commentPrefix, String separator, String blockCommentStartDelimiter, String blockCommentEndDelimiter) Execute the given SQL script.voidResourceDatabasePopulator.setSqlScriptEncoding(String sqlScriptEncoding) Specify the encoding for the configured SQL scripts, if different from the platform encoding.voidResourceDatabasePopulator.setSqlScriptEncoding(Charset sqlScriptEncoding) Specify the encoding for the configured SQL scripts, if different from the platform encoding.Constructor parameters in org.springframework.r2dbc.connection.init with annotations of type NullableModifierConstructorDescriptionResourceDatabasePopulator(boolean continueOnError, boolean ignoreFailedDrops, String sqlScriptEncoding, Resource... scripts) Construct a newResourceDatabasePopulatorwith the supplied values.ScriptException(String message, Throwable cause) Create a newScriptException.ScriptParseException(String message, EncodedResource resource) Create a newScriptParseException.ScriptParseException(String message, EncodedResource resource, Throwable cause) Create a newScriptParseException.ScriptParseException(String message, EncodedResource resource, Throwable cause) Create a newScriptParseException. -
Uses of Nullable in org.springframework.r2dbc.core
Methods in org.springframework.r2dbc.core with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectColumnMapRowMapper.getColumnValue(Row row, int index) Retrieve a R2DBC object value for the specified column.SqlProvider.getSql()Return the SQL string for this object, i.e.Parameter.getValue()Deprecated.Return the column value (can benull).Method parameters in org.springframework.r2dbc.core with annotations of type Nullable -
Uses of Nullable in org.springframework.r2dbc.core.binding
Methods in org.springframework.r2dbc.core.binding with annotations of type NullableModifier and TypeMethodDescriptionBindMarkersFactoryResolver.BindMarkerFactoryProvider.getBindMarkers(ConnectionFactory connectionFactory) Return aBindMarkersFactoryfor aConnectionFactory.abstract ObjectBindings.Binding.getValue()Return the binding value. -
Uses of Nullable in org.springframework.scheduling
Methods in org.springframework.scheduling with annotations of type NullableModifier and TypeMethodDescriptionTriggerContext.lastActualExecution()Return the last actual execution time of the task, ornullif not scheduled before.default DateTriggerContext.lastActualExecutionTime()Deprecated.as of 6.0, in favor onTriggerContext.lastActualExecution()TriggerContext.lastCompletion()Return the last completion time of the task, ornullif not scheduled before.default DateTriggerContext.lastCompletionTime()Deprecated.as of 6.0, in favor onTriggerContext.lastCompletion()TriggerContext.lastScheduledExecution()Return the last scheduled execution time of the task, ornullif not scheduled before.default DateTriggerContext.lastScheduledExecutionTime()Deprecated.as of 6.0, in favor onTriggerContext.lastScheduledExecution()Trigger.nextExecution(TriggerContext triggerContext) Determine the next execution time according to the given trigger context.default DateTrigger.nextExecutionTime(TriggerContext triggerContext) Deprecated.as of 6.0, in favor ofTrigger.nextExecution(TriggerContext)Schedule the givenRunnable, invoking it whenever the trigger indicates a next execution time. -
Uses of Nullable in org.springframework.scheduling.annotation
Fields in org.springframework.scheduling.annotation with annotations of type NullableModifier and TypeFieldDescriptionprotected AnnotationAttributesAbstractAsyncConfiguration.enableAsyncprotected Supplier<AsyncUncaughtExceptionHandler>AbstractAsyncConfiguration.exceptionHandlerAbstractAsyncConfiguration.executorMethods in org.springframework.scheduling.annotation with annotations of type NullableModifier and TypeMethodDescriptionAsyncResult.get()Deprecated.Deprecated.default ExecutorAsyncConfigurer.getAsyncExecutor()TheExecutorinstance to be used when processing async method invocations.default AsyncUncaughtExceptionHandlerAsyncConfigurer.getAsyncUncaughtExceptionHandler()TheAsyncUncaughtExceptionHandlerinstance to be used when an exception is thrown during an asynchronous method execution withvoidreturn type.AsyncConfigurerSupport.getAsyncUncaughtExceptionHandler()Deprecated.protected StringAnnotationAsyncExecutionInterceptor.getExecutorQualifier(Method method) Return the qualifier or bean name of the executor to be used when executing the given method, specified viaAsync.value()at the method or declaring class level.Method parameters in org.springframework.scheduling.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected AdviceAsyncAnnotationAdvisor.buildAdvice(Supplier<Executor> executor, Supplier<AsyncUncaughtExceptionHandler> exceptionHandler) protected AdviceAsyncAnnotationAdvisor.buildAdvice(Supplier<Executor> executor, Supplier<AsyncUncaughtExceptionHandler> exceptionHandler) voidAsyncAnnotationBeanPostProcessor.configure(Supplier<Executor> executor, Supplier<AsyncUncaughtExceptionHandler> exceptionHandler) Configure this post-processor with the given executor and exception handler suppliers, applying the corresponding default if a supplier is not resolvable.voidAsyncAnnotationBeanPostProcessor.configure(Supplier<Executor> executor, Supplier<AsyncUncaughtExceptionHandler> exceptionHandler) Configure this post-processor with the given executor and exception handler suppliers, applying the corresponding default if a supplier is not resolvable.Constructor parameters in org.springframework.scheduling.annotation with annotations of type NullableModifierConstructorDescriptionAnnotationAsyncExecutionInterceptor(Executor defaultExecutor) Create a newAnnotationAsyncExecutionInterceptorwith the given executor and a simpleAsyncUncaughtExceptionHandler.AnnotationAsyncExecutionInterceptor(Executor defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler) Create a newAnnotationAsyncExecutionInterceptorwith the given executor.AsyncAnnotationAdvisor(Executor executor, AsyncUncaughtExceptionHandler exceptionHandler) Create a newAsyncAnnotationAdvisorfor the given task executor.AsyncAnnotationAdvisor(Executor executor, AsyncUncaughtExceptionHandler exceptionHandler) Create a newAsyncAnnotationAdvisorfor the given task executor.AsyncAnnotationAdvisor(Supplier<Executor> executor, Supplier<AsyncUncaughtExceptionHandler> exceptionHandler) Create a newAsyncAnnotationAdvisorfor the given task executor.AsyncAnnotationAdvisor(Supplier<Executor> executor, Supplier<AsyncUncaughtExceptionHandler> exceptionHandler) Create a newAsyncAnnotationAdvisorfor the given task executor.AsyncResult(V value) Deprecated.Create a new AsyncResult holder. -
Uses of Nullable in org.springframework.scheduling.concurrent
Methods in org.springframework.scheduling.concurrent with annotations of type NullableModifier and TypeMethodDescriptionForkJoinPoolFactoryBean.getObject()ScheduledExecutorFactoryBean.getObject()ThreadPoolExecutorFactoryBean.getObject()Method parameters in org.springframework.scheduling.concurrent with annotations of type NullableModifier and TypeMethodDescriptionfinal voidConcurrentTaskExecutor.setConcurrentExecutor(Executor executor) Specify theExecutorto delegate to.voidExecutorConfigurationSupport.setRejectedExecutionHandler(RejectedExecutionHandler rejectedExecutionHandler) Set the RejectedExecutionHandler to use for the ExecutorService.voidConcurrentTaskScheduler.setScheduledExecutor(ScheduledExecutorService scheduledExecutor) Specify theScheduledExecutorServiceto delegate to.voidExecutorConfigurationSupport.setThreadFactory(ThreadFactory threadFactory) Set the ThreadFactory to use for the ExecutorService's thread pool.voidExecutorConfigurationSupport.setThreadNamePrefix(String threadNamePrefix) voidScheduledExecutorTask.setTimeUnit(TimeUnit timeUnit) Specify the time unit for the delay and period values.Constructor parameters in org.springframework.scheduling.concurrent with annotations of type NullableModifierConstructorDescriptionConcurrentTaskExecutor(Executor executor) Create a new ConcurrentTaskExecutor, using the givenExecutor. -
Uses of Nullable in org.springframework.scheduling.config
Methods in org.springframework.scheduling.config with annotations of type NullableModifier and TypeMethodDescriptionTaskExecutorFactoryBean.getObject()ScheduledTaskRegistrar.getScheduler()Return theTaskSchedulerinstance for this registrar (may benull).AnnotationDrivenBeanDefinitionParser.parse(Element element, ParserContext parserContext) ScheduledTaskRegistrar.scheduleCronTask(CronTask task) Schedule the specified cron task, either right away if possible or on initialization of the scheduler.ScheduledTaskRegistrar.scheduleFixedDelayTask(FixedDelayTask task) Schedule the specified fixed-delay task, either right away if possible or on initialization of the scheduler.ScheduledTaskRegistrar.scheduleFixedRateTask(FixedRateTask task) Schedule the specified fixed-rate task, either right away if possible or on initialization of the scheduler.ScheduledTaskRegistrar.scheduleTriggerTask(TriggerTask task) Schedule the specified trigger task, either right away if possible or on initialization of the scheduler.Method parameters in org.springframework.scheduling.config with annotations of type NullableModifier and TypeMethodDescriptionvoidScheduledTaskRegistrar.setScheduler(Object scheduler) Set theTaskSchedulerto register scheduled tasks with, or aScheduledExecutorServiceto be wrapped as aTaskScheduler. -
Uses of Nullable in org.springframework.scheduling.quartz
Fields in org.springframework.scheduling.quartz with annotations of type NullableMethods in org.springframework.scheduling.quartz with annotations of type NullableModifier and TypeMethodDescriptionstatic DataSourceSchedulerFactoryBean.getConfigTimeDataSource()Return theDataSourcefor the currently configured Quartz Scheduler, to be used byLocalDataSourceJobStore.static DataSourceSchedulerFactoryBean.getConfigTimeNonTransactionalDataSource()Return the non-transactionalDataSourcefor the currently configured Quartz Scheduler, to be used byLocalDataSourceJobStore.static ResourceLoaderSchedulerFactoryBean.getConfigTimeResourceLoader()Return theResourceLoaderfor the currently configured Quartz Scheduler, to be used byResourceLoaderClassLoadHelper.static ExecutorSchedulerFactoryBean.getConfigTimeTaskExecutor()Return theExecutorfor the currently configured Quartz Scheduler, to be used byLocalTaskExecutorThreadPool.CronTriggerFactoryBean.getObject()JobDetailFactoryBean.getObject()MethodInvokingJobDetailFactoryBean.getObject()SchedulerFactoryBean.getObject()SimpleTriggerFactoryBean.getObject()ResourceLoaderClassLoadHelper.getResource(String name) ResourceLoaderClassLoadHelper.getResourceAsStream(String name) Method parameters in org.springframework.scheduling.quartz with annotations of type NullableModifier and TypeMethodDescriptionprotected SchedulerSchedulerFactoryBean.createScheduler(SchedulerFactory schedulerFactory, String schedulerName) Create the Scheduler instance for the given factory and scheduler name.Constructor parameters in org.springframework.scheduling.quartz with annotations of type NullableModifierConstructorDescriptionResourceLoaderClassLoadHelper(ResourceLoader resourceLoader) Create a new ResourceLoaderClassLoadHelper for the given ResourceLoader. -
Uses of Nullable in org.springframework.scheduling.support
Methods in org.springframework.scheduling.support with annotations of type NullableModifier and TypeMethodDescriptionPeriodicTrigger.getInitialDelayDuration()Return the initial delay, ornullif none.SimpleTriggerContext.lastActualExecution()SimpleTriggerContext.lastCompletion()SimpleTriggerContext.lastScheduledExecution()<T extends Temporal & Comparable<? super T>>
TCronExpression.next(T temporal) Calculate the nextTemporalthat matches this expression.Method parameters in org.springframework.scheduling.support with annotations of type NullableModifier and TypeMethodDescriptionTaskUtils.decorateTaskWithErrorHandler(Runnable task, ErrorHandler errorHandler, boolean isRepeatingTask) Decorate the task for error handling.booleanbooleanDeprecated, for removal: This API element is subject to removal in a future version.booleanbooleanstatic booleanCronExpression.isValidExpression(String expression) Determine whether the given string represents a valid cron expression.static booleanCronSequenceGenerator.isValidExpression(String expression) Deprecated, for removal: This API element is subject to removal in a future version.Determine whether the specified expression represents a valid cron pattern.voidSimpleTriggerContext.update(Instant lastScheduledExecution, Instant lastActualExecution, Instant lastCompletion) Update this holder's state with the latest time values.voidSimpleTriggerContext.update(Instant lastScheduledExecution, Instant lastActualExecution, Instant lastCompletion) Update this holder's state with the latest time values.voidSimpleTriggerContext.update(Instant lastScheduledExecution, Instant lastActualExecution, Instant lastCompletion) Update this holder's state with the latest time values.voidSimpleTriggerContext.update(Date lastScheduledExecutionTime, Date lastActualExecutionTime, Date lastCompletionTime) Deprecated.as of 6.0, in favor ofSimpleTriggerContext.update(Instant, Instant, Instant)voidSimpleTriggerContext.update(Date lastScheduledExecutionTime, Date lastActualExecutionTime, Date lastCompletionTime) Deprecated.as of 6.0, in favor ofSimpleTriggerContext.update(Instant, Instant, Instant)voidSimpleTriggerContext.update(Date lastScheduledExecutionTime, Date lastActualExecutionTime, Date lastCompletionTime) Deprecated.as of 6.0, in favor ofSimpleTriggerContext.update(Instant, Instant, Instant)Constructor parameters in org.springframework.scheduling.support with annotations of type NullableModifierConstructorDescriptionPeriodicTrigger(long period, TimeUnit timeUnit) Deprecated.as of 6.0, in favor onPeriodicTrigger(Duration)SimpleTriggerContext(Instant lastScheduledExecution, Instant lastActualExecution, Instant lastCompletion) Create a SimpleTriggerContext with the given time values, exposing the system clock for the default time zone.SimpleTriggerContext(Instant lastScheduledExecution, Instant lastActualExecution, Instant lastCompletion) Create a SimpleTriggerContext with the given time values, exposing the system clock for the default time zone.SimpleTriggerContext(Instant lastScheduledExecution, Instant lastActualExecution, Instant lastCompletion) Create a SimpleTriggerContext with the given time values, exposing the system clock for the default time zone.SimpleTriggerContext(Date lastScheduledExecutionTime, Date lastActualExecutionTime, Date lastCompletionTime) Deprecated.as of 6.0, in favor ofSimpleTriggerContext(Instant, Instant, Instant)SimpleTriggerContext(Date lastScheduledExecutionTime, Date lastActualExecutionTime, Date lastCompletionTime) Deprecated.as of 6.0, in favor ofSimpleTriggerContext(Instant, Instant, Instant)SimpleTriggerContext(Date lastScheduledExecutionTime, Date lastActualExecutionTime, Date lastCompletionTime) Deprecated.as of 6.0, in favor ofSimpleTriggerContext(Instant, Instant, Instant) -
Uses of Nullable in org.springframework.scripting
Methods in org.springframework.scripting with annotations of type NullableModifier and TypeMethodDescriptionScriptEvaluator.evaluate(ScriptSource script) Evaluate the given script.ScriptEvaluator.evaluate(ScriptSource script, Map<String, Object> arguments) Evaluate the given script with the given arguments.ScriptFactory.getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces) Factory method for creating the scripted Java object.Class<?>ScriptFactory.getScriptedObjectType(ScriptSource scriptSource) Determine the type of the scripted Java object.Class<?>[]ScriptFactory.getScriptInterfaces()Return the business interfaces that the script is supposed to implement.ScriptCompilationException.getScriptSource()Return the source for the offending script.ScriptSource.suggestedClassName()Determine a class name for the underlying script.Method parameters in org.springframework.scripting with annotations of type NullableModifier and TypeMethodDescriptionScriptEvaluator.evaluate(ScriptSource script, Map<String, Object> arguments) Evaluate the given script with the given arguments.ScriptFactory.getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces) Factory method for creating the scripted Java object. -
Uses of Nullable in org.springframework.scripting.bsh
Methods in org.springframework.scripting.bsh with annotations of type NullableModifier and TypeMethodDescriptionBshScriptEvaluator.evaluate(ScriptSource script) BshScriptEvaluator.evaluate(ScriptSource script, Map<String, Object> arguments) BshScriptFactory.getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces) Load and parse the BeanShell script viaBshScriptUtils.Class<?>BshScriptFactory.getScriptedObjectType(ScriptSource scriptSource) Class<?>[]BshScriptFactory.getScriptInterfaces()Method parameters in org.springframework.scripting.bsh with annotations of type NullableModifier and TypeMethodDescriptionstatic ObjectBshScriptUtils.createBshObject(String scriptSource, Class<?>... scriptInterfaces) Create a new BeanShell-scripted object from the given script source, using the default ClassLoader.static ObjectBshScriptUtils.createBshObject(String scriptSource, Class<?>[] scriptInterfaces, ClassLoader classLoader) Create a new BeanShell-scripted object from the given script source.static ObjectBshScriptUtils.createBshObject(String scriptSource, Class<?>[] scriptInterfaces, ClassLoader classLoader) Create a new BeanShell-scripted object from the given script source.BshScriptEvaluator.evaluate(ScriptSource script, Map<String, Object> arguments) BshScriptFactory.getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces) Load and parse the BeanShell script viaBshScriptUtils.Constructor parameters in org.springframework.scripting.bsh with annotations of type NullableModifierConstructorDescriptionBshScriptFactory(String scriptSourceLocator, Class<?>... scriptInterfaces) Create a new BshScriptFactory for the given script source. -
Uses of Nullable in org.springframework.scripting.groovy
Methods in org.springframework.scripting.groovy with annotations of type NullableModifier and TypeMethodDescriptionGroovyScriptEvaluator.evaluate(ScriptSource script) GroovyScriptEvaluator.evaluate(ScriptSource script, Map<String, Object> arguments) protected ObjectGroovyScriptFactory.executeScript(ScriptSource scriptSource, Class<?> scriptClass) Instantiate the given Groovy script class and run it if necessary.GroovyScriptFactory.getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces) Loads and parses the Groovy script via the GroovyClassLoader.Class<?>GroovyScriptFactory.getScriptedObjectType(ScriptSource scriptSource) Class<?>[]GroovyScriptFactory.getScriptInterfaces()Groovy scripts determine their interfaces themselves, hence we don't need to explicitly expose interfaces here.Method parameters in org.springframework.scripting.groovy with annotations of type NullableModifier and TypeMethodDescriptionprotected groovy.lang.GroovyClassLoaderGroovyScriptFactory.buildGroovyClassLoader(ClassLoader classLoader) Build aGroovyClassLoaderfor the givenClassLoader.GroovyScriptEvaluator.evaluate(ScriptSource script, Map<String, Object> arguments) GroovyScriptFactory.getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces) Loads and parses the Groovy script via the GroovyClassLoader.voidGroovyScriptEvaluator.setCompilerConfiguration(org.codehaus.groovy.control.CompilerConfiguration compilerConfiguration) Set a custom compiler configuration for this evaluator.Constructor parameters in org.springframework.scripting.groovy with annotations of type NullableModifierConstructorDescriptionGroovyScriptEvaluator(ClassLoader classLoader) Construct a new GroovyScriptEvaluator.GroovyScriptFactory(String scriptSourceLocator, org.codehaus.groovy.control.CompilerConfiguration compilerConfiguration) Create a new GroovyScriptFactory for the given script source, specifying a strategy interface that can create a custom MetaClass to supply missing methods and otherwise change the behavior of the object.GroovyScriptFactory(String scriptSourceLocator, GroovyObjectCustomizer groovyObjectCustomizer) Create a new GroovyScriptFactory for the given script source, specifying a strategy interface that can create a custom MetaClass to supply missing methods and otherwise change the behavior of the object. -
Uses of Nullable in org.springframework.scripting.support
Methods in org.springframework.scripting.support with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectStandardScriptFactory.adaptToInterfaces(Object script, ScriptSource scriptSource, Class<?>... actualInterfaces) StandardScriptEvaluator.evaluate(ScriptSource script) StandardScriptEvaluator.evaluate(ScriptSource script, Map<String, Object> argumentBindings) StandardScriptFactory.getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces) Load and parse the script via JSR-223's ScriptEngine.Class<?>StandardScriptFactory.getScriptedObjectType(ScriptSource scriptSource) Class<?>[]StandardScriptFactory.getScriptInterfaces()Class<?>ScriptFactoryPostProcessor.predictBeanType(Class<?> beanClass, String beanName) protected ScriptEngineStandardScriptFactory.retrieveScriptEngine(ScriptSource scriptSource) ResourceScriptSource.suggestedClassName()StaticScriptSource.suggestedClassName()Method parameters in org.springframework.scripting.support with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectStandardScriptFactory.adaptToInterfaces(Object script, ScriptSource scriptSource, Class<?>... actualInterfaces) protected Class<?>ScriptFactoryPostProcessor.createConfigInterface(BeanDefinition bd, Class<?>[] interfaces) Create a config interface for the given bean definition, defining setter methods for the defined property values as well as an init method and a destroy method (if defined).protected ObjectScriptFactoryPostProcessor.createRefreshableProxy(TargetSource ts, Class<?>[] interfaces, boolean proxyTargetClass) Create a refreshable proxy for the given AOP TargetSource.protected BeanDefinitionScriptFactoryPostProcessor.createScriptedObjectBeanDefinition(BeanDefinition bd, String scriptFactoryBeanName, ScriptSource scriptSource, Class<?>[] interfaces) Create a bean definition for the scripted object, based on the given script definition, extracting the definition data that is relevant for the scripted object (that is, everything but bean class and constructor arguments).StandardScriptEvaluator.evaluate(ScriptSource script, Map<String, Object> argumentBindings) StandardScriptFactory.getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces) Load and parse the script via JSR-223's ScriptEngine.voidResourceScriptSource.setEncoding(String encoding) Set the encoding used for reading the script resource.Constructor parameters in org.springframework.scripting.support with annotations of type NullableModifierConstructorDescriptionStandardScriptFactory(String scriptEngineName, String scriptSourceLocator, Class<?>... scriptInterfaces) Create a new StandardScriptFactory for the given script source.StandardScriptFactory(String scriptEngineName, String scriptSourceLocator, Class<?>... scriptInterfaces) Create a new StandardScriptFactory for the given script source.StaticScriptSource(String script, String className) Create a new StaticScriptSource for the given script. -
Uses of Nullable in org.springframework.test.annotation
Methods in org.springframework.test.annotation with annotations of type Nullable -
Uses of Nullable in org.springframework.test.context
Methods in org.springframework.test.context with annotations of type NullableModifier and TypeMethodDescriptionContextCustomizerFactory.createContextCustomizer(Class<?> testClass, List<ContextConfigurationAttributes> configAttributes) Create aContextCustomizerthat should be used to customize aConfigurableApplicationContextbefore it is refreshed.static <T extends Annotation>
TestContextAnnotationUtils.AnnotationDescriptor<T>TestContextAnnotationUtils.findAnnotationDescriptor(Class<?> clazz, Class<T> annotationType) Find theTestContextAnnotationUtils.AnnotationDescriptorfor the suppliedannotationTypeon the suppliedClass, traversing its annotations, interfaces, superclasses, and enclosing classes if no annotation can be found on the given class itself.TestContextAnnotationUtils.findAnnotationDescriptorForTypes(Class<?> clazz, Class<? extends Annotation>... annotationTypes) Find theTestContextAnnotationUtils.UntypedAnnotationDescriptorfor the firstClassin the inheritance hierarchy of the specifiedclazz(including the specifiedclazzitself) which declares at least one of the specifiedannotationTypes.static <T extends Annotation>
TTestContextAnnotationUtils.findMergedAnnotation(Class<?> clazz, Class<T> annotationType) Find the first annotation of the specifiedannotationTypewithin the annotation hierarchy above the supplied class, merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy, and synthesize the result back into an annotation of the specifiedannotationType.Get theEnclosingConfigurationenum constant with the supplied name, ignoring case.static TestConstructor.AutowireModeGet theAutowireModeenum constant with the supplied name, ignoring case.ContextConfigurationAttributes.getName()Get the name of the context hierarchy level that was declared via@ContextConfiguration.MergedContextConfiguration.getParent()Get theMergedContextConfigurationfor the parent application context in a context hierarchy.MergedContextConfiguration.getParentApplicationContext()Get the parentApplicationContextfor the context defined by thisMergedContextConfigurationfrom the context cache.TestContext.getTestException()Get the exception that was thrown during execution of the test method.TestContextAnnotationUtils.AnnotationDescriptor.next()Find the nextTestContextAnnotationUtils.AnnotationDescriptorfor the specified annotation type in the hierarchy above the root declaring class of this descriptor.TestContextAnnotationUtils.UntypedAnnotationDescriptor.next()Find the nextTestContextAnnotationUtils.UntypedAnnotationDescriptorfor the specified annotation types in the hierarchy above the root declaring class of this descriptor.Method parameters in org.springframework.test.context with annotations of type NullableModifier and TypeMethodDescriptionvoidTestContextManager.afterTestExecution(Object testInstance, Method testMethod, Throwable exception) Hook for post-processing a test immediately after execution of the test method in the supplied test context — for example, for timing or logging purposes.voidTestContextManager.afterTestMethod(Object testInstance, Method testMethod, Throwable exception) Hook for post-processing a test after execution of after lifecycle callbacks of the underlying test framework — for example, tearing down test fixtures, ending a transaction, etc.voidCacheAwareContextLoaderDelegate.closeContext(MergedContextConfiguration mergedContextConfiguration, DirtiesContext.HierarchyMode hierarchyMode) Remove the application context for the suppliedMergedContextConfigurationfrom theContextCacheand close it if it is an instance ofConfigurableApplicationContext.booleanDetermine if the supplied object is equal to thisContextConfigurationAttributesinstance by comparing both object's declaring class, locations, annotated classes, inheritLocations flag, context initializer classes, inheritInitializers flag, and theContextLoader class.booleanDetermine if the supplied object is equal to thisMergedContextConfigurationinstance by comparing both object's locations, annotated classes, context initializer classes, active profiles, property source locations, property source properties, parents, and the fully qualified names of theirContextLoaders.Get theEnclosingConfigurationenum constant with the supplied name, ignoring case.static TestConstructor.AutowireModeGet theAutowireModeenum constant with the supplied name, ignoring case.voidTestContext.markApplicationContextDirty(DirtiesContext.HierarchyMode hierarchyMode) Call this method to signal that the application context associated with this test context is dirty and should be removed from the context cache.protected static StringMergedContextConfiguration.nullSafeClassName(ContextLoader contextLoader) Generate a null-safeStringrepresentation of the suppliedContextLoaderbased solely on the fully qualified name of the loader or "null" if the supplied loader isnull.default String[]SmartContextLoader.processLocations(Class<?> clazz, String... locations) SmartContextLoaderdoes not support deprecatedContextLoadermethods.voidTestContext.updateState(Object testInstance, Method testMethod, Throwable testException) Update this test context to reflect the state of the currently executing test.voidTestContext.updateState(Object testInstance, Method testMethod, Throwable testException) Update this test context to reflect the state of the currently executing test.voidTestContext.updateState(Object testInstance, Method testMethod, Throwable testException) Update this test context to reflect the state of the currently executing test.Constructor parameters in org.springframework.test.context with annotations of type NullableModifierConstructorDescriptionContextConfigurationAttributes(Class<?> declaringClass, String[] locations, Class<?>[] classes, boolean inheritLocations, Class<? extends ApplicationContextInitializer<?>>[] initializers, boolean inheritInitializers, String name, Class<? extends ContextLoader> contextLoaderClass) Construct a newContextConfigurationAttributesinstance for the test class that declared the@ContextConfigurationannotation and its corresponding attributes.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, String[] activeProfiles, ContextLoader contextLoader) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, String[] activeProfiles, ContextLoader contextLoader) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, String[] activeProfiles, ContextLoader contextLoader) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, ContextLoader contextLoader) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, ContextLoader contextLoader) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, ContextLoader contextLoader) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, ContextLoader contextLoader) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newMergedContextConfigurationinstance for the supplied parameters. -
Uses of Nullable in org.springframework.test.context.aot
Methods in org.springframework.test.context.aot with annotations of type NullableModifier and TypeMethodDescriptionAotTestContextInitializers.getContextInitializer(Class<?> testClass) Get the AOTApplicationContextInitializerfor the specified test class.AotTestContextInitializers.getContextInitializerClass(Class<?> testClass) Get the AOTApplicationContextInitializerClassfor the specified test class.Retrieve the attribute value for the given name as aString. -
Uses of Nullable in org.springframework.test.context.cache
Methods in org.springframework.test.context.cache with annotations of type NullableModifier and TypeMethodDescriptionContextCache.get(MergedContextConfiguration key) Obtain a cachedApplicationContextfor the given key.DefaultContextCache.get(MergedContextConfiguration key) Obtain a cachedApplicationContextfor the given key.Method parameters in org.springframework.test.context.cache with annotations of type NullableModifier and TypeMethodDescriptionvoidDefaultCacheAwareContextLoaderDelegate.closeContext(MergedContextConfiguration mergedContextConfiguration, DirtiesContext.HierarchyMode hierarchyMode) voidContextCache.remove(MergedContextConfiguration key, DirtiesContext.HierarchyMode hierarchyMode) Remove the context with the given key from the cache and explicitly close it if it is an instance ofConfigurableApplicationContext.voidDefaultContextCache.remove(MergedContextConfiguration key, DirtiesContext.HierarchyMode hierarchyMode) Remove the context with the given key from the cache and explicitly close it if it is an instance ofConfigurableApplicationContext. -
Uses of Nullable in org.springframework.test.context.event
Methods in org.springframework.test.context.event with annotations of type NullableModifier and TypeMethodDescriptionstatic ApplicationEventsApplicationEventsHolder.getApplicationEvents()Get theApplicationEventsfor the current thread. -
Uses of Nullable in org.springframework.test.context.junit.jupiter
Methods in org.springframework.test.context.junit.jupiter with annotations of type NullableModifier and TypeMethodDescriptionSpringExtension.resolveParameter(org.junit.jupiter.api.extension.ParameterContext parameterContext, org.junit.jupiter.api.extension.ExtensionContext extensionContext) Resolve a value for theParameterin the suppliedParameterContextby retrieving the corresponding dependency from the test'sApplicationContext. -
Uses of Nullable in org.springframework.test.context.junit4
Fields in org.springframework.test.context.junit4 with annotations of type NullableModifier and TypeFieldDescriptionprotected ApplicationContextAbstractJUnit4SpringContextTests.applicationContextTheApplicationContextthat was injected into this test instance viaAbstractJUnit4SpringContextTests.setApplicationContext(ApplicationContext).Methods in org.springframework.test.context.junit4 with annotations of type NullableModifier and TypeMethodDescriptionSpringJUnit4ClassRunner.getExpectedException(FrameworkMethod frameworkMethod) Get theexceptionthat the supplied test method is expected to throw. -
Uses of Nullable in org.springframework.test.context.junit4.statements
Constructor parameters in org.springframework.test.context.junit4.statements with annotations of type NullableModifierConstructorDescriptionProfileValueChecker(Statement next, Class<?> testClass, Method testMethod) Construct a newProfileValueCheckerstatement. -
Uses of Nullable in org.springframework.test.context.support
Methods in org.springframework.test.context.support with annotations of type NullableModifier and TypeMethodDescriptionGet the value of the named property.DefaultTestContext.getAttribute(String name) final ThrowableDefaultTestContext.getTestException()DefaultTestContext.removeAttribute(String name) protected Class<? extends ContextLoader>AbstractTestContextBootstrapper.resolveExplicitContextLoaderClass(List<ContextConfigurationAttributes> configAttributesList) Method parameters in org.springframework.test.context.support with annotations of type NullableModifier and TypeMethodDescriptionprotected voidAbstractDirtiesContextTestExecutionListener.dirtyContext(TestContext testContext, DirtiesContext.HierarchyMode hierarchyMode) Mark the application context of the supplied test context as dirty and setREINJECT_DEPENDENCIES_ATTRIBUTEin the test context totrue.static booleanTestConstructorUtils.isAutowirableConstructor(Constructor<?> constructor, Class<?> testClass, PropertyProvider fallbackPropertyProvider) Determine if the supplied constructor for the given test class is autowirable.static booleanTestConstructorUtils.isAutowirableConstructor(Executable executable, Class<?> testClass, PropertyProvider fallbackPropertyProvider) Determine if the supplied executable for the given test class is an autowirable constructor.voidDefaultTestContext.markApplicationContextDirty(DirtiesContext.HierarchyMode hierarchyMode) Mark the application context associated with this test context as dirty (i.e., by removing it from the context cache and closing it).voidDefaultTestContext.setAttribute(String name, Object value) voidDefaultTestContext.updateState(Object testInstance, Method testMethod, Throwable testException) voidDefaultTestContext.updateState(Object testInstance, Method testMethod, Throwable testException) voidDefaultTestContext.updateState(Object testInstance, Method testMethod, Throwable testException) -
Uses of Nullable in org.springframework.test.context.testng
Fields in org.springframework.test.context.testng with annotations of type NullableModifier and TypeFieldDescriptionprotected ApplicationContextAbstractTestNGSpringContextTests.applicationContextTheApplicationContextthat was injected into this test instance viaAbstractTestNGSpringContextTests.setApplicationContext(ApplicationContext). -
Uses of Nullable in org.springframework.test.context.transaction
Methods in org.springframework.test.context.transaction with annotations of type NullableModifier and TypeMethodDescriptionprotected PlatformTransactionManagerTransactionalTestExecutionListener.getTransactionManager(TestContext testContext) Get the transaction manager to use for the supplied test context.protected PlatformTransactionManagerTransactionalTestExecutionListener.getTransactionManager(TestContext testContext, String qualifier) static DataSourceTestContextTransactionUtils.retrieveDataSource(TestContext testContext, String name) Retrieve theDataSourceto use for the supplied test context.static PlatformTransactionManagerTestContextTransactionUtils.retrieveTransactionManager(TestContext testContext, String name) Retrieve the transaction manager to use for the supplied test context.Method parameters in org.springframework.test.context.transaction with annotations of type NullableModifier and TypeMethodDescriptionprotected PlatformTransactionManagerTransactionalTestExecutionListener.getTransactionManager(TestContext testContext, String qualifier) static DataSourceTestContextTransactionUtils.retrieveDataSource(TestContext testContext, String name) Retrieve theDataSourceto use for the supplied test context.static PlatformTransactionManagerTestContextTransactionUtils.retrieveTransactionManager(TestContext testContext, String name) Retrieve the transaction manager to use for the supplied test context. -
Uses of Nullable in org.springframework.test.context.web
Method parameters in org.springframework.test.context.web with annotations of type NullableModifier and TypeMethodDescriptionbooleanDetermine if the supplied object is equal to thisWebMergedContextConfigurationinstance by comparing both object's locations, annotated classes, context initializer classes, active profiles, resource base path, parents, and the fully qualified names of theirContextLoaders.Constructor parameters in org.springframework.test.context.web with annotations of type NullableModifierConstructorDescriptionWebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newWebMergedContextConfigurationinstance for the supplied parameters.WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newWebMergedContextConfigurationinstance for the supplied parameters.WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newWebMergedContextConfigurationinstance for the supplied parameters.WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newWebMergedContextConfigurationinstance for the supplied parameters.WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newWebMergedContextConfigurationinstance for the supplied parameters.WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newWebMergedContextConfigurationinstance for the supplied parameters.WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newWebMergedContextConfigurationinstance for the supplied parameters.WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newWebMergedContextConfigurationinstance for the supplied parameters.WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newWebMergedContextConfigurationinstance for the supplied parameters.WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newWebMergedContextConfigurationinstance for the supplied parameters.WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newWebMergedContextConfigurationinstance for the supplied parameters.WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newWebMergedContextConfigurationinstance for the supplied parameters.WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newWebMergedContextConfigurationinstance for the supplied parameters.WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newWebMergedContextConfigurationinstance for the supplied parameters.WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent) Create a newWebMergedContextConfigurationinstance for the supplied parameters. -
Uses of Nullable in org.springframework.test.util
Methods in org.springframework.test.util with annotations of type NullableModifier and TypeMethodDescriptionJsonPathExpectationsHelper.evaluateJsonPath(String content) Evaluate the JSON path and return the resulting value.<T> TXpathExpectationsHelper.evaluateXpath(byte[] content, String encoding, Class<T> targetClass) Evaluate the XPath and return the resulting value.protected <T> TXpathExpectationsHelper.evaluateXpath(Document document, QName evaluationType, Class<T> expectedClass) Apply the XPath expression to given document.static Objectstatic Objectstatic Objectstatic ObjectReflectionTestUtils.invokeGetterMethod(Object target, String name) Invoke the getter method with the givennameon the supplied target object with the suppliedvalue.static <T> TReflectionTestUtils.invokeMethod(Class<?> targetClass, String name, Object... args) Invoke the static method with the givennameon the supplied target class with the supplied arguments.static <T> TReflectionTestUtils.invokeMethod(Object targetObject, Class<?> targetClass, String name, Object... args) Invoke the method with the givennameon the providedtargetObject/targetClasswith the supplied arguments.static <T> TReflectionTestUtils.invokeMethod(Object target, String name, Object... args) Invoke the method with the givennameon the supplied target object with the supplied arguments.Method parameters in org.springframework.test.util with annotations of type NullableModifier and TypeMethodDescriptionvoidXpathExpectationsHelper.assertBoolean(byte[] content, String encoding, boolean expectedValue) Apply the XPath expression and assert the resulting content as a Boolean.static voidAssertionErrors.assertEquals(String message, Object expected, Object actual) Assert two objects are equal and raise anAssertionErrorotherwise.static voidAssertionErrors.assertEquals(String message, Object expected, Object actual) Assert two objects are equal and raise anAssertionErrorotherwise.voidXpathExpectationsHelper.assertNode(byte[] content, String encoding, Matcher<? super Node> matcher) Parse the content, evaluate the XPath expression as aNode, and assert it with the givenMatcher<Node>.voidXpathExpectationsHelper.assertNodeCount(byte[] content, String encoding, int expectedCount) Apply the XPath expression and assert the resulting content as an integer.voidXpathExpectationsHelper.assertNodeCount(byte[] content, String encoding, Matcher<? super Integer> matcher) Apply the XPath expression and assert the resulting content with the given Hamcrest matcher.voidXpathExpectationsHelper.assertNodeList(byte[] content, String encoding, Matcher<? super NodeList> matcher) Parse the content, evaluate the XPath expression as aNodeList, and assert it with the givenMatcher<NodeList>.static voidAssertionErrors.assertNotEquals(String message, Object expected, Object actual) Assert two objects are not equal and raise anAssertionErrorotherwise.static voidAssertionErrors.assertNotEquals(String message, Object expected, Object actual) Assert two objects are not equal and raise anAssertionErrorotherwise.static voidAssertionErrors.assertNotNull(String message, Object object) Assert that the given object is notnulland raise anAssertionErrorotherwise.static voidAssertionErrors.assertNull(String message, Object object) Assert that the given object isnulland raise anAssertionErrorotherwise.voidXpathExpectationsHelper.assertNumber(byte[] content, String encoding, Double expectedValue) Apply the XPath expression and assert the resulting content as a Double.voidXpathExpectationsHelper.assertNumber(byte[] content, String encoding, Matcher<? super Double> matcher) Apply the XPath expression and assert the resulting content with the given Hamcrest matcher.voidXpathExpectationsHelper.assertString(byte[] content, String encoding, String expectedValue) Apply the XPath expression and assert the resulting content as a String.voidXpathExpectationsHelper.assertString(byte[] content, String encoding, Matcher<? super String> matcher) Apply the XPath expression and assert the resulting content with the given Hamcrest matcher.voidJsonPathExpectationsHelper.assertValue(String content, Object expectedValue) Evaluate the JSON path expression against the suppliedcontentand assert that the result is equal to the expected value.voidXpathExpectationsHelper.doesNotExist(byte[] content, String encoding) Apply the XPath expression and assert the resulting content does not exist.<T> TXpathExpectationsHelper.evaluateXpath(byte[] content, String encoding, Class<T> targetClass) Evaluate the XPath and return the resulting value.voidApply the XPath expression and assert the resulting content exists.static voidFail a test with the given message passing along expected and actual values to be appended to the message.static voidFail a test with the given message passing along expected and actual values to be appended to the message.static Objectstatic Objectstatic <T> TReflectionTestUtils.invokeMethod(Object targetObject, Class<?> targetClass, String name, Object... args) Invoke the method with the givennameon the providedtargetObject/targetClasswith the supplied arguments.static <T> TReflectionTestUtils.invokeMethod(Object targetObject, Class<?> targetClass, String name, Object... args) Invoke the method with the givennameon the providedtargetObject/targetClasswith the supplied arguments.static voidReflectionTestUtils.invokeSetterMethod(Object target, String name, Object value, Class<?> type) Invoke the setter method with the givennameon the supplied target object with the suppliedvalue.static voidReflectionTestUtils.invokeSetterMethod(Object target, String name, Object value, Class<?> type) Invoke the setter method with the givennameon the supplied target object with the suppliedvalue.protected DocumentXpathExpectationsHelper.parseXmlByteArray(byte[] xml, String encoding) Parse the given XML content to aDocument.static voidstatic voidstatic voidstatic voidstatic voidReflectionTestUtils.setField(Object targetObject, Class<?> targetClass, String name, Object value, Class<?> type) Set the field with the givenname/typeon the providedtargetObject/targetClassto the suppliedvalue.static voidReflectionTestUtils.setField(Object targetObject, Class<?> targetClass, String name, Object value, Class<?> type) Set the field with the givenname/typeon the providedtargetObject/targetClassto the suppliedvalue.static voidReflectionTestUtils.setField(Object targetObject, Class<?> targetClass, String name, Object value, Class<?> type) Set the field with the givenname/typeon the providedtargetObject/targetClassto the suppliedvalue.static voidReflectionTestUtils.setField(Object targetObject, Class<?> targetClass, String name, Object value, Class<?> type) Set the field with the givenname/typeon the providedtargetObject/targetClassto the suppliedvalue.static voidReflectionTestUtils.setField(Object targetObject, Class<?> targetClass, String name, Object value, Class<?> type) Set the field with the givenname/typeon the providedtargetObject/targetClassto the suppliedvalue.static voidstatic voidstatic voidstatic voidConstructor parameters in org.springframework.test.util with annotations of type Nullable -
Uses of Nullable in org.springframework.test.web.client
Methods in org.springframework.test.web.client with annotations of type NullableModifier and TypeMethodDescriptionAbstractRequestExpectationManager.RequestExpectationGroup.findExpectation(ClientHttpRequest request) Return a matching expectation, ornullif none match.protected ResponseCreatorDefaultRequestExpectation.getResponseCreator()Method parameters in org.springframework.test.web.client with annotations of type NullableModifier and TypeMethodDescriptionDefaultRequestExpectation.createResponse(ClientHttpRequest request) Note that as of 5.0.3, the creation of the response, which may block intentionally, is separated from request count tracking, and this method no longer increments the count transparently.ResponseCreator.createResponse(ClientHttpRequest request) Create a response for the given request. -
Uses of Nullable in org.springframework.test.web.client.match
Constructor parameters in org.springframework.test.web.client.match with annotations of type Nullable -
Uses of Nullable in org.springframework.test.web.client.response
Method parameters in org.springframework.test.web.client.response with annotations of type NullableModifier and TypeMethodDescriptionDefaultResponseCreator.createResponse(ClientHttpRequest request) static DefaultResponseCreatorMockRestResponseCreators.withSuccess(byte[] body, MediaType contentType) ResponseCreatorfor a 200 response (OK) with byte[] body.static DefaultResponseCreatorMockRestResponseCreators.withSuccess(String body, MediaType contentType) ResponseCreatorfor a 200 response (OK) with String body.static DefaultResponseCreatorMockRestResponseCreators.withSuccess(Resource body, MediaType contentType) ResponseCreatorfor a 200 response (OK) content withResource-based body. -
Uses of Nullable in org.springframework.test.web.reactive.server
Methods in org.springframework.test.web.reactive.server with annotations of type NullableModifier and TypeMethodDescriptionExchangeResult.getMockServerResult()Return the result from the mock server exchange, if applicable, for further assertions on the state of the server response.byte[]ExchangeResult.getRequestBodyContent()Return the raw request body content written through the request.EntityExchangeResult.getResponseBody()Return the entity extracted from the response body.byte[]ExchangeResult.getResponseBodyContent()Return the raw request body content written to the response.ExchangeResult.getUriTemplate()Return the original URI template used to prepare the request, if any.Method parameters in org.springframework.test.web.reactive.server with annotations of type NullableModifier and TypeMethodDescriptionvoidWebTestClientConfigurer.afterConfigurerAdded(WebTestClient.Builder builder, WebHttpHandlerBuilder httpHandlerBuilder, ClientHttpConnector connector) Invoked once only, immediately (i.e.voidWebTestClientConfigurer.afterConfigurerAdded(WebTestClient.Builder builder, WebHttpHandlerBuilder httpHandlerBuilder, ClientHttpConnector connector) Invoked once only, immediately (i.e.booleanbooleanWebTestClient.BodyContentSpec.xpath(String expression, Map<String, String> namespaces, Object... args) Access to response body assertions with specific namespaces using an XPath expression to inspect a specific subset of the body. -
Uses of Nullable in org.springframework.test.web.servlet
Methods in org.springframework.test.web.servlet with annotations of type NullableModifier and TypeMethodDescriptionMvcResult.getHandler()Return the executed handler.MvcResult.getInterceptors()Return interceptors around the handler.MvcResult.getModelAndView()Return theModelAndViewprepared by the handler.MvcResult.getResolvedException()Return any exception raised by a handler and successfully resolved through aHandlerExceptionResolver.Method parameters in org.springframework.test.web.servlet with annotations of type NullableModifier and TypeMethodDescriptionprotected final MockMvcMockMvcBuilderSupport.createMockMvc(Filter[] filters, MockServletConfig servletConfig, WebApplicationContext webAppContext, RequestBuilder defaultRequestBuilder, Charset defaultResponseCharacterEncoding, List<ResultMatcher> globalResultMatchers, List<ResultHandler> globalResultHandlers, List<DispatcherServletCustomizer> dispatcherServletCustomizers) Delegates toMockMvcBuilderSupport.createMockMvc(Filter[], MockServletConfig, WebApplicationContext, RequestBuilder, List, List, List)for creation of theMockMvcinstance and configures that instance with the supplieddefaultResponseCharacterEncoding.protected final MockMvcMockMvcBuilderSupport.createMockMvc(Filter[] filters, MockServletConfig servletConfig, WebApplicationContext webAppContext, RequestBuilder defaultRequestBuilder, Charset defaultResponseCharacterEncoding, List<ResultMatcher> globalResultMatchers, List<ResultHandler> globalResultHandlers, List<DispatcherServletCustomizer> dispatcherServletCustomizers) Delegates toMockMvcBuilderSupport.createMockMvc(Filter[], MockServletConfig, WebApplicationContext, RequestBuilder, List, List, List)for creation of theMockMvcinstance and configures that instance with the supplieddefaultResponseCharacterEncoding.protected final MockMvcMockMvcBuilderSupport.createMockMvc(Filter[] filters, MockServletConfig servletConfig, WebApplicationContext webAppContext, RequestBuilder defaultRequestBuilder, Charset defaultResponseCharacterEncoding, List<ResultMatcher> globalResultMatchers, List<ResultHandler> globalResultHandlers, List<DispatcherServletCustomizer> dispatcherServletCustomizers) Delegates toMockMvcBuilderSupport.createMockMvc(Filter[], MockServletConfig, WebApplicationContext, RequestBuilder, List, List, List)for creation of theMockMvcinstance and configures that instance with the supplieddefaultResponseCharacterEncoding.protected final MockMvcMockMvcBuilderSupport.createMockMvc(Filter[] filters, MockServletConfig servletConfig, WebApplicationContext webAppContext, RequestBuilder defaultRequestBuilder, List<ResultMatcher> globalResultMatchers, List<ResultHandler> globalResultHandlers, List<DispatcherServletCustomizer> dispatcherServletCustomizers) protected final MockMvcMockMvcBuilderSupport.createMockMvc(Filter[] filters, MockServletConfig servletConfig, WebApplicationContext webAppContext, RequestBuilder defaultRequestBuilder, List<ResultMatcher> globalResultMatchers, List<ResultHandler> globalResultHandlers, List<DispatcherServletCustomizer> dispatcherServletCustomizers) -
Uses of Nullable in org.springframework.test.web.servlet.client
Method parameters in org.springframework.test.web.servlet.client with annotations of type NullableModifier and TypeMethodDescriptionMockMvcWebTestClient.ControllerSpec.mappedInterceptors(String[] pathPatterns, HandlerInterceptor... interceptors) Add interceptors for specific patterns. -
Uses of Nullable in org.springframework.test.web.servlet.htmlunit
Constructor parameters in org.springframework.test.web.servlet.htmlunit with annotations of type NullableModifierConstructorDescriptionMockMvcWebConnection(MockMvc mockMvc, com.gargoylesoftware.htmlunit.WebClient webClient, String contextPath) Create a new instance with the specified context path. -
Uses of Nullable in org.springframework.test.web.servlet.request
Method parameters in org.springframework.test.web.servlet.request with annotations of type NullableModifier and TypeMethodDescriptionSet the locale of the request, overriding any previous locales.Merges the properties of the "parent" RequestBuilder accepting values only if not already set in "this" instance.Specify the portion of the requestURI that represents the pathInfo. -
Uses of Nullable in org.springframework.test.web.servlet.result
Method parameters in org.springframework.test.web.servlet.result with annotations of type NullableModifier and TypeMethodDescriptionRequestResultMatchers.asyncResult(Object expectedResult) Assert the result from asynchronous processing.Assert a flash attribute's value.Assert a model attribute value.Assert a request attribute value.static ResultMatcherMockMvcResultMatchers.forwardedUrl(String expectedUrl) Asserts the request was forwarded to the given URL.protected voidPrintingResultHandler.printHandler(Object handler, HandlerInterceptor[] interceptors) Print the handler.protected voidPrintingResultHandler.printHandler(Object handler, HandlerInterceptor[] interceptors) Print the handler.protected voidPrintingResultHandler.printModelAndView(ModelAndView mav) Print the ModelAndView.protected voidPrintingResultHandler.printResolvedException(Exception resolvedException) Print exceptions resolved through a HandlerExceptionResolver.voidPrintingResultHandler.ResultValuePrinter.printValue(String label, Object value) RequestResultMatchers.sessionAttribute(String name, Object value) Assert a session attribute value.Evaluate the JSON path expression against the response content and assert that the result is equal to the supplied value.Constructor parameters in org.springframework.test.web.servlet.result with annotations of type Nullable -
Uses of Nullable in org.springframework.test.web.servlet.setup
Methods in org.springframework.test.web.servlet.setup with annotations of type NullableModifier and TypeMethodDescriptiondefault RequestPostProcessorMockMvcConfigurer.beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext context) Invoked when the MockMvc instance is about to be created with the MockMvc builder and the Spring WebApplicationContext that will be passed to theDispatcherServlet.MockMvcConfigurerAdapter.beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> builder, WebApplicationContext cxt) Method parameters in org.springframework.test.web.servlet.setup with annotations of type NullableModifier and TypeMethodDescriptionStandaloneMockMvcBuilder.addMappedInterceptors(String[] pathPatterns, HandlerInterceptor... interceptors) Add interceptors mapped to a set of path patterns.StandaloneMockMvcBuilder.extendMvcSingletons(ServletContext servletContext) This method could be used from a subclass to register additional Spring MVC infrastructure such as additionalHandlerMapping,HandlerAdapter, and others.StandaloneMockMvcBuilder.setPatternParser(PathPatternParser parser) Enable URL path matching with parsedPathPatternsinstead of String pattern matching with aPathMatcher. -
Uses of Nullable in org.springframework.transaction
Methods in org.springframework.transaction with annotations of type NullableModifier and TypeMethodDescriptionfinal ThrowableTransactionSystemException.getApplicationException()Return the application exception that was thrown before this transaction exception, if any.default StringTransactionDefinition.getName()Return the name of this transaction.TransactionSystemException.getOriginalException()Return the exception that was the first to be thrown within the failed transaction: i.e.Method parameters in org.springframework.transaction with annotations of type NullableModifier and TypeMethodDescriptionbooleanreactor.core.publisher.Mono<ReactiveTransaction>ReactiveTransactionManager.getReactiveTransaction(TransactionDefinition definition) Emit a currently active reactive transaction or create a new one, according to the specified propagation behavior.PlatformTransactionManager.getTransaction(TransactionDefinition definition) Return a currently active transaction or create a new one, according to the specified propagation behavior. -
Uses of Nullable in org.springframework.transaction.annotation
Fields in org.springframework.transaction.annotation with annotations of type NullableModifier and TypeFieldDescriptionprotected AnnotationAttributesAbstractTransactionManagementConfiguration.enableTxprotected TransactionManagerAbstractTransactionManagementConfiguration.txManagerDefault transaction manager, as configured through aTransactionManagementConfigurer.Methods in org.springframework.transaction.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected TransactionAttributeAnnotationTransactionAttributeSource.determineTransactionAttribute(AnnotatedElement element) Determine the transaction attribute for the given method or class.protected TransactionAttributeAnnotationTransactionAttributeSource.findTransactionAttribute(Class<?> clazz) protected TransactionAttributeAnnotationTransactionAttributeSource.findTransactionAttribute(Method method) Ejb3TransactionAnnotationParser.parseTransactionAnnotation(AnnotatedElement element) JtaTransactionAnnotationParser.parseTransactionAnnotation(AnnotatedElement element) SpringTransactionAnnotationParser.parseTransactionAnnotation(AnnotatedElement element) TransactionAnnotationParser.parseTransactionAnnotation(AnnotatedElement element) Parse the transaction attribute for the given method or class, based on an annotation type understood by this parser.Method parameters in org.springframework.transaction.annotation with annotations of type Nullable -
Uses of Nullable in org.springframework.transaction.config
Methods in org.springframework.transaction.config with annotations of type Nullable -
Uses of Nullable in org.springframework.transaction.event
Method parameters in org.springframework.transaction.event with annotations of type NullableModifier and TypeMethodDescriptiondefault voidTransactionalApplicationListener.SynchronizationCallback.postProcessEvent(ApplicationEvent event, Throwable ex) Called after a transactional event listener invocation. -
Uses of Nullable in org.springframework.transaction.interceptor
Methods in org.springframework.transaction.interceptor with annotations of type NullableModifier and TypeMethodDescriptionprotected TransactionAttributeAbstractFallbackTransactionAttributeSource.computeTransactionAttribute(Method method, Class<?> targetClass) Same signature asAbstractFallbackTransactionAttributeSource.getTransactionAttribute(java.lang.reflect.Method, java.lang.Class<?>), but doesn't cache the result.protected static TransactionAspectSupport.TransactionInfoTransactionAspectSupport.currentTransactionInfo()Subclasses can use this to return the current TransactionInfo.protected TransactionManagerTransactionAspectSupport.determineTransactionManager(TransactionAttribute txAttr) Determine the specific transaction manager to use for the given transaction.protected abstract TransactionAttributeAbstractFallbackTransactionAttributeSource.findTransactionAttribute(Class<?> clazz) Subclasses need to implement this to return the transaction attribute for the given class, if any.protected abstract TransactionAttributeAbstractFallbackTransactionAttributeSource.findTransactionAttribute(Method method) Subclasses need to implement this to return the transaction attribute for the given method, if any.protected final BeanFactoryTransactionAspectSupport.getBeanFactory()Return the BeanFactory to use for retrievingTransactionManagerbeans.DefaultTransactionAttribute.getDescriptor()Return a descriptor for this transaction attribute, ornullif none.DefaultTransactionAttribute.getQualifier()Return a qualifier value associated with this transaction attribute.DelegatingTransactionAttribute.getQualifier()TransactionAttribute.getQualifier()Return a qualifier value associated with this transaction attribute.DefaultTransactionAttribute.getTimeoutString()Return the timeout to apply, if any, as a String value that resolves to a number of seconds.AbstractFallbackTransactionAttributeSource.getTransactionAttribute(Method method, Class<?> targetClass) Determine the transaction attribute for this method invocation.CompositeTransactionAttributeSource.getTransactionAttribute(Method method, Class<?> targetClass) MatchAlwaysTransactionAttributeSource.getTransactionAttribute(Method method, Class<?> targetClass) MethodMapTransactionAttributeSource.getTransactionAttribute(Method method, Class<?> targetClass) NameMatchTransactionAttributeSource.getTransactionAttribute(Method method, Class<?> targetClass) TransactionAspectSupport.TransactionInfo.getTransactionAttribute()TransactionAttributeSource.getTransactionAttribute(Method method, Class<?> targetClass) Return the transaction attribute for the given method, ornullif the method is non-transactional.TransactionAspectSupport.getTransactionAttributeSource()Return the transaction attribute source.TransactionAspectSupport.getTransactionManager()Return the default transaction manager, ornullif unknown.protected final StringTransactionAspectSupport.getTransactionManagerBeanName()Return the name of the default transaction manager bean.TransactionAspectSupport.TransactionInfo.getTransactionStatus()TransactionInterceptor.invoke(MethodInvocation invocation) protected ObjectTransactionAspectSupport.invokeWithinTransaction(Method method, Class<?> targetClass, TransactionAspectSupport.InvocationCallback invocation) General delegate for around-advice-based subclasses, delegating to several other template methods on this class.protected StringTransactionAspectSupport.methodIdentification(Method method, Class<?> targetClass) Convenience method to return a String representation of this Method for use in logging.TransactionAspectSupport.InvocationCallback.proceedWithInvocation()Method parameters in org.springframework.transaction.interceptor with annotations of type NullableModifier and TypeMethodDescriptionprotected voidTransactionAspectSupport.cleanupTransactionInfo(TransactionAspectSupport.TransactionInfo txInfo) Reset the TransactionInfo ThreadLocal.protected voidTransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.TransactionInfo txInfo) Execute after successful completion of call, but not after an exception was handled.protected voidTransactionAspectSupport.completeTransactionAfterThrowing(TransactionAspectSupport.TransactionInfo txInfo, Throwable ex) Handle a throwable, completing the transaction.protected TransactionAttributeAbstractFallbackTransactionAttributeSource.computeTransactionAttribute(Method method, Class<?> targetClass) Same signature asAbstractFallbackTransactionAttributeSource.getTransactionAttribute(java.lang.reflect.Method, java.lang.Class<?>), but doesn't cache the result.protected TransactionAspectSupport.TransactionInfoTransactionAspectSupport.createTransactionIfNecessary(PlatformTransactionManager tm, TransactionAttribute txAttr, String joinpointIdentification) Create a transaction if necessary based on the given TransactionAttribute.protected TransactionAspectSupport.TransactionInfoTransactionAspectSupport.createTransactionIfNecessary(PlatformTransactionManager tm, TransactionAttribute txAttr, String joinpointIdentification) Create a transaction if necessary based on the given TransactionAttribute.protected TransactionManagerTransactionAspectSupport.determineTransactionManager(TransactionAttribute txAttr) Determine the specific transaction manager to use for the given transaction.booleanbooleanbooleanbooleanprotected ObjectAbstractFallbackTransactionAttributeSource.getCacheKey(Method method, Class<?> targetClass) Determine a cache key for the given method and target class.AbstractFallbackTransactionAttributeSource.getTransactionAttribute(Method method, Class<?> targetClass) Determine the transaction attribute for this method invocation.CompositeTransactionAttributeSource.getTransactionAttribute(Method method, Class<?> targetClass) MatchAlwaysTransactionAttributeSource.getTransactionAttribute(Method method, Class<?> targetClass) MethodMapTransactionAttributeSource.getTransactionAttribute(Method method, Class<?> targetClass) NameMatchTransactionAttributeSource.getTransactionAttribute(Method method, Class<?> targetClass) TransactionAttributeSource.getTransactionAttribute(Method method, Class<?> targetClass) Return the transaction attribute for the given method, ornullif the method is non-transactional.protected voidMethodMapTransactionAttributeSource.initMethodMap(Map<String, TransactionAttribute> methodMap) Initialize the specified"methodMap", if any.protected ObjectTransactionAspectSupport.invokeWithinTransaction(Method method, Class<?> targetClass, TransactionAspectSupport.InvocationCallback invocation) General delegate for around-advice-based subclasses, delegating to several other template methods on this class.protected StringTransactionAspectSupport.methodIdentification(Method method, Class<?> targetClass) Convenience method to return a String representation of this Method for use in logging.voidTransactionAspectSupport.TransactionInfo.newTransactionStatus(TransactionStatus status) protected TransactionAspectSupport.TransactionInfoTransactionAspectSupport.prepareTransactionInfo(PlatformTransactionManager tm, TransactionAttribute txAttr, String joinpointIdentification, TransactionStatus status) Prepare a TransactionInfo for the given attribute and status object.protected TransactionAspectSupport.TransactionInfoTransactionAspectSupport.prepareTransactionInfo(PlatformTransactionManager tm, TransactionAttribute txAttr, String joinpointIdentification, TransactionStatus status) Prepare a TransactionInfo for the given attribute and status object.protected TransactionAspectSupport.TransactionInfoTransactionAspectSupport.prepareTransactionInfo(PlatformTransactionManager tm, TransactionAttribute txAttr, String joinpointIdentification, TransactionStatus status) Prepare a TransactionInfo for the given attribute and status object.voidDefaultTransactionAttribute.resolveAttributeStrings(StringValueResolver resolver) Resolve attribute values that are defined as resolvable Strings:DefaultTransactionAttribute.setTimeoutString(java.lang.String),DefaultTransactionAttribute.setQualifier(java.lang.String),DefaultTransactionAttribute.setLabels(java.util.Collection<java.lang.String>).voidTransactionAspectSupport.setBeanFactory(BeanFactory beanFactory) Set the BeanFactory to use for retrievingTransactionManagerbeans.voidDefaultTransactionAttribute.setDescriptor(String descriptor) Set a descriptor for this transaction attribute, e.g.voidDefaultTransactionAttribute.setQualifier(String qualifier) Associate a qualifier value with this transaction attribute.voidDefaultTransactionAttribute.setTimeoutString(String timeoutString) Set the timeout to apply, if any, as a String value that resolves to a number of seconds.voidTransactionAspectSupport.setTransactionAttributeSource(TransactionAttributeSource transactionAttributeSource) Set the transaction attribute source which is used to find transaction attributes.voidTransactionAspectSupport.setTransactionManager(TransactionManager transactionManager) Specify the default transaction manager to use to drive transactions.voidTransactionAspectSupport.setTransactionManagerBeanName(String transactionManagerBeanName) Specify the name of the default transaction manager bean.Constructor parameters in org.springframework.transaction.interceptor with annotations of type NullableModifierConstructorDescriptionTransactionInfo(PlatformTransactionManager transactionManager, TransactionAttribute transactionAttribute, String joinpointIdentification) TransactionInfo(PlatformTransactionManager transactionManager, TransactionAttribute transactionAttribute, String joinpointIdentification) -
Uses of Nullable in org.springframework.transaction.jta
Methods in org.springframework.transaction.jta with annotations of type NullableModifier and TypeMethodDescriptionprotected TransactionManagerJtaTransactionManager.findTransactionManager(UserTransaction ut) Find the JTA TransactionManager through autodetection: checking whether the UserTransaction object implements the TransactionManager, and checking the fallback JNDI locations.protected TransactionSynchronizationRegistryJtaTransactionManager.findTransactionSynchronizationRegistry(UserTransaction ut, TransactionManager tm) Find the JTA 1.1 TransactionSynchronizationRegistry through autodetection: checking whether the UserTransaction object or TransactionManager object implements it, and checking Jakarta EE's standard JNDI location.protected UserTransactionJtaTransactionManager.findUserTransaction()Find the JTA UserTransaction through a default JNDI lookup: "java:comp/UserTransaction".JtaTransactionManager.getJndiEnvironment()Return the JNDI environment to use for JNDI lookups.JtaTransactionManager.getTransactionManager()Return the JTA TransactionManager that this transaction manager uses, if any.JtaTransactionManager.getTransactionSynchronizationRegistry()Return the JTA 1.1 TransactionSynchronizationRegistry that this transaction manager uses, if any.JtaTransactionManager.getUserTransaction()Return the JTA UserTransaction that this transaction manager uses.protected TransactionManagerJtaTransactionManager.retrieveTransactionManager()Allows subclasses to retrieve the JTA TransactionManager in a vendor-specific manner.protected TransactionSynchronizationRegistryJtaTransactionManager.retrieveTransactionSynchronizationRegistry()Allows subclasses to retrieve the JTA 1.1 TransactionSynchronizationRegistry in a vendor-specific manner.protected UserTransactionJtaTransactionManager.retrieveUserTransaction()Allows subclasses to retrieve the JTA UserTransaction in a vendor-specific manner.Method parameters in org.springframework.transaction.jta with annotations of type NullableModifier and TypeMethodDescriptionJtaTransactionManager.createTransaction(String name, int timeout) SimpleTransactionFactory.createTransaction(String name, int timeout) TransactionFactory.createTransaction(String name, int timeout) Create an active Transaction object based on the given name and timeout.protected voidJtaTransactionManager.doJtaResume(JtaTransactionObject txObject, Object suspendedTransaction) Perform a JTA resume on the JTA TransactionManager.protected voidprotected TransactionManagerJtaTransactionManager.findTransactionManager(UserTransaction ut) Find the JTA TransactionManager through autodetection: checking whether the UserTransaction object implements the TransactionManager, and checking the fallback JNDI locations.protected TransactionSynchronizationRegistryJtaTransactionManager.findTransactionSynchronizationRegistry(UserTransaction ut, TransactionManager tm) Find the JTA 1.1 TransactionSynchronizationRegistry through autodetection: checking whether the UserTransaction object or TransactionManager object implements it, and checking Jakarta EE's standard JNDI location.protected TransactionSynchronizationRegistryJtaTransactionManager.findTransactionSynchronizationRegistry(UserTransaction ut, TransactionManager tm) Find the JTA 1.1 TransactionSynchronizationRegistry through autodetection: checking whether the UserTransaction object or TransactionManager object implements it, and checking Jakarta EE's standard JNDI location.voidJtaTransactionManager.setJndiEnvironment(Properties jndiEnvironment) Set the JNDI environment to use for JNDI lookups.voidJtaTransactionManager.setTransactionManager(TransactionManager transactionManager) Set the JTA TransactionManager to use as direct reference.voidJtaTransactionManager.setTransactionSynchronizationRegistry(TransactionSynchronizationRegistry transactionSynchronizationRegistry) Set the JTA 1.1 TransactionSynchronizationRegistry to use as direct reference.voidJtaTransactionManager.setUserTransaction(UserTransaction userTransaction) Set the JTA UserTransaction to use as direct reference.Constructor parameters in org.springframework.transaction.jta with annotations of type NullableModifierConstructorDescriptionSpringJtaSynchronizationAdapter(TransactionSynchronization springSynchronization, TransactionManager jtaTransactionManager) Deprecated.as of 6.0.12 since JTA 1.1+ requires implicit rollback-only setting in case of an exception thrown inbeforeCompletion, so the regularSpringJtaSynchronizationAdapter(TransactionSynchronization)constructor is sufficient for all scenariosSpringJtaSynchronizationAdapter(TransactionSynchronization springSynchronization, UserTransaction jtaUserTransaction) Deprecated.as of 6.0.12 since JTA 1.1+ requires implicit rollback-only setting in case of an exception thrown inbeforeCompletion, so the regularSpringJtaSynchronizationAdapter(TransactionSynchronization)constructor is sufficient for all scenarios -
Uses of Nullable in org.springframework.transaction.reactive
Methods in org.springframework.transaction.reactive with annotations of type NullableModifier and TypeMethodDescriptionTransactionContext.getCurrentTransactionIsolationLevel()TransactionSynchronizationManager.getCurrentTransactionIsolationLevel()Return the isolation level for the current transaction, if any.TransactionContext.getCurrentTransactionName()TransactionSynchronizationManager.getCurrentTransactionName()Return the name of the current transaction, ornullif none set.TransactionContext.getParent()TransactionSynchronizationManager.getResource(Object key) Retrieve a resource for the given key that is bound to the current context.GenericReactiveTransaction.getSuspendedResources()Return the holder for resources that have been suspended for this transaction, if any.TransactionContext.getSynchronizations()TransactionSynchronizationManager.unbindResourceIfPossible(Object key) Unbind a resource for the given key from the current context.Method parameters in org.springframework.transaction.reactive with annotations of type NullableModifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<Void>AbstractReactiveTransactionManager.doResume(TransactionSynchronizationManager synchronizationManager, Object transaction, Object suspendedResources) Resume the resources of the current transaction.final reactor.core.publisher.Mono<ReactiveTransaction>AbstractReactiveTransactionManager.getReactiveTransaction(TransactionDefinition definition) This implementation handles propagation behavior.voidTransactionContext.setCurrentTransactionIsolationLevel(Integer currentTransactionIsolationLevel) voidTransactionSynchronizationManager.setCurrentTransactionIsolationLevel(Integer isolationLevel) Expose an isolation level for the current transaction.voidTransactionContext.setCurrentTransactionName(String currentTransactionName) voidTransactionSynchronizationManager.setCurrentTransactionName(String name) Expose the name of the current transaction, if any.voidTransactionContext.setSynchronizations(Set<TransactionSynchronization> synchronizations) Constructor parameters in org.springframework.transaction.reactive with annotations of type NullableModifierConstructorDescriptionGenericReactiveTransaction(Object transaction, boolean newTransaction, boolean newSynchronization, boolean readOnly, boolean debug, Object suspendedResources) Create a newDefaultReactiveTransactionStatusinstance.GenericReactiveTransaction(Object transaction, boolean newTransaction, boolean newSynchronization, boolean readOnly, boolean debug, Object suspendedResources) Create a newDefaultReactiveTransactionStatusinstance. -
Uses of Nullable in org.springframework.transaction.support
Methods in org.springframework.transaction.support with annotations of type NullableModifier and TypeMethodDescriptionTransactionCallback.doInTransaction(TransactionStatus status) Gets called byTransactionTemplate.execute(org.springframework.transaction.support.TransactionCallback<T>)within a transactional context.final ObjectTransactionCallbackWithoutResult.doInTransaction(TransactionStatus status) <T> TCallbackPreferringPlatformTransactionManager.execute(TransactionDefinition definition, TransactionCallback<T> callback) Execute the action specified by the given callback object within a transaction.<T> TTransactionOperations.execute(TransactionCallback<T> action) Execute the action specified by the given callback object within a transaction.<T> TTransactionTemplate.execute(TransactionCallback<T> action) SimpleTransactionScope.getConversationId()static IntegerTransactionSynchronizationManager.getCurrentTransactionIsolationLevel()Return the isolation level for the current transaction, if any.static StringTransactionSynchronizationManager.getCurrentTransactionName()Return the name of the current transaction, ornullif none set.ResourceHolderSupport.getDeadline()Return the expiration deadline of this object.final StringDefaultTransactionDefinition.getName()DelegatingTransactionDefinition.getName()static ObjectTransactionSynchronizationManager.getResource(Object key) Retrieve a resource for the given key that is bound to the current thread.protected ObjectAbstractTransactionStatus.getSavepoint()Get the savepoint for this transaction, if any.DefaultTransactionStatus.getSuspendedResources()Return the holder for resources that have been suspended for this transaction, if any.TransactionTemplate.getTransactionManager()Return the transaction management strategy to be used.SimpleTransactionScope.resolveContextualObject(String key) protected final AbstractPlatformTransactionManager.SuspendedResourcesHolderSuspend the given transaction.static ObjectTransactionSynchronizationManager.unbindResourceIfPossible(Object key) Unbind a resource for the given key from the current thread.Method parameters in org.springframework.transaction.support with annotations of type NullableModifier and TypeMethodDescriptionprotected voidResume the resources of the current transaction.booleanThis implementation compares thetoString()results.booleanboolean<T> TCallbackPreferringPlatformTransactionManager.execute(TransactionDefinition definition, TransactionCallback<T> callback) Execute the action specified by the given callback object within a transaction.final TransactionStatusAbstractPlatformTransactionManager.getTransaction(TransactionDefinition definition) This implementation handles propagation behavior.static voidTransactionSynchronizationUtils.invokeAfterCommit(List<TransactionSynchronization> synchronizations) Actually invoke theafterCommitmethods of the given Spring TransactionSynchronization objects.static voidTransactionSynchronizationUtils.invokeAfterCompletion(List<TransactionSynchronization> synchronizations, int completionStatus) Actually invoke theafterCompletionmethods of the given Spring TransactionSynchronization objects.protected DefaultTransactionStatusAbstractPlatformTransactionManager.newTransactionStatus(TransactionDefinition definition, Object transaction, boolean newTransaction, boolean newSynchronization, boolean debug, Object suspendedResources) Create a TransactionStatus instance for the given arguments.protected DefaultTransactionStatusAbstractPlatformTransactionManager.newTransactionStatus(TransactionDefinition definition, Object transaction, boolean newTransaction, boolean newSynchronization, boolean debug, Object suspendedResources) Create a TransactionStatus instance for the given arguments.protected final DefaultTransactionStatusAbstractPlatformTransactionManager.prepareTransactionStatus(TransactionDefinition definition, Object transaction, boolean newTransaction, boolean newSynchronization, boolean debug, Object suspendedResources) Create a new TransactionStatus for the given arguments, also initializing transaction synchronization as appropriate.protected final DefaultTransactionStatusAbstractPlatformTransactionManager.prepareTransactionStatus(TransactionDefinition definition, Object transaction, boolean newTransaction, boolean newSynchronization, boolean debug, Object suspendedResources) Create a new TransactionStatus for the given arguments, also initializing transaction synchronization as appropriate.protected final voidAbstractPlatformTransactionManager.resume(Object transaction, AbstractPlatformTransactionManager.SuspendedResourcesHolder resourcesHolder) Resume the given transaction.protected final voidAbstractPlatformTransactionManager.resume(Object transaction, AbstractPlatformTransactionManager.SuspendedResourcesHolder resourcesHolder) Resume the given transaction.static voidTransactionSynchronizationManager.setCurrentTransactionIsolationLevel(Integer isolationLevel) Expose an isolation level for the current transaction.static voidTransactionSynchronizationManager.setCurrentTransactionName(String name) Expose the name of the current transaction, if any.protected voidAbstractTransactionStatus.setSavepoint(Object savepoint) Set a savepoint for this transaction.voidTransactionTemplate.setTransactionManager(PlatformTransactionManager transactionManager) Set the transaction management strategy to be used.protected final AbstractPlatformTransactionManager.SuspendedResourcesHolderSuspend the given transaction.Constructor parameters in org.springframework.transaction.support with annotations of type NullableModifierConstructorDescriptionDefaultTransactionStatus(Object transaction, boolean newTransaction, boolean newSynchronization, boolean readOnly, boolean debug, Object suspendedResources) Create a newDefaultTransactionStatusinstance.DefaultTransactionStatus(Object transaction, boolean newTransaction, boolean newSynchronization, boolean readOnly, boolean debug, Object suspendedResources) Create a newDefaultTransactionStatusinstance. -
Uses of Nullable in org.springframework.ui
Methods in org.springframework.ui with annotations of type NullableModifier and TypeMethodDescriptionConcurrentModel.getAttribute(String attributeName) Model.getAttribute(String attributeName) Return the attribute value for the given name, if any.ModelMap.getAttribute(String attributeName) Return the attribute value for the given name, if any.Method parameters in org.springframework.ui with annotations of type NullableModifier and TypeMethodDescriptionConcurrentModel.addAllAttributes(Collection<?> attributeValues) Copy all attributes in the suppliedCollectioninto thisMap, using attribute name generation for each element.ConcurrentModel.addAllAttributes(Map<String, ?> attributes) Copy all attributes in the suppliedMapinto thisMap.ExtendedModelMap.addAllAttributes(Collection<?> attributeValues) ExtendedModelMap.addAllAttributes(Map<String, ?> attributes) ModelMap.addAllAttributes(Collection<?> attributeValues) Copy all attributes in the suppliedCollectioninto thisMap, using attribute name generation for each element.ModelMap.addAllAttributes(Map<String, ?> attributes) Copy all attributes in the suppliedMapinto thisMap.ConcurrentModel.addAttribute(String attributeName, Object attributeValue) Add the supplied attribute under the supplied name.ExtendedModelMap.addAttribute(String attributeName, Object attributeValue) Model.addAttribute(String attributeName, Object attributeValue) Add the supplied attribute under the supplied name.ModelMap.addAttribute(String attributeName, Object attributeValue) Add the supplied attribute under the supplied name.ConcurrentModel.mergeAttributes(Map<String, ?> attributes) Copy all attributes in the suppliedMapinto thisMap, with existing objects of the same name taking precedence (i.e.ExtendedModelMap.mergeAttributes(Map<String, ?> attributes) ModelMap.mergeAttributes(Map<String, ?> attributes) Copy all attributes in the suppliedMapinto thisMap, with existing objects of the same name taking precedence (i.e.Constructor parameters in org.springframework.ui with annotations of type Nullable -
Uses of Nullable in org.springframework.ui.context
Methods in org.springframework.ui.context with annotations of type NullableModifier and TypeMethodDescriptionHierarchicalThemeSource.getParentThemeSource()Deprecated.Return the parent of this ThemeSource, ornullif none.Deprecated.Return the Theme instance for the given theme name.Method parameters in org.springframework.ui.context with annotations of type NullableModifier and TypeMethodDescriptionvoidHierarchicalThemeSource.setParentThemeSource(ThemeSource parent) Deprecated.Set the parent that will be used to try to resolve theme messages that this object can't resolve. -
Uses of Nullable in org.springframework.ui.context.support
Methods in org.springframework.ui.context.support with annotations of type NullableModifier and TypeMethodDescriptionDelegatingThemeSource.getParentThemeSource()Deprecated.ResourceBundleThemeSource.getParentThemeSource()Deprecated.Deprecated.Deprecated.This implementation returns a SimpleTheme instance, holding a ResourceBundle-based MessageSource whose basename corresponds to the given theme name (prefixed by the configured "basenamePrefix").Method parameters in org.springframework.ui.context.support with annotations of type NullableModifier and TypeMethodDescriptionvoidResourceBundleThemeSource.setBasenamePrefix(String basenamePrefix) Deprecated.Set the prefix that gets applied to the ResourceBundle basenames, i.e.voidResourceBundleThemeSource.setBeanClassLoader(ClassLoader beanClassLoader) Deprecated.voidResourceBundleThemeSource.setDefaultEncoding(String defaultEncoding) Deprecated.Set the default charset to use for parsing resource bundle files.voidDelegatingThemeSource.setParentThemeSource(ThemeSource parentThemeSource) Deprecated.voidResourceBundleThemeSource.setParentThemeSource(ThemeSource parent) Deprecated. -
Uses of Nullable in org.springframework.ui.freemarker
Methods in org.springframework.ui.freemarker with annotations of type NullableModifier and TypeMethodDescriptionSpringTemplateLoader.findTemplateSource(String name) protected freemarker.cache.TemplateLoaderFreeMarkerConfigurationFactory.getAggregateTemplateLoader(List<freemarker.cache.TemplateLoader> templateLoaders) Return a TemplateLoader based on the given TemplateLoader list.freemarker.template.ConfigurationFreeMarkerConfigurationFactoryBean.getObject() -
Uses of Nullable in org.springframework.util
Fields in org.springframework.util with annotations of type NullableMethods in org.springframework.util with annotations of type NullableModifier and TypeMethodDescriptionLinkedCaseInsensitiveMap.computeIfAbsent(String key, Function<? super String, ? extends V> mappingFunction) static String[]StringUtils.concatenateStringArrays(String[] array1, String[] array2) Concatenate the givenStringarrays into one, with overlapping array elements included twice.StopWatch.currentTaskName()Get the name of the currently running task, if any.static ObjectSerializationUtils.deserialize(byte[] bytes) Deprecated.This utility uses Java Object Serialization, which allows arbitrary code to be run and is known for being the source of many Remote Code Execution (RCE) vulnerabilities.static Class<?>ClassUtils.determineCommonAncestor(Class<?> clazz1, Class<?> clazz2) Determine the common ancestor of the given classes, if any.<T> TConcurrentReferenceHashMap.Segment.doTask(int hash, Object key, ConcurrentReferenceHashMap<K, V>.org.springframework.util.ConcurrentReferenceHashMap.Task<T> task) Apply an update operation to this segment.static Class<?>CollectionUtils.findCommonElementType(Collection<?> collection) Find the common element type of the given Collection, if any.static Fieldstatic Fieldstatic <E> ECollectionUtils.findFirstMatch(Collection<?> source, Collection<E> candidates) Return the first element in 'candidates' that is contained in 'source'.protected MethodMethodInvoker.findMatchingMethod()Find a matching method with the specified name for the specified arguments.static MethodReflectionUtils.findMethod(Class<?> clazz, String name) Attempt to find aMethodon the supplied class with the supplied name and no parameters.static MethodReflectionUtils.findMethod(Class<?> clazz, String name, Class<?>... paramTypes) Attempt to find aMethodon the supplied class with the supplied name and parameter types.static ObjectCollectionUtils.findValueOfType(Collection<?> collection, Class<?>[] types) Find a single value of one of the given types in the given Collection: searching the Collection for a value of the first type, then searching for a value of the second type, etc.static <T> TCollectionUtils.findValueOfType(Collection<?> collection, Class<T> type) Find a single value of the given type in the given Collection.static <T> TCollectionUtils.firstElement(List<T> list) Retrieve the first element of the given List, accessing the zero index.static <T> TCollectionUtils.firstElement(Set<T> set) Retrieve the first element of the given Set, usingSortedSet.first()or otherwise using the iterator.ConcurrentReferenceHashMap.Reference.get()Return the referenced entry, ornullif the entry is no longer available.MimeType.getCharset()Return the character set, as indicated by acharsetparameter, if any.static <T> Constructor<T>ClassUtils.getConstructorIfAvailable(Class<T> clazz, Class<?>... paramTypes) Determine whether the given class has a public constructor with the given signature, and return it if available (else returnnull).static ClassLoaderClassUtils.getDefaultClassLoader()Return the default ClassLoader to use: typically the thread context ClassLoader, if available; the ClassLoader that loaded the ClassUtils class will be used as fallback.static StringClassUtils.getDescriptiveType(Object value) Return a descriptive name for the given object's type: usually simply the class name, but component type class name + "[]" for arrays, and an appended list of implemented interfaces for JDK proxies.static ObjectGet the field represented by the suppliedfield objecton the specifiedtarget object.static StringStringUtils.getFilename(String path) Extract the filename from the given Java resource path, e.g.static StringStringUtils.getFilenameExtension(String path) Extract the filename extension from the given Java resource path, e.g.Return the first value for the given key.ConcurrentReferenceHashMap.Entry.getKey()static MethodClassUtils.getMethodIfAvailable(Class<?> clazz, String methodName, Class<?>... paramTypes) Determine whether the given class has a public method with the given signature, and return it if available (else returnnull).ConcurrentReferenceHashMap.Reference.getNext()Return the next reference in the chain, ornullif none.ConcurrentReferenceHashMap.getOrDefault(Object key, V defaultValue) LinkedCaseInsensitiveMap.getOrDefault(Object key, V defaultValue) MimeType.getParameter(String name) Return a generic parameter value, given a parameter name.protected final ConcurrentReferenceHashMap.Reference<K,V> ConcurrentReferenceHashMap.getReference(Object key, ConcurrentReferenceHashMap.Restructure restructure) Return aConcurrentReferenceHashMap.Referenceto theConcurrentReferenceHashMap.Entryfor the specifiedkey, ornullif not found.ConcurrentReferenceHashMap.Segment.getReference(Object key, int hash, ConcurrentReferenceHashMap.Restructure restructure) static MethodClassUtils.getStaticMethod(Class<?> clazz, String methodName, Class<?>... args) Return a public static method of a class.MimeType.getSubtypeSuffix()Return the subtype suffix as defined in RFC 6839.Class<?>MethodInvoker.getTargetClass()Return the target class on which to call the target method.MethodInvoker.getTargetMethod()Return the name of the method to be invoked.MethodInvoker.getTargetObject()Return the target object on which to call the target method.CustomizableThreadCreator.getThreadGroup()Return the thread group that threads should be created in (ornullfor the default group).ConcurrentReferenceHashMap.Entry.getValue()MethodInvoker.invoke()Invoke the specified method.static ObjectReflectionUtils.invokeMethod(Method method, Object target) Invoke the specifiedMethodagainst the supplied target object with no arguments.static ObjectReflectionUtils.invokeMethod(Method method, Object target, Object... args) Invoke the specifiedMethodagainst the supplied target object with the supplied arguments.static <T> TCollectionUtils.lastElement(List<T> list) Retrieve the last element of the given List, accessing the highest index.static <T> TCollectionUtils.lastElement(Set<T> set) Retrieve the last element of the given Set, usingSortedSet.last()or otherwise iterating over all elements (assuming a linked set).RouteMatcher.matchAndExtract(String pattern, RouteMatcher.Route route) Match the pattern to the route and extract template variables.SimpleRouteMatcher.matchAndExtract(String pattern, RouteMatcher.Route route) static ClassLoaderClassUtils.overrideThreadContextClassLoader(ClassLoader classLoaderToUse) Override the thread context ClassLoader with the environment's bean ClassLoader if necessary, i.e.static LocaleStringUtils.parseLocale(String localeValue) Parse the givenStringvalue into aLocale, accepting theLocale.toString()format as well as BCP 47 language tags as specified byLocale.forLanguageTag(java.lang.String).static LocaleStringUtils.parseLocaleString(String localeString) Parse the givenStringrepresentation into aLocale.ConcurrentReferenceHashMap.ReferenceManager.pollForPurge()Return any reference that has been garbage collected and can be purged from the underlying structure ornullif no references need purging.ConcurrentReferenceHashMap.putIfAbsent(K key, V value) LinkedCaseInsensitiveMap.putIfAbsent(String key, V value) MultiValueMapAdapter.putIfAbsent(K key, List<V> value) static StringQuote the givenStringwith single quotes.static ObjectStringUtils.quoteIfString(Object obj) Turn the given Object into aStringwith single quotes if it is aString; keeping the Object as-is else.booleanImmediately remove the given key and any associated value.PropertyPlaceholderHelper.PlaceholderResolver.resolvePlaceholder(String placeholderName) Resolve the supplied placeholder name to the replacement value.static Class<?>ClassUtils.resolvePrimitiveClassName(String name) Resolve the given class name as primitive class, if appropriate, according to the JVM's naming rules for primitive classes.StringValueResolver.resolveStringValue(String strVal) Resolve the given String value, for example parsing placeholders.static byte[]Serialize the given object to a byte array.static String[]Split aStringat the first occurrence of the delimiter.static PropertiesStringUtils.splitArrayElementsIntoProperties(String[] array, String delimiter) Take an array of strings and split each element based on the given delimiter.static PropertiesStringUtils.splitArrayElementsIntoProperties(String[] array, String delimiter, String charsToDelete) Take an array of strings and split each element based on the given delimiter.static ObjectObjectUtils.unwrapOptional(Object obj) Unwrap the given object which is potentially aOptional.Method parameters in org.springframework.util with annotations of type NullableModifier and TypeMethodDescriptionvoidAdd the given single value to the current list of values for the given key.voiddefault voidMultiValueMap.addIfAbsent(K key, V value) static <A,O extends A>
A[]ObjectUtils.addObjectToArray(A[] array, O obj) Append the given object to the given array, returning a new array consisting of the input array contents plus the given object.static <A,O extends A>
A[]ObjectUtils.addObjectToArray(A[] array, O obj) Append the given object to the given array, returning a new array consisting of the input array contents plus the given object.static <A,O extends A>
A[]ObjectUtils.addObjectToArray(A[] array, O obj, int position) Add the given object to the given array at the specified position, returning a new array consisting of the input array contents plus the given object.static <A,O extends A>
A[]ObjectUtils.addObjectToArray(A[] array, O obj, int position) Add the given object to the given array at the specified position, returning a new array consisting of the input array contents plus the given object.static String[]StringUtils.addStringToArray(String[] array, String str) Append the givenStringto the givenStringarray, returning a new array consisting of the input array contents plus the givenString.static StringStringUtils.arrayToCommaDelimitedString(Object[] arr) Convert aStringarray into a comma delimitedString(i.e., CSV).static StringStringUtils.arrayToDelimitedString(Object[] arr, String delim) Convert aStringarray into a delimitedString(e.g.static List<?>CollectionUtils.arrayToList(Object source) Convert the supplied array into a List.static StringClassUtils.classNamesToString(Collection<Class<?>> classes) Build a String that consists of the names of the classes/interfaces in the given collection.static StringClassUtils.classPackageAsResourcePath(Class<?> clazz) Given an input class object, return a string which consists of the class's package name as a pathname, i.e., all dots ('.') are replaced by slashes ('/').static StringStringUtils.collectionToCommaDelimitedString(Collection<?> coll) Convert aCollectioninto a delimitedString(e.g., CSV).static StringStringUtils.collectionToDelimitedString(Collection<?> coll, String delim) Convert aCollectioninto a delimitedString(e.g.static StringStringUtils.collectionToDelimitedString(Collection<?> coll, String delim, String prefix, String suffix) Convert aCollectionto a delimitedString(e.g.StringUtils.commaDelimitedListToSet(String str) Convert a comma delimited list (e.g., a row from a CSV file) into a set.static String[]StringUtils.commaDelimitedListToStringArray(String str) Convert a comma delimited list (e.g., a row from a CSV file) into an array of strings.static String[]StringUtils.concatenateStringArrays(String[] array1, String[] array2) Concatenate the givenStringarrays into one, with overlapping array elements included twice.static String[]StringUtils.concatenateStringArrays(String[] array1, String[] array2) Concatenate the givenStringarrays into one, with overlapping array elements included twice.static booleanCollectionUtils.contains(Enumeration<?> enumeration, Object element) Check whether the given Enumeration contains the given element.static booleanCheck whether the given Iterator contains the given element.static booleanObjectUtils.containsElement(Object[] array, Object element) Check whether the given array contains the given element.static booleanCollectionUtils.containsInstance(Collection<?> collection, Object element) Check whether the given Collection contains the given element instance.booleanConcurrentReferenceHashMap.containsKey(Object key) static booleanStringUtils.containsWhitespace(CharSequence str) Check whether the givenCharSequencecontains any whitespace characters.static booleanStringUtils.containsWhitespace(String str) Check whether the givenStringcontains any whitespace characters.static byte[]FileCopyUtils.copyToByteArray(InputStream in) Copy the contents of the given InputStream into a new byte array.static byte[]StreamUtils.copyToByteArray(InputStream in) Copy the contents of the given InputStream into a new byte array.static StringFileCopyUtils.copyToString(Reader in) Copy the contents of the given Reader into a String.static StringStreamUtils.copyToString(InputStream in, Charset charset) Copy the contents of the given InputStream into a String.static Class<?>ClassUtils.createCompositeInterface(Class<?>[] interfaces, ClassLoader classLoader) Create a composite interface Class for the given interfaces, implementing the given interfaces in one single Class.ConcurrentReferenceHashMap.ReferenceManager.createReference(ConcurrentReferenceHashMap.Entry<K, V> entry, int hash, ConcurrentReferenceHashMap.Reference<K, V> next) Factory method used to create a newConcurrentReferenceHashMap.Reference.static StringDelete any character in a givenString.static booleanFileSystemUtils.deleteRecursively(File root) Delete the suppliedFile- for directories, recursively delete any nested directories or files as well.static booleanFileSystemUtils.deleteRecursively(Path root) Delete the suppliedPath— for directories, recursively delete any nested directories or files as well.static String[]StringUtils.delimitedListToStringArray(String str, String delimiter) Take aStringthat is a delimited list and convert it into aStringarray.static String[]StringUtils.delimitedListToStringArray(String str, String delimiter) Take aStringthat is a delimited list and convert it into aStringarray.static String[]StringUtils.delimitedListToStringArray(String str, String delimiter, String charsToDelete) Take aStringthat is a delimited list and convert it into aStringarray.static String[]StringUtils.delimitedListToStringArray(String str, String delimiter, String charsToDelete) Take aStringthat is a delimited list and convert it into aStringarray.static String[]StringUtils.delimitedListToStringArray(String str, String delimiter, String charsToDelete) Take aStringthat is a delimited list and convert it into aStringarray.static ObjectSerializationUtils.deserialize(byte[] bytes) Deprecated.This utility uses Java Object Serialization, which allows arbitrary code to be run and is known for being the source of many Remote Code Execution (RCE) vulnerabilities.static Class<?>ClassUtils.determineCommonAncestor(Class<?> clazz1, Class<?> clazz2) Determine the common ancestor of the given classes, if any.static Class<?>ClassUtils.determineCommonAncestor(Class<?> clazz1, Class<?> clazz2) Determine the common ancestor of the given classes, if any.static voidAssert.doesNotContain(String textToSearch, String substring) Deprecated, for removal: This API element is subject to removal in a future version.as of 4.3.7, in favor ofAssert.doesNotContain(String, String, String); to be removed in 6.1static voidAssert.doesNotContain(String textToSearch, String substring, String message) Assert that the given text does not contain the given substring.static voidAssert.doesNotContain(String textToSearch, String substring, Supplier<String> messageSupplier) Assert that the given text does not contain the given substring.protected booleanAntPathMatcher.doMatch(String pattern, String path, boolean fullMatch, Map<String, String> uriTemplateVariables) Actually match the givenpathagainst the givenpattern.protected booleanAntPathMatcher.doMatch(String pattern, String path, boolean fullMatch, Map<String, String> uriTemplateVariables) Actually match the givenpathagainst the givenpattern.<T> TConcurrentReferenceHashMap.Segment.doTask(int hash, Object key, ConcurrentReferenceHashMap<K, V>.org.springframework.util.ConcurrentReferenceHashMap.Task<T> task) Apply an update operation to this segment.static voidReflectionUtils.doWithFields(Class<?> clazz, ReflectionUtils.FieldCallback fc, ReflectionUtils.FieldFilter ff) Invoke the given callback on all fields in the target class, going up the class hierarchy to get all declared fields.static voidReflectionUtils.doWithMethods(Class<?> clazz, ReflectionUtils.MethodCallback mc, ReflectionUtils.MethodFilter mf) Perform the given callback operation on all matching methods of the given class and superclasses (or given interface and super-interfaces).static booleanStringUtils.endsWithIgnoreCase(String str, String suffix) Test if the givenStringends with the specified suffix, ignoring upper/lower case.static booleanStringUtils.endsWithIgnoreCase(String str, String suffix) Test if the givenStringends with the specified suffix, ignoring upper/lower case.booleanbooleanbooleanbooleanbooleanbooleanMimeType.equalsTypeAndSubtype(MimeType other) Similar toMimeType.equals(Object)but based on the type and subtype only, i.e.static Fieldstatic Fieldstatic MethodReflectionUtils.findMethod(Class<?> clazz, String name, Class<?>... paramTypes) Attempt to find aMethodon the supplied class with the supplied name and parameter types.static <T> TCollectionUtils.findValueOfType(Collection<?> collection, Class<T> type) Find a single value of the given type in the given Collection.static <T> TCollectionUtils.firstElement(List<T> list) Retrieve the first element of the given List, accessing the zero index.static <T> TCollectionUtils.firstElement(Set<T> set) Retrieve the first element of the given Set, usingSortedSet.first()or otherwise using the iterator.static Class<?>ClassUtils.forName(String name, ClassLoader classLoader) Replacement forClass.forName()that also returns Class instances for primitives (e.g.static Class<?>[]ClassUtils.getAllInterfacesForClass(Class<?> clazz, ClassLoader classLoader) Return all interfaces that the given class implements as an array, including ones implemented by superclasses.ClassUtils.getAllInterfacesForClassAsSet(Class<?> clazz, ClassLoader classLoader) Return all interfaces that the given class implements as a Set, including ones implemented by superclasses.static StringClassUtils.getDescriptiveType(Object value) Return a descriptive name for the given object's type: usually simply the class name, but component type class name + "[]" for arrays, and an appended list of implemented interfaces for JDK proxies.static StringObjectUtils.getDisplayString(Object obj) Return a content-based String representation ifobjis notnull; otherwise returns an empty String.static ObjectGet the field represented by the suppliedfield objecton the specifiedtarget object.static StringStringUtils.getFilename(String path) Extract the filename from the given Java resource path, e.g.static StringStringUtils.getFilenameExtension(String path) Extract the filename extension from the given Java resource path, e.g.protected intGet the hash for a given object, apply an additional hash function to reduce collisions.static MethodClassUtils.getInterfaceMethodIfPossible(Method method, Class<?> targetClass) Determine a corresponding interface method for the given method handle, if possible.static MethodDetermine whether the given class has a public method with the given signature, and return it if available (else throws anIllegalStateException).static MethodClassUtils.getMethodIfAvailable(Class<?> clazz, String methodName, Class<?>... paramTypes) Determine whether the given class has a public method with the given signature, and return it if available (else returnnull).static MethodClassUtils.getMostSpecificMethod(Method method, Class<?> targetClass) Given a method, which may come from an interface, and a target class used in the current reflective invocation, find the corresponding target method if there is one — for example, the method may beIFoo.bar(), and the target class may beDefaultFoo.ConcurrentReferenceHashMap.getOrDefault(Object key, V defaultValue) ConcurrentReferenceHashMap.getOrDefault(Object key, V defaultValue) static StringClassUtils.getQualifiedMethodName(Method method, Class<?> clazz) Return the qualified name of the given method, consisting of fully qualified interface/class name + "." + method name.protected final ConcurrentReferenceHashMap.Reference<K,V> ConcurrentReferenceHashMap.getReference(Object key, ConcurrentReferenceHashMap.Restructure restructure) Return aConcurrentReferenceHashMap.Referenceto theConcurrentReferenceHashMap.Entryfor the specifiedkey, ornullif not found.ConcurrentReferenceHashMap.Segment.getReference(Object key, int hash, ConcurrentReferenceHashMap.Restructure restructure) static Method[]ReflectionUtils.getUniqueDeclaredMethods(Class<?> leafClass, ReflectionUtils.MethodFilter mf) Get the unique set of declared methods on the leaf class and all superclasses.static voidDeprecated, for removal: This API element is subject to removal in a future version.as of 4.3.7, in favor ofAssert.hasLength(String, String); to be removed in 6.1static voidAssert that the given String is not empty; that is, it must not benulland not the empty String.static voidAssert that the given String is not empty; that is, it must not benulland not the empty String.static booleanStringUtils.hasLength(CharSequence str) Check that the givenCharSequenceis neithernullnor of length 0.static booleanCheck that the givenStringis neithernullnor of length 0.static voidDeprecated, for removal: This API element is subject to removal in a future version.as of 4.3.7, in favor ofAssert.hasText(String, String); to be removed in 6.1static voidAssert that the given String contains valid text content; that is, it must not benulland must contain at least one non-whitespace character.static voidAssert that the given String contains valid text content; that is, it must not benulland must contain at least one non-whitespace character.static booleanStringUtils.hasText(CharSequence str) Check whether the givenCharSequencecontains actual text.static booleanCheck whether the givenStringcontains actual text.static StringObjectUtils.identityToString(Object obj) Return a String representation of an object's overall identity.booleanIndicate whether this MIME Type includes the given MIME Type.static ObjectReflectionUtils.invokeMethod(Method method, Object target) Invoke the specifiedMethodagainst the supplied target object with no arguments.static ObjectReflectionUtils.invokeMethod(Method method, Object target, Object... args) Invoke the specifiedMethodagainst the supplied target object with the supplied arguments.static ObjectReflectionUtils.invokeMethod(Method method, Object target, Object... args) Invoke the specifiedMethodagainst the supplied target object with the supplied arguments.static booleanDetermine whether the given object is an array: either an Object array or a primitive array.static voidAssert.isAssignable(Class<?> superType, Class<?> subType, String message) Assert thatsuperType.isAssignableFrom(subType)istrue.static voidAssert.isAssignable(Class<?> superType, Class<?> subType, Supplier<String> messageSupplier) Assert thatsuperType.isAssignableFrom(subType)istrue.static booleanTypeUtils.isAssignableBound(Type lhsType, Type rhsType) static booleanTypeUtils.isAssignableBound(Type lhsType, Type rhsType) static booleanClassUtils.isAssignableValue(Class<?> type, Object value) Determine if the given type is assignable from the given value, assuming setting by reflection.static booleanClassUtils.isCacheSafe(Class<?> clazz, ClassLoader classLoader) Check whether the given class is cache-safe in the given context, i.e.static booleanClassUtils.isCglibProxyClass(Class<?> clazz) Deprecated.as of 5.2, in favor of custom (possibly narrower) checks or simply a check for containingClassUtils.CGLIB_CLASS_SEPARATORstatic booleanClassUtils.isCglibProxyClassName(String className) Deprecated.as of 5.2, in favor of custom (possibly narrower) checks or simply a check for containingClassUtils.CGLIB_CLASS_SEPARATORbooleanMimeType.isCompatibleWith(MimeType other) Indicate whether this MIME Type is compatible with the given MIME Type.static booleanObjectUtils.isCompatibleWithThrowsClause(Throwable ex, Class<?>... declaredExceptions) Check whether the given exception is compatible with the specified exception types, as declared in a throws clause.static booleanCollectionUtils.isEmpty(Collection<?> collection) Returntrueif the supplied Collection isnullor empty.static booleanReturntrueif the supplied Map isnullor empty.static booleanDetermine whether the given object is empty.static booleanDetermine whether the given array is empty: i.e.static booleanDeprecated.as of 5.3, in favor ofStringUtils.hasLength(String)andStringUtils.hasText(String)(orObjectUtils.isEmpty(Object))static booleanReflectionUtils.isEqualsMethod(Method method) Determine whether the given method is an "equals" method.static booleanReflectionUtils.isHashCodeMethod(Method method) Determine whether the given method is a "hashCode" method.static voidAssert.isInstanceOf(Class<?> type, Object obj) Assert that the provided object is an instance of the provided class.static voidAssert.isInstanceOf(Class<?> type, Object obj, String message) Assert that the provided object is an instance of the provided class.static voidAssert.isInstanceOf(Class<?> type, Object obj, Supplier<String> messageSupplier) Assert that the provided object is an instance of the provided class.static voidDeprecated, for removal: This API element is subject to removal in a future version.as of 4.3.7, in favor ofAssert.isNull(Object, String); to be removed in 6.1static voidAssert that an object isnull.static voidAssert that an object isnull.static booleanReflectionUtils.isObjectMethod(Method method) Determine whether the given method is originally declared byObject.booleanstatic booleanClassUtils.isPresent(String className, ClassLoader classLoader) Determine whether theClassidentified by the supplied name is present and can be loaded.static booleanReflectionUtils.isToStringMethod(Method method) Determine whether the given method is a "toString" method.static booleanReturn whether the given resource location is a URL: either a special "classpath" pseudo URL or a standard URL.static booleanClassUtils.isVisible(Class<?> clazz, ClassLoader classLoader) Check whether the given class is visible in the given ClassLoader.static <T> TCollectionUtils.lastElement(List<T> list) Retrieve the last element of the given List, accessing the highest index.static <T> TCollectionUtils.lastElement(Set<T> set) Retrieve the last element of the given Set, usingSortedSet.last()or otherwise iterating over all elements (assuming a linked set).static booleanStringUtils.matchesCharacter(String str, char singleCharacter) Test if the givenStringmatches the given single character.static booleanClassUtils.matchesTypeName(Class<?> clazz, String typeName) Check whether the given class matches the user-specified type name.booleanAntPathMatcher.AntPathStringMatcher.matchStrings(String str, Map<String, String> uriTemplateVariables) Main entry point.static <E> voidCollectionUtils.mergeArrayIntoCollection(Object array, Collection<E> collection) Merge the given array into the given Collection.static <K,V> void CollectionUtils.mergePropertiesIntoMap(Properties props, Map<K, V> map) Merge the given Properties instance into the given Map, copying all properties (key-value pairs) over.static voidAssert.noNullElements(Object[] array) Deprecated, for removal: This API element is subject to removal in a future version.as of 4.3.7, in favor ofAssert.noNullElements(Object[], String); to be removed in 6.1static voidAssert.noNullElements(Object[] array, String message) Assert that an array contains nonullelements.static voidAssert.noNullElements(Object[] array, Supplier<String> messageSupplier) Assert that an array contains nonullelements.static voidAssert.noNullElements(Collection<?> collection, String message) Assert that a collection contains nonullelements.static voidAssert.noNullElements(Collection<?> collection, Supplier<String> messageSupplier) Assert that a collection contains nonullelements.static voidDeprecated, for removal: This API element is subject to removal in a future version.as of 4.3.7, in favor ofAssert.notEmpty(Object[], String); to be removed in 6.1static voidAssert that an array contains elements; that is, it must not benulland must contain at least one element.static voidAssert that an array contains elements; that is, it must not benulland must contain at least one element.static voidAssert.notEmpty(Collection<?> collection) Deprecated, for removal: This API element is subject to removal in a future version.as of 4.3.7, in favor ofAssert.notEmpty(Collection, String); to be removed in 6.1static voidAssert.notEmpty(Collection<?> collection, String message) Assert that a collection contains elements; that is, it must not benulland must contain at least one element.static voidAssert.notEmpty(Collection<?> collection, Supplier<String> messageSupplier) Assert that a collection contains elements; that is, it must not benulland must contain at least one element.static voidDeprecated, for removal: This API element is subject to removal in a future version.as of 4.3.7, in favor ofAssert.notEmpty(Map, String); to be removed in 6.1static voidAssert that a Map contains entries; that is, it must not benulland must contain at least one entry.static voidAssert that a Map contains entries; that is, it must not benulland must contain at least one entry.static voidDeprecated, for removal: This API element is subject to removal in a future version.as of 4.3.7, in favor ofAssert.notNull(Object, String); to be removed in 6.1static voidAssert that an object is notnull.static voidAssert that an object is notnull.static StringObjectUtils.nullSafeClassName(Object obj) Determine the class name for the given object.static StringObjectUtils.nullSafeConciseToString(Object obj) Generate a null-safe, concise string representation of the supplied object as described below.static booleanObjectUtils.nullSafeEquals(Object o1, Object o2) Determine if the given objects are equal, returningtrueif both arenullorfalseif only one isnull.static booleanObjectUtils.nullSafeEquals(Object o1, Object o2) Determine if the given objects are equal, returningtrueif both arenullorfalseif only one isnull.static intObjectUtils.nullSafeHashCode(boolean[] array) Return a hash code based on the contents of the specified array.static intObjectUtils.nullSafeHashCode(byte[] array) Return a hash code based on the contents of the specified array.static intObjectUtils.nullSafeHashCode(char[] array) Return a hash code based on the contents of the specified array.static intObjectUtils.nullSafeHashCode(double[] array) Return a hash code based on the contents of the specified array.static intObjectUtils.nullSafeHashCode(float[] array) Return a hash code based on the contents of the specified array.static intObjectUtils.nullSafeHashCode(int[] array) Return a hash code based on the contents of the specified array.static intObjectUtils.nullSafeHashCode(long[] array) Return a hash code based on the contents of the specified array.static intObjectUtils.nullSafeHashCode(short[] array) Return a hash code based on the contents of the specified array.static intObjectUtils.nullSafeHashCode(Object obj) Return as hash code for the given object; typically the value ofObject#hashCode()}.static intObjectUtils.nullSafeHashCode(Object[] array) Return a hash code based on the contents of the specified array.static StringObjectUtils.nullSafeToString(boolean[] array) Return a String representation of the contents of the specified array.static StringObjectUtils.nullSafeToString(byte[] array) Return a String representation of the contents of the specified array.static StringObjectUtils.nullSafeToString(char[] array) Return a String representation of the contents of the specified array.static StringObjectUtils.nullSafeToString(double[] array) Return a String representation of the contents of the specified array.static StringObjectUtils.nullSafeToString(float[] array) Return a String representation of the contents of the specified array.static StringObjectUtils.nullSafeToString(int[] array) Return a String representation of the contents of the specified array.static StringObjectUtils.nullSafeToString(long[] array) Return a String representation of the contents of the specified array.static StringObjectUtils.nullSafeToString(short[] array) Return a String representation of the contents of the specified array.static StringObjectUtils.nullSafeToString(Object obj) Return a String representation of the specified Object.static StringObjectUtils.nullSafeToString(Object[] array) Return a String representation of the contents of the specified array.static ClassLoaderClassUtils.overrideThreadContextClassLoader(ClassLoader classLoaderToUse) Override the thread context ClassLoader with the environment's bean ClassLoader if necessary, i.e.static <T extends Number>
TNumberUtils.parseNumber(String text, Class<T> targetClass, NumberFormat numberFormat) Parse the giventextinto aNumberinstance of the given target class, using the suppliedNumberFormat.protected StringPropertyPlaceholderHelper.parseStringValue(String value, PropertyPlaceholderHelper.PlaceholderResolver placeholderResolver, Set<String> visitedPlaceholders) ConcurrentReferenceHashMap.putIfAbsent(K key, V value) ConcurrentReferenceHashMap.putIfAbsent(K key, V value) LinkedCaseInsensitiveMap.putIfAbsent(String key, V value) static StringQuote the givenStringwith single quotes.static ObjectStringUtils.quoteIfString(Object obj) Turn the given Object into aStringwith single quotes if it is aString; keeping the Object as-is else.booleanbooleanbooleanbooleanbooleanstatic StringReplace all occurrences of a substring within a string with another string.static Class<?>ClassUtils.resolveClassName(String className, ClassLoader classLoader) Resolve the given class name into a Class instance.static Class<?>ClassUtils.resolvePrimitiveClassName(String name) Resolve the given class name as primitive class, if appropriate, according to the JVM's naming rules for primitive classes.static byte[]Serialize the given object to a byte array.voidSet the given single value under the given key.voidstatic voidSet the field represented by the supplied field object on the specified target object to the specifiedvalue.static voidSet the field represented by the supplied field object on the specified target object to the specifiedvalue.voidAntPathMatcher.setPathSeparator(String pathSeparator) Set the path separator to use for pattern parsing.voidMethodInvoker.setTargetClass(Class<?> targetClass) Set the target class on which to call the target method.voidMethodInvoker.setTargetMethod(String targetMethod) Set the name of the method to be invoked.voidMethodInvoker.setTargetObject(Object targetObject) Set the target object on which to call the target method.voidCustomizableThreadCreator.setThreadGroup(ThreadGroup threadGroup) Specify the thread group that threads should be created in.voidCustomizableThreadCreator.setThreadNamePrefix(String threadNamePrefix) Specify the prefix to use for the names of newly created threads.static booleanPatternMatchUtils.simpleMatch(String[] patterns, String str) Match a String against the given patterns, supporting the following simple pattern styles: "xxx*", "*xxx", "*xxx*" and "xxx*yyy" matches (with an arbitrary number of pattern parts), as well as direct equality.static booleanPatternMatchUtils.simpleMatch(String pattern, String str) Match a String against the given pattern, supporting the following simple pattern styles: "xxx*", "*xxx", "*xxx*" and "xxx*yyy" matches (with an arbitrary number of pattern parts), as well as direct equality.static booleanPatternMatchUtils.simpleMatch(String pattern, String str) Match a String against the given pattern, supporting the following simple pattern styles: "xxx*", "*xxx", "*xxx*" and "xxx*yyy" matches (with an arbitrary number of pattern parts), as well as direct equality.static String[]Split aStringat the first occurrence of the delimiter.static String[]Split aStringat the first occurrence of the delimiter.static PropertiesStringUtils.splitArrayElementsIntoProperties(String[] array, String delimiter, String charsToDelete) Take an array of strings and split each element based on the given delimiter.static booleanStringUtils.startsWithIgnoreCase(String str, String prefix) Test if the givenStringstarts with the specified prefix, ignoring upper/lower case.static booleanStringUtils.startsWithIgnoreCase(String str, String prefix) Test if the givenStringstarts with the specified prefix, ignoring upper/lower case.static Class<?>[]ClassUtils.toClassArray(Collection<Class<?>> collection) Copy the givenCollectioninto aClassarray.static <E> Iterator<E>CollectionUtils.toIterator(Enumeration<E> enumeration) Adapt anEnumerationto anIterator.static String[]StringUtils.tokenizeToStringArray(String str, String delimiters) static String[]StringUtils.tokenizeToStringArray(String str, String delimiters, boolean trimTokens, boolean ignoreEmptyTokens) static Object[]ObjectUtils.toObjectArray(Object source) Convert the given array (which may be a primitive array) to an object array (if necessary of primitive wrapper objects).static String[]StringUtils.toStringArray(Collection<String> collection) Copy the givenCollectioninto aStringarray.static String[]StringUtils.toStringArray(Enumeration<String> enumeration) Copy the givenEnumerationinto aStringarray.static ObjectObjectUtils.unwrapOptional(Object obj) Unwrap the given object which is potentially aOptional.Constructor parameters in org.springframework.util with annotations of type NullableModifierConstructorDescriptionCustomizableThreadCreator(String threadNamePrefix) Create a new CustomizableThreadCreator with the given thread name prefix.InstanceFilter(Collection<? extends T> includes, Collection<? extends T> excludes, boolean matchIfEmpty) Create a new instance based on includes/excludes collections.InstanceFilter(Collection<? extends T> includes, Collection<? extends T> excludes, boolean matchIfEmpty) Create a new instance based on includes/excludes collections.LinkedCaseInsensitiveMap(int expectedSize, Locale locale) Create a new LinkedCaseInsensitiveMap that wraps aLinkedHashMapwith an initial capacity that can accommodate the specified number of elements without any immediate resize/rehash operations to be expected, storing case-insensitive keys according to the given Locale (in lower case).LinkedCaseInsensitiveMap(Locale locale) Create a new LinkedCaseInsensitiveMap that stores case-insensitive keys according to the given Locale (in lower case).Create a newMimeTypefor the given type, subtype, and parameters.Copy-constructor that copies the type and subtype of the givenMimeType, and allows for different parameter.PropertyPlaceholderHelper(String placeholderPrefix, String placeholderSuffix, String valueSeparator, boolean ignoreUnresolvablePlaceholders) Creates a newPropertyPlaceholderHelperthat uses the supplied prefix and suffix. -
Uses of Nullable in org.springframework.util.comparator
Method parameters in org.springframework.util.comparator with annotations of type Nullable -
Uses of Nullable in org.springframework.util.concurrent
Methods in org.springframework.util.concurrent with annotations of type NullableModifier and TypeMethodDescriptionprotected abstract TDeprecated.Adapts the given adaptee's result into T.FutureAdapter.get()Deprecated.Deprecated.SettableListenableFuture.get()Deprecated.Retrieve the value.Deprecated.Retrieve the value.Method parameters in org.springframework.util.concurrent with annotations of type NullableModifier and TypeMethodDescriptionvoidDeprecated.Called when theListenableFuturecompletes with success.booleanDeprecated.Set the value of this future.voidDeprecated.Trigger aSuccessCallback.onSuccess(Object)call on all added callbacks with the given result.Constructor parameters in org.springframework.util.concurrent with annotations of type NullableModifierConstructorDescriptionListenableFutureTask(Runnable runnable, T result) Deprecated.Create aListenableFutureTaskthat will, upon running, execute the givenRunnable, and arrange thatFutureTask.get()will return the given result on successful completion. -
Uses of Nullable in org.springframework.util.function
Methods in org.springframework.util.function with annotations of type NullableModifier and TypeMethodDescriptionSingletonSupplier.get()Get the shared singleton instance for this supplier.static <T> SingletonSupplier<T>SingletonSupplier.ofNullable(Supplier<T> supplier) Build aSingletonSupplierwith the given supplier.static <T> SingletonSupplier<T>SingletonSupplier.ofNullable(T instance) Build aSingletonSupplierwith the given singleton instance.static <T> TResolve the givenSupplier, getting its result or immediately returningnullif the supplier itself wasnull.Method parameters in org.springframework.util.function with annotations of type NullableModifier and TypeMethodDescriptionstatic <T> SingletonSupplier<T>SingletonSupplier.ofNullable(Supplier<T> supplier) Build aSingletonSupplierwith the given supplier.static <T> SingletonSupplier<T>SingletonSupplier.ofNullable(T instance) Build aSingletonSupplierwith the given singleton instance.static <T> TResolve the givenSupplier, getting its result or immediately returningnullif the supplier itself wasnull.Constructor parameters in org.springframework.util.function with annotations of type NullableModifierConstructorDescriptionSingletonSupplier(Supplier<? extends T> instanceSupplier, Supplier<? extends T> defaultSupplier) Build aSingletonSupplierwith the given instance supplier and a default supplier for the case when the instance isnull.SingletonSupplier(T instance, Supplier<? extends T> defaultSupplier) Build aSingletonSupplierwith the given singleton instance and a default supplier for the case when the instance isnull. -
Uses of Nullable in org.springframework.util.unit
Method parameters in org.springframework.util.unit with annotations of type Nullable -
Uses of Nullable in org.springframework.util.xml
Methods in org.springframework.util.xml with annotations of type NullableModifier and TypeMethodDescriptionstatic ElementDomUtils.getChildElementByTagName(Element ele, String childEleName) Utility method that returns the first child element identified by its name.static StringDomUtils.getChildElementValueByTagName(Element ele, String childEleName) Utility method that returns the first child element value identified by its name.static XMLEventReaderStaxUtils.getXMLEventReader(Source source) Return theXMLEventReaderfor the given StAX Source.static XMLEventWriterStaxUtils.getXMLEventWriter(Result result) Return theXMLEventWriterfor the given StAX Result.static XMLStreamReaderStaxUtils.getXMLStreamReader(Source source) Return theXMLStreamReaderfor the given StAX Source.static XMLStreamWriterStaxUtils.getXMLStreamWriter(Result result) Return theXMLStreamWriterfor the given StAX Result.Method parameters in org.springframework.util.xml with annotations of type NullableModifier and TypeMethodDescriptionvoidSimpleNamespaceContext.removeBinding(String prefix) Remove the given prefix from this context. -
Uses of Nullable in org.springframework.validation
Methods in org.springframework.validation with annotations of type NullableModifier and TypeMethodDescription<T> TDataBinder.convertIfNecessary(Object value, Class<T> requiredType) <T> TDataBinder.convertIfNecessary(Object value, Class<T> requiredType, Field field) <T> TDataBinder.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) <T> TDataBinder.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) DataBinder.findCustomEditor(Class<?> requiredType, String propertyPath) AbstractBindingResult.findEditor(String field, Class<?> valueType) This implementation delegates to thePropertyEditorRegistry's editor lookup facility, if available.AbstractPropertyBindingResult.findEditor(String field, Class<?> valueType) This implementation exposes a PropertyEditor adapter for a Formatter, if applicable.BindException.findEditor(String field, Class valueType) BindingResult.findEditor(String field, Class<?> valueType) Find a custom property editor for the given type and property.protected ObjectAbstractBindingResult.formatFieldValue(String field, Object value) Format the given value for the specified field.protected abstract ObjectAbstractBindingResult.getActualFieldValue(String field) Extract the actual field value for the given field.protected ObjectAbstractPropertyBindingResult.getActualFieldValue(String field) Fetches the field value from the PropertyAccessor.protected ObjectMapBindingResult.getActualFieldValue(String field) String[]DataBinder.getAllowedFields()Return the field patterns that should be allowed for binding.static BindingResultBindingResultUtils.getBindingResult(Map<?, ?> model, String name) Find the BindingResult for the given name in the given model.DataBinder.getConversionService()Return the associated ConversionService, if any.protected PropertyEditorAbstractPropertyBindingResult.getCustomEditor(String fixedField) Retrieve the custom PropertyEditor for the given field, if any.String[]DataBinder.getDisallowedFields()Return the field patterns that should not be allowed for binding.AbstractBindingResult.getFieldError()AbstractBindingResult.getFieldError(String field) AbstractErrors.getFieldError()AbstractErrors.getFieldError(String field) BindException.getFieldError()BindException.getFieldError(String field) Errors.getFieldError()Get the first error associated with a field, if any.Errors.getFieldError(String field) Get the first error associated with the given field, if any.Class<?>AbstractBindingResult.getFieldType(String field) This default implementation determines the type based on the actual field value, if any.Class<?>AbstractErrors.getFieldType(String field) Class<?>AbstractPropertyBindingResult.getFieldType(String field) Determines the field type from the property type.Class<?>BindException.getFieldType(String field) Class<?>Errors.getFieldType(String field) Determine the type of the given field, as far as possible.AbstractBindingResult.getFieldValue(String field) BindException.getFieldValue(String field) Errors.getFieldValue(String field) Return the current value of the given field, either the current bean property value or a rejected update from the last binding.AbstractBindingResult.getGlobalError()AbstractErrors.getGlobalError()BindException.getGlobalError()Errors.getGlobalError()Get the first global error, if any.AbstractBindingResult.getPropertyEditorRegistry()This implementation returnsnull.BindException.getPropertyEditorRegistry()BindingResult.getPropertyEditorRegistry()Return the underlying PropertyEditorRegistry.AbstractBindingResult.getRawFieldValue(String field) BindException.getRawFieldValue(String field) BindingResult.getRawFieldValue(String field) Extract the raw field value for the given field.FieldError.getRejectedValue()Return the rejected field value.String[]DataBinder.getRequiredFields()Return the fields that are required for each binding process.abstract ObjectAbstractBindingResult.getTarget()Return the wrapped target object.final ObjectBeanPropertyBindingResult.getTarget()BindException.getTarget()BindingResult.getTarget()Return the wrapped target object, which may be a bean, an object with public fields, a Map - depending on the concrete binding strategy.DataBinder.getTarget()Return the wrapped target object.final ObjectDirectFieldBindingResult.getTarget()DataBinder.getValidator()Return the primary Validator to apply after each binding step, if any.Method parameters in org.springframework.validation with annotations of type NullableModifier and TypeMethodDescription<T> TDataBinder.convertIfNecessary(Object value, Class<T> requiredType) <T> TDataBinder.convertIfNecessary(Object value, Class<T> requiredType) <T> TDataBinder.convertIfNecessary(Object value, Class<T> requiredType, Field field) <T> TDataBinder.convertIfNecessary(Object value, Class<T> requiredType, Field field) <T> TDataBinder.convertIfNecessary(Object value, Class<T> requiredType, Field field) <T> TDataBinder.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) <T> TDataBinder.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) <T> TDataBinder.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) <T> TDataBinder.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) <T> TDataBinder.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) <T> TDataBinder.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) protected voidAbstractErrors.doSetNestedPath(String nestedPath) Actually set the nested path.booleanbooleanbooleanbooleanDataBinder.findCustomEditor(Class<?> requiredType, String propertyPath) DataBinder.findCustomEditor(Class<?> requiredType, String propertyPath) AbstractBindingResult.findEditor(String field, Class<?> valueType) This implementation delegates to thePropertyEditorRegistry's editor lookup facility, if available.AbstractBindingResult.findEditor(String field, Class<?> valueType) This implementation delegates to thePropertyEditorRegistry's editor lookup facility, if available.AbstractPropertyBindingResult.findEditor(String field, Class<?> valueType) This implementation exposes a PropertyEditor adapter for a Formatter, if applicable.AbstractPropertyBindingResult.findEditor(String field, Class<?> valueType) This implementation exposes a PropertyEditor adapter for a Formatter, if applicable.BindException.findEditor(String field, Class valueType) BindException.findEditor(String field, Class valueType) BindingResult.findEditor(String field, Class<?> valueType) Find a custom property editor for the given type and property.BindingResult.findEditor(String field, Class<?> valueType) Find a custom property editor for the given type and property.protected StringAbstractErrors.fixedField(String field) Transform the given field into its full path, regarding the nested path of this instance.Build and return a message code consisting of the given fields, usually delimited byDefaultMessageCodesResolver.CODE_SEPARATOR.Build and return a message code consisting of the given fields, usually delimited byDefaultMessageCodesResolver.CODE_SEPARATOR.protected ObjectAbstractBindingResult.formatFieldValue(String field, Object value) Format the given value for the specified field.protected ObjectAbstractPropertyBindingResult.formatFieldValue(String field, Object value) Formats the field value based on registered PropertyEditors.Class<?>AbstractBindingResult.getFieldType(String field) This default implementation determines the type based on the actual field value, if any.Class<?>AbstractPropertyBindingResult.getFieldType(String field) Determines the field type from the property type.static voidValidationUtils.invokeValidator(Validator validator, Object target, Errors errors, Object... validationHints) voidAbstractBindingResult.recordFieldValue(String field, Class<?> type, Object value) voidBindException.recordFieldValue(String field, Class<?> type, Object value) default voidBindingResult.recordFieldValue(String field, Class<?> type, Object value) Record the given value for the specified field.voidDataBinder.registerCustomEditor(Class<?> requiredType, String field, PropertyEditor propertyEditor) voidDataBinder.registerCustomEditor(Class<?> requiredType, String field, PropertyEditor propertyEditor) voidvoidvoidvoidvoidRegister a global error for the entire target object, using the given error description.voidRegister a global error for the entire target object, using the given error description.static voidValidationUtils.rejectIfEmpty(Errors errors, String field, String errorCode, Object[] errorArgs, String defaultMessage) Reject the given field with the given error code, error arguments and default message if the value is empty.static voidValidationUtils.rejectIfEmpty(Errors errors, String field, String errorCode, Object[] errorArgs, String defaultMessage) Reject the given field with the given error code, error arguments and default message if the value is empty.static voidValidationUtils.rejectIfEmptyOrWhitespace(Errors errors, String field, String errorCode, Object[] errorArgs) Reject the given field with the given error code and error arguments if the value is empty or just contains whitespace.static voidValidationUtils.rejectIfEmptyOrWhitespace(Errors errors, String field, String errorCode, Object[] errorArgs, String defaultMessage) Reject the given field with the given error code, error arguments and default message if the value is empty or just contains whitespace.static voidValidationUtils.rejectIfEmptyOrWhitespace(Errors errors, String field, String errorCode, Object[] errorArgs, String defaultMessage) Reject the given field with the given error code, error arguments and default message if the value is empty or just contains whitespace.voidAbstractBindingResult.rejectValue(String field, String errorCode, Object[] errorArgs, String defaultMessage) voidAbstractBindingResult.rejectValue(String field, String errorCode, Object[] errorArgs, String defaultMessage) voidAbstractBindingResult.rejectValue(String field, String errorCode, Object[] errorArgs, String defaultMessage) voidAbstractErrors.rejectValue(String field, String errorCode) voidAbstractErrors.rejectValue(String field, String errorCode, String defaultMessage) voidBindException.rejectValue(String field, String errorCode) voidBindException.rejectValue(String field, String errorCode, Object[] errorArgs, String defaultMessage) voidBindException.rejectValue(String field, String errorCode, Object[] errorArgs, String defaultMessage) voidBindException.rejectValue(String field, String errorCode, Object[] errorArgs, String defaultMessage) voidBindException.rejectValue(String field, String errorCode, String defaultMessage) voidErrors.rejectValue(String field, String errorCode) Register a field error for the specified field of the current object (respecting the current nested path, if any), using the given error description.voidErrors.rejectValue(String field, String errorCode, Object[] errorArgs, String defaultMessage) Register a field error for the specified field of the current object (respecting the current nested path, if any), using the given error description.voidErrors.rejectValue(String field, String errorCode, Object[] errorArgs, String defaultMessage) Register a field error for the specified field of the current object (respecting the current nested path, if any), using the given error description.voidErrors.rejectValue(String field, String errorCode, Object[] errorArgs, String defaultMessage) Register a field error for the specified field of the current object (respecting the current nested path, if any), using the given error description.voidErrors.rejectValue(String field, String errorCode, String defaultMessage) Register a field error for the specified field of the current object (respecting the current nested path, if any), using the given error description.String[]AbstractBindingResult.resolveMessageCodes(String errorCode, String field) String[]DefaultMessageCodesResolver.resolveMessageCodes(String errorCode, String objectName, String field, Class<?> fieldType) Build the code list for the given code and field: an object/field-specific code, a field-specific code, a plain error code.String[]MessageCodesResolver.resolveMessageCodes(String errorCode, String objectName, String field, Class<?> fieldType) Build message codes for the given error code and field specification.voidDataBinder.setAllowedFields(String... allowedFields) Register field patterns that should be allowed for binding.voidDataBinder.setConversionService(ConversionService conversionService) Specify aConversionServiceto use for converting property values, as an alternative to JavaBeans PropertyEditors.voidDataBinder.setDisallowedFields(String... disallowedFields) Register field patterns that should not be allowed for binding.voidDefaultMessageCodesResolver.setMessageCodeFormatter(MessageCodeFormatter formatter) Specify the format for message codes built by this resolver.voidDataBinder.setMessageCodesResolver(MessageCodesResolver messageCodesResolver) Set the strategy to use for resolving errors into message codes.voidAbstractErrors.setNestedPath(String nestedPath) voidSpecify a prefix to be applied to any code built by this resolver.voidDataBinder.setRequiredFields(String... requiredFields) Register fields that are required for each binding process.voidDataBinder.setValidator(Validator validator) Set the Validator to apply after each binding step.default voidSmartValidator.validateValue(Class<?> targetType, String fieldName, Object value, Errors errors, Object... validationHints) Validate the supplied value for the specified field on the target type, reporting the same validation errors as if the value would be bound to the field on an instance of the target class.Constructor parameters in org.springframework.validation with annotations of type NullableModifierConstructorDescriptionBeanPropertyBindingResult(Object target, String objectName) Create a newBeanPropertyBindingResultfor the given target.BeanPropertyBindingResult(Object target, String objectName, boolean autoGrowNestedPaths, int autoGrowCollectionLimit) Create a newBeanPropertyBindingResultfor the given target.DataBinder(Object target) Create a new DataBinder instance, with default object name.DataBinder(Object target, String objectName) Create a new DataBinder instance.DirectFieldBindingResult(Object target, String objectName) Create a newDirectFieldBindingResultfor the given target.DirectFieldBindingResult(Object target, String objectName, boolean autoGrowNestedPaths) Create a newDirectFieldBindingResultfor the given target.FieldError(String objectName, String field, Object rejectedValue, boolean bindingFailure, String[] codes, Object[] arguments, String defaultMessage) Create a new FieldError instance.FieldError(String objectName, String field, Object rejectedValue, boolean bindingFailure, String[] codes, Object[] arguments, String defaultMessage) Create a new FieldError instance.FieldError(String objectName, String field, Object rejectedValue, boolean bindingFailure, String[] codes, Object[] arguments, String defaultMessage) Create a new FieldError instance.FieldError(String objectName, String field, Object rejectedValue, boolean bindingFailure, String[] codes, Object[] arguments, String defaultMessage) Create a new FieldError instance.ObjectError(String objectName, String defaultMessage) Create a new instance of the ObjectError class.ObjectError(String objectName, String[] codes, Object[] arguments, String defaultMessage) Create a new instance of the ObjectError class.ObjectError(String objectName, String[] codes, Object[] arguments, String defaultMessage) Create a new instance of the ObjectError class.ObjectError(String objectName, String[] codes, Object[] arguments, String defaultMessage) Create a new instance of the ObjectError class. -
Uses of Nullable in org.springframework.validation.annotation
Methods in org.springframework.validation.annotation with annotations of type NullableModifier and TypeMethodDescriptionstatic Object[]ValidationAnnotationUtils.determineValidationHints(Annotation ann) Determine any validation hints by the given annotation. -
Uses of Nullable in org.springframework.validation.beanvalidation
Methods in org.springframework.validation.beanvalidation with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectSpringValidatorAdapter.getRejectedValue(String field, ConstraintViolation<Object> violation, BindingResult bindingResult) Extract the rejected value behind the given constraint violation, for exposure through the Spring errors representation.MethodValidationInterceptor.invoke(MethodInvocation invocation) Method parameters in org.springframework.validation.beanvalidation with annotations of type NullableModifier and TypeMethodDescriptionvoidLocalValidatorFactoryBean.setValidationPropertyMap(Map<String, String> validationProperties) Specify bean validation properties to be passed to the validation provider as a Map.<T> T<T> TvoidSpringValidatorAdapter.validateValue(Class<?> targetType, String fieldName, Object value, Errors errors, Object... validationHints) -
Uses of Nullable in org.springframework.validation.support
Methods in org.springframework.validation.support with annotations of type NullableModifier and TypeMethodDescriptionMethod parameters in org.springframework.validation.support with annotations of type Nullable -
Uses of Nullable in org.springframework.web
Methods in org.springframework.web with annotations of type NullableModifier and TypeMethodDescriptionHttpMediaTypeNotSupportedException.getContentType()Return the HTTP request content type method that caused the failure.default Object[]ErrorResponse.getDetailMessageArguments()Return arguments to use along with amessage codeto resolve the problem "detail" for this exception through aMessageSource.default Object[]ErrorResponse.getDetailMessageArguments(MessageSource messageSource, Locale locale) Variant ofErrorResponse.getDetailMessageArguments()that uses the givenMessageSourcefor resolving the message argument values.HttpSessionRequiredException.getExpectedAttribute()Return the name of the expected session attribute, if any.HttpRequestMethodNotSupportedException.getSupportedHttpMethods()Return the actually supported HTTP methods asHttpMethodinstances, ornullif not known.String[]HttpRequestMethodNotSupportedException.getSupportedMethods()Return the actually supported HTTP methods, ornullif not known.Method parameters in org.springframework.web with annotations of type NullableModifier and TypeMethodDescriptiondefault ErrorResponseErrorResponse.Builder.build(MessageSource messageSource, Locale locale) Build theErrorResponseinstance and also resolve the "detail" and "title" through the givenMessageSource.static StringErrorResponse.getDefaultDetailMessageCode(Class<?> exceptionType, String suffix) Build a message code for the "detail" field, for the given exception type.Set the underlyinginstancefield.voidSpringServletContainerInitializer.onStartup(Set<Class<?>> webAppInitializerClasses, ServletContext servletContext) Delegate theServletContextto anyWebApplicationInitializerimplementations present on the application classpath.Set a "dynamic"propertyon the underlyingProblemDetail.voidSet thedetailfield of the response body.voidErrorResponseException.setInstance(URI instance) Set theinstancefield of the response body.voidSet thetitlefield of the response body.Set the underlyingtitlefield.default ProblemDetailErrorResponse.updateAndGetBody(MessageSource messageSource, Locale locale) Resolve thedetailMessageCodeand thetitleMessageCodethrough the givenMessageSource, and if found, update the "detail" and "title" fields respectively.Constructor parameters in org.springframework.web with annotations of type NullableModifierConstructorDescriptionErrorResponseException(HttpStatusCode status, Throwable cause) Constructor with anHttpStatusCodeand an optional cause.ErrorResponseException(HttpStatusCode status, ProblemDetail body, Throwable cause) Constructor with a givenProblemDetailinstance, possibly a subclass ofProblemDetailwith extended fields.ErrorResponseException(HttpStatusCode status, ProblemDetail body, Throwable cause, String messageDetailCode, Object[] messageDetailArguments) Constructor with a givenProblemDetail, and aMessageSourcecode and arguments to resolve the detail message with.ErrorResponseException(HttpStatusCode status, ProblemDetail body, Throwable cause, String messageDetailCode, Object[] messageDetailArguments) Constructor with a givenProblemDetail, and aMessageSourcecode and arguments to resolve the detail message with.ErrorResponseException(HttpStatusCode status, ProblemDetail body, Throwable cause, String messageDetailCode, Object[] messageDetailArguments) Constructor with a givenProblemDetail, and aMessageSourcecode and arguments to resolve the detail message with.protectedHttpMediaTypeException(String message, List<MediaType> supportedMediaTypes, String messageDetailCode, Object[] messageDetailArguments) Create a new HttpMediaTypeException with a list of supported media types.protectedHttpMediaTypeException(String message, List<MediaType> supportedMediaTypes, String messageDetailCode, Object[] messageDetailArguments) Create a new HttpMediaTypeException with a list of supported media types.HttpMediaTypeNotSupportedException(MediaType contentType, List<MediaType> mediaTypes) Create a new HttpMediaTypeNotSupportedException.HttpMediaTypeNotSupportedException(MediaType contentType, List<MediaType> mediaTypes, HttpMethod httpMethod) Create a new HttpMediaTypeNotSupportedException.HttpMediaTypeNotSupportedException(MediaType contentType, List<MediaType> mediaTypes, HttpMethod httpMethod) Create a new HttpMediaTypeNotSupportedException.HttpMediaTypeNotSupportedException(MediaType contentType, List<MediaType> supportedMediaTypes, HttpMethod httpMethod, String message) Create a new HttpMediaTypeNotSupportedException.HttpMediaTypeNotSupportedException(MediaType contentType, List<MediaType> supportedMediaTypes, HttpMethod httpMethod, String message) Create a new HttpMediaTypeNotSupportedException.HttpRequestMethodNotSupportedException(String method, String[] supportedMethods) Deprecated, for removal: This API element is subject to removal in a future version.HttpRequestMethodNotSupportedException(String method, String[] supportedMethods, String msg) Deprecated, for removal: This API element is subject to removal in a future version.HttpRequestMethodNotSupportedException(String method, Collection<String> supportedMethods) Create a new HttpRequestMethodNotSupportedException. -
Uses of Nullable in org.springframework.web.accept
Methods in org.springframework.web.accept with annotations of type NullableModifier and TypeMethodDescriptionPathExtensionContentNegotiationStrategy.getMediaTypeForResource(Resource resource) Deprecated.protected abstract StringAbstractMappingContentNegotiationStrategy.getMediaTypeKey(NativeWebRequest request) Extract a key from the request to use to look up media types.protected StringParameterContentNegotiationStrategy.getMediaTypeKey(NativeWebRequest request) protected StringPathExtensionContentNegotiationStrategy.getMediaTypeKey(NativeWebRequest webRequest) Deprecated.ContentNegotiationManagerFactoryBean.getObject()<T extends ContentNegotiationStrategy>
TContentNegotiationManager.getStrategy(Class<T> strategyType) Find aContentNegotiationStrategyof the given type.protected MediaTypeAbstractMappingContentNegotiationStrategy.handleNoMatch(NativeWebRequest request, String key) Override to provide handling when a key is not resolved via.protected MediaTypeServletPathExtensionContentNegotiationStrategy.handleNoMatch(NativeWebRequest webRequest, String extension) Deprecated.Resolve file extension viaServletContext.getMimeType(String)and also delegate to base class for a potentialMediaTypeFactorylookup.protected MediaTypeMappingMediaTypeFileExtensionResolver.lookupMediaType(String extension) Use this method for a reverse lookup from extension to MediaType.Method parameters in org.springframework.web.accept with annotations of type NullableModifier and TypeMethodDescriptionvoidContentNegotiationManagerFactoryBean.addMediaTypes(Map<String, MediaType> mediaTypes) An alternative toContentNegotiationManagerFactoryBean.setMediaTypes(java.util.Properties)for programmatic registrations.AbstractMappingContentNegotiationStrategy.resolveMediaTypeKey(NativeWebRequest webRequest, String key) An alternative toAbstractMappingContentNegotiationStrategy.resolveMediaTypes(NativeWebRequest)that accepts an already extracted key.voidContentNegotiationManagerFactoryBean.setStrategies(List<ContentNegotiationStrategy> strategies) Set the exact list of strategies to use.Constructor parameters in org.springframework.web.accept with annotations of type NullableModifierConstructorDescriptionAbstractMappingContentNegotiationStrategy(Map<String, MediaType> mediaTypes) Create an instance with the given map of file extensions and media types.MappingMediaTypeFileExtensionResolver(Map<String, MediaType> mediaTypes) Create an instance with the given map of file extensions and media types.PathExtensionContentNegotiationStrategy(Map<String, MediaType> mediaTypes) Deprecated.Create an instance with the given map of file extensions and media types.ServletPathExtensionContentNegotiationStrategy(ServletContext servletContext, Map<String, MediaType> mediaTypes) Deprecated.Create an instance with the given extension-to-MediaType lookup. -
Uses of Nullable in org.springframework.web.bind
Methods in org.springframework.web.bind with annotations of type NullableModifier and TypeMethodDescriptionstatic BooleanServletRequestUtils.getBooleanParameter(ServletRequest request, String name) Get a Boolean parameter, ornullif not present.static DoubleServletRequestUtils.getDoubleParameter(ServletRequest request, String name) Get a Double parameter, ornullif not present.WebDataBinder.getEmptyValue(Class<?> fieldType) Determine an empty value for the specified field.protected ObjectWebDataBinder.getEmptyValue(String field, Class<?> fieldType) Determine an empty value for the specified field.WebDataBinder.getFieldDefaultPrefix()Return the prefix for parameters that mark default fields.EscapedErrors.getFieldError()EscapedErrors.getFieldError(String field) WebDataBinder.getFieldMarkerPrefix()Return the prefix for parameters that mark potentially empty fields.Class<?>EscapedErrors.getFieldType(String field) EscapedErrors.getFieldValue(String field) static FloatServletRequestUtils.getFloatParameter(ServletRequest request, String name) Get a Float parameter, ornullif not present.EscapedErrors.getGlobalError()static IntegerServletRequestUtils.getIntParameter(ServletRequest request, String name) Get an Integer parameter, ornullif not present.static LongServletRequestUtils.getLongParameter(ServletRequest request, String name) Get a Long parameter, ornullif not present.static StringServletRequestUtils.getStringParameter(ServletRequest request, String name) Get a String parameter, ornullif not present.Method parameters in org.springframework.web.bind with annotations of type NullableModifier and TypeMethodDescriptionMethodArgumentNotValidException.errorsToStringList(List<? extends ObjectError> errors, MessageSource source, Locale locale) Variant ofMethodArgumentNotValidException.errorsToStringList(List)that uses aMessageSourceto resolve the message code of the error, or fall back on the error's default message.protected ObjectWebDataBinder.getEmptyValue(String field, Class<?> fieldType) Determine an empty value for the specified field.voidvoidvoidEscapedErrors.rejectValue(String field, String errorCode) voidEscapedErrors.rejectValue(String field, String errorCode, Object[] errorArgs, String defaultMessage) voidEscapedErrors.rejectValue(String field, String errorCode, Object[] errorArgs, String defaultMessage) voidEscapedErrors.rejectValue(String field, String errorCode, Object[] errorArgs, String defaultMessage) voidEscapedErrors.rejectValue(String field, String errorCode, String defaultMessage) voidWebDataBinder.setFieldDefaultPrefix(String fieldDefaultPrefix) Specify a prefix that can be used for parameters that indicate default value fields, having "prefix + field" as name.voidWebDataBinder.setFieldMarkerPrefix(String fieldMarkerPrefix) Specify a prefix that can be used for parameters that mark potentially empty fields, having "prefix + field" as name.Constructor parameters in org.springframework.web.bind with annotations of type NullableModifierConstructorDescriptionprotectedMissingRequestValueException(String msg, boolean missingAfterConversion, String messageDetailCode, Object[] messageDetailArguments) Constructor with a givenProblemDetail, and aMessageSourcecode and arguments to resolve the detail message with.protectedMissingRequestValueException(String msg, boolean missingAfterConversion, String messageDetailCode, Object[] messageDetailArguments) Constructor with a givenProblemDetail, and aMessageSourcecode and arguments to resolve the detail message with.protectedServletRequestBindingException(String msg, String messageDetailCode, Object[] messageDetailArguments) Constructor for ServletRequestBindingException.protectedServletRequestBindingException(String msg, String messageDetailCode, Object[] messageDetailArguments) Constructor for ServletRequestBindingException.protectedServletRequestBindingException(String msg, Throwable cause, String messageDetailCode, Object[] messageDetailArguments) Constructor for ServletRequestBindingException.protectedServletRequestBindingException(String msg, Throwable cause, String messageDetailCode, Object[] messageDetailArguments) Constructor for ServletRequestBindingException.protectedServletRequestBindingException(String msg, Throwable cause, String messageDetailCode, Object[] messageDetailArguments) Constructor for ServletRequestBindingException.ServletRequestDataBinder(Object target) Create a new ServletRequestDataBinder instance, with default object name.ServletRequestDataBinder(Object target, String objectName) Create a new ServletRequestDataBinder instance.ServletRequestParameterPropertyValues(ServletRequest request, String prefix) Create new ServletRequestPropertyValues using the given prefix and the default prefix separator (the underscore character "_").ServletRequestParameterPropertyValues(ServletRequest request, String prefix, String prefixSeparator) Create new ServletRequestPropertyValues supplying both prefix and prefix separator.ServletRequestParameterPropertyValues(ServletRequest request, String prefix, String prefixSeparator) Create new ServletRequestPropertyValues supplying both prefix and prefix separator.WebDataBinder(Object target) Create a new WebDataBinder instance, with default object name.WebDataBinder(Object target, String objectName) Create a new WebDataBinder instance. -
Uses of Nullable in org.springframework.web.bind.annotation
Methods in org.springframework.web.bind.annotation with annotations of type NullableModifier and TypeMethodDescriptionstatic RequestMethodResolve the given method value to anRequestMethodenum value.static RequestMethodRequestMethod.resolve(HttpMethod httpMethod) Resolve the givenHttpMethodto aRequestMethodenum value. -
Uses of Nullable in org.springframework.web.bind.support
Methods in org.springframework.web.bind.support with annotations of type NullableModifier and TypeMethodDescriptionWebExchangeBindException.findEditor(String field, Class valueType) final BindingErrorProcessorConfigurableWebBindingInitializer.getBindingErrorProcessor()Return the strategy to use for processing binding errors.final ConversionServiceConfigurableWebBindingInitializer.getConversionService()Return the ConversionService which will apply to every DataBinder.WebExchangeBindException.getFieldError()WebExchangeBindException.getFieldError(String field) Class<?>WebExchangeBindException.getFieldType(String field) WebExchangeBindException.getFieldValue(String field) WebExchangeBindException.getGlobalError()final MessageCodesResolverConfigurableWebBindingInitializer.getMessageCodesResolver()Return the strategy to use for resolving errors into message codes.final PropertyEditorRegistrar[]ConfigurableWebBindingInitializer.getPropertyEditorRegistrars()Return the PropertyEditorRegistrars to be applied to every DataBinder.WebExchangeBindException.getPropertyEditorRegistry()WebExchangeBindException.getRawFieldValue(String field) WebExchangeBindException.getTarget()final ValidatorConfigurableWebBindingInitializer.getValidator()Return the Validator to apply after each binding step, if any.WebArgumentResolver.resolveArgument(MethodParameter methodParameter, NativeWebRequest webRequest) Resolve an argument for the given handler method parameter within the given web request.DefaultSessionAttributeStore.retrieveAttribute(WebRequest request, String attributeName) SessionAttributeStore.retrieveAttribute(WebRequest request, String attributeName) Retrieve the specified attribute from the backend session.Method parameters in org.springframework.web.bind.support with annotations of type NullableModifier and TypeMethodDescriptionfinal WebDataBinderDefaultDataBinderFactory.createBinder(NativeWebRequest webRequest, Object target, String objectName) Create a newWebDataBinderfor the given target object and initialize it through aWebBindingInitializer.WebDataBinderFactory.createBinder(NativeWebRequest webRequest, Object target, String objectName) Create aWebDataBinderfor the given object.protected WebDataBinderDefaultDataBinderFactory.createBinderInstance(Object target, String objectName, NativeWebRequest webRequest) Extension point to create the WebDataBinder instance.booleanWebExchangeBindException.findEditor(String field, Class valueType) WebExchangeBindException.findEditor(String field, Class valueType) voidWebExchangeBindException.recordFieldValue(String field, Class<?> type, Object value) voidvoidvoidWebExchangeBindException.rejectValue(String field, String errorCode) voidWebExchangeBindException.rejectValue(String field, String errorCode, Object[] errorArgs, String defaultMessage) voidWebExchangeBindException.rejectValue(String field, String errorCode, Object[] errorArgs, String defaultMessage) voidWebExchangeBindException.rejectValue(String field, String errorCode, Object[] errorArgs, String defaultMessage) voidWebExchangeBindException.rejectValue(String field, String errorCode, String defaultMessage) voidDefaultSessionAttributeStore.setAttributeNamePrefix(String attributeNamePrefix) Specify a prefix to use for the attribute names in the backend session.final voidConfigurableWebBindingInitializer.setBindingErrorProcessor(BindingErrorProcessor bindingErrorProcessor) Set the strategy to use for processing binding errors, that is, required field errors andPropertyAccessExceptions.final voidConfigurableWebBindingInitializer.setConversionService(ConversionService conversionService) Specify a ConversionService which will apply to every DataBinder.final voidConfigurableWebBindingInitializer.setMessageCodesResolver(MessageCodesResolver messageCodesResolver) Set the strategy to use for resolving errors into message codes.final voidConfigurableWebBindingInitializer.setPropertyEditorRegistrars(PropertyEditorRegistrar[] propertyEditorRegistrars) Specify multiple PropertyEditorRegistrars to be applied to every DataBinder.final voidConfigurableWebBindingInitializer.setValidator(Validator validator) Set the Validator to apply after each binding step.Constructor parameters in org.springframework.web.bind.support with annotations of type NullableModifierConstructorDescriptionDefaultDataBinderFactory(WebBindingInitializer initializer) Create a newDefaultDataBinderFactoryinstance.WebExchangeDataBinder(Object target) Create a new instance, with default object name.WebExchangeDataBinder(Object target, String objectName) Create a new instance.WebRequestDataBinder(Object target) Create a new WebRequestDataBinder instance, with default object name.WebRequestDataBinder(Object target, String objectName) Create a new WebRequestDataBinder instance. -
Uses of Nullable in org.springframework.web.client
Methods in org.springframework.web.client with annotations of type NullableModifier and TypeMethodDescriptionprotected <T> TRestTemplate.doExecute(URI url, String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Execute the given method on the provided URI.protected <T> TRestTemplate.doExecute(URI url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Deprecated.<T> TRestOperations.execute(String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Object... uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestOperations.execute(String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Map<String, ?> uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestOperations.execute(URI url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Execute the HTTP method to the given URL, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestTemplate.execute(String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Object... uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestTemplate.execute(String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Map<String, ?> uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestTemplate.execute(URI url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Execute the HTTP method to the given URL, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.ResponseExtractor.extractData(ClientHttpResponse response) Extract data from the givenClientHttpResponseand return it.protected CharsetDefaultResponseErrorHandler.getCharset(ClientHttpResponse response) Determine the charset of the response (for inclusion in a status exception).<T> TRestOperations.getForObject(String url, Class<T> responseType, Object... uriVariables) Retrieve a representation by doing a GET on the specified URL.<T> TRestOperations.getForObject(String url, Class<T> responseType, Map<String, ?> uriVariables) Retrieve a representation by doing a GET on the URI template.<T> TRestOperations.getForObject(URI url, Class<T> responseType) Retrieve a representation by doing a GET on the URL.<T> TRestTemplate.getForObject(String url, Class<T> responseType, Object... uriVariables) <T> TRestTemplate.getForObject(String url, Class<T> responseType, Map<String, ?> uriVariables) <T> TRestTemplate.getForObject(URI url, Class<T> responseType) <E> ERestClientResponseException.getResponseBodyAs(Class<E> targetType) Convert the error response content to the specified type.<E> ERestClientResponseException.getResponseBodyAs(ParameterizedTypeReference<E> targetType) RestClientResponseException.getResponseHeaders()Return the HTTP response headers.UnknownContentTypeException.getResponseHeaders()Return the HTTP response headers.<T> TRestOperations.patchForObject(String url, Object request, Class<T> responseType, Object... uriVariables) Update a resource by PATCHing the given object to the URI template, and return the representation found in the response.<T> TRestOperations.patchForObject(String url, Object request, Class<T> responseType, Map<String, ?> uriVariables) Update a resource by PATCHing the given object to the URI template, and return the representation found in the response.<T> TRestOperations.patchForObject(URI url, Object request, Class<T> responseType) Update a resource by PATCHing the given object to the URL, and return the representation found in the response.<T> TRestTemplate.patchForObject(String url, Object request, Class<T> responseType, Object... uriVariables) <T> TRestTemplate.patchForObject(String url, Object request, Class<T> responseType, Map<String, ?> uriVariables) <T> TRestTemplate.patchForObject(URI url, Object request, Class<T> responseType) RestOperations.postForLocation(String url, Object request, Object... uriVariables) Create a new resource by POSTing the given object to the URI template, and return the value of theLocationheader.RestOperations.postForLocation(String url, Object request, Map<String, ?> uriVariables) Create a new resource by POSTing the given object to the URI template, and return the value of theLocationheader.RestOperations.postForLocation(URI url, Object request) Create a new resource by POSTing the given object to the URL, and return the value of theLocationheader.RestTemplate.postForLocation(String url, Object request, Object... uriVariables) RestTemplate.postForLocation(String url, Object request, Map<String, ?> uriVariables) RestTemplate.postForLocation(URI url, Object request) <T> TRestOperations.postForObject(String url, Object request, Class<T> responseType, Object... uriVariables) Create a new resource by POSTing the given object to the URI template, and return the representation found in the response.<T> TRestOperations.postForObject(String url, Object request, Class<T> responseType, Map<String, ?> uriVariables) Create a new resource by POSTing the given object to the URI template, and return the representation found in the response.<T> TRestOperations.postForObject(URI url, Object request, Class<T> responseType) Create a new resource by POSTing the given object to the URL, and return the representation found in the response.<T> TRestTemplate.postForObject(String url, Object request, Class<T> responseType, Object... uriVariables) <T> TRestTemplate.postForObject(String url, Object request, Class<T> responseType, Map<String, ?> uriVariables) <T> TRestTemplate.postForObject(URI url, Object request, Class<T> responseType) Method parameters in org.springframework.web.client with annotations of type NullableModifier and TypeMethodDescriptionstatic HttpClientErrorExceptionHttpClientErrorException.create(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) Variant ofHttpClientErrorException.create(HttpStatusCode, String, HttpHeaders, byte[], Charset)with an optional prepared message.static HttpClientErrorExceptionHttpClientErrorException.create(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) Variant ofHttpClientErrorException.create(HttpStatusCode, String, HttpHeaders, byte[], Charset)with an optional prepared message.static HttpClientErrorExceptionHttpClientErrorException.create(HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) CreateHttpClientErrorExceptionor an HTTP status specific subclass.static HttpServerErrorExceptionHttpServerErrorException.create(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) Variant ofHttpServerErrorException.create(String, HttpStatusCode, String, HttpHeaders, byte[], Charset)with an optional prepared message.static HttpServerErrorExceptionHttpServerErrorException.create(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) Variant ofHttpServerErrorException.create(String, HttpStatusCode, String, HttpHeaders, byte[], Charset)with an optional prepared message.static HttpServerErrorExceptionHttpServerErrorException.create(HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) Create anHttpServerErrorExceptionor an HTTP status specific subclass.protected <T> TRestTemplate.doExecute(URI url, String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Execute the given method on the provided URI.protected <T> TRestTemplate.doExecute(URI url, String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Execute the given method on the provided URI.protected <T> TRestTemplate.doExecute(URI url, String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Execute the given method on the provided URI.protected <T> TRestTemplate.doExecute(URI url, String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Execute the given method on the provided URI.protected <T> TRestTemplate.doExecute(URI url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Deprecated.protected <T> TRestTemplate.doExecute(URI url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Deprecated.protected <T> TRestTemplate.doExecute(URI url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Deprecated.<T> ResponseEntity<T>RestOperations.exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType, Object... uriVariables) Execute the HTTP method to the given URI template, writing the given request entity to the request, and return the response asResponseEntity.<T> ResponseEntity<T>RestOperations.exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType, Map<String, ?> uriVariables) Execute the HTTP method to the given URI template, writing the given request entity to the request, and return the response asResponseEntity.<T> ResponseEntity<T>RestOperations.exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, Object... uriVariables) Execute the HTTP method to the given URI template, writing the given request entity to the request, and return the response asResponseEntity.<T> ResponseEntity<T>RestOperations.exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, Map<String, ?> uriVariables) Execute the HTTP method to the given URI template, writing the given request entity to the request, and return the response asResponseEntity.<T> ResponseEntity<T>RestOperations.exchange(URI url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType) Execute the HTTP method to the given URI template, writing the given request entity to the request, and return the response asResponseEntity.<T> ResponseEntity<T>RestOperations.exchange(URI url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType) Execute the HTTP method to the given URI template, writing the given request entity to the request, and return the response asResponseEntity.<T> ResponseEntity<T>RestTemplate.exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType, Object... uriVariables) <T> ResponseEntity<T>RestTemplate.exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType, Map<String, ?> uriVariables) <T> ResponseEntity<T>RestTemplate.exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, Object... uriVariables) <T> ResponseEntity<T>RestTemplate.exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, Map<String, ?> uriVariables) <T> ResponseEntity<T>RestTemplate.exchange(URI url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType) <T> ResponseEntity<T>RestTemplate.exchange(URI url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType) <T> TRestOperations.execute(String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Object... uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestOperations.execute(String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Object... uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestOperations.execute(String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Map<String, ?> uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestOperations.execute(String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Map<String, ?> uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestOperations.execute(URI url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Execute the HTTP method to the given URL, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestOperations.execute(URI url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Execute the HTTP method to the given URL, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestTemplate.execute(String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Object... uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestTemplate.execute(String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Object... uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestTemplate.execute(String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Map<String, ?> uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestTemplate.execute(String uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Map<String, ?> uriVariables) Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestTemplate.execute(URI url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Execute the HTTP method to the given URL, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestTemplate.execute(URI url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) Execute the HTTP method to the given URL, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> RequestCallbackRestTemplate.httpEntityCallback(Object requestBody) Return aRequestCallbackimplementation that writes the given object to the request stream.<T> RequestCallbackRestTemplate.httpEntityCallback(Object requestBody, Type responseType) Return aRequestCallbackimplementation that: Sets the requestAcceptheader based on the given response type, cross-checked against the configured message converters.<T> TRestOperations.patchForObject(String url, Object request, Class<T> responseType, Object... uriVariables) Update a resource by PATCHing the given object to the URI template, and return the representation found in the response.<T> TRestOperations.patchForObject(String url, Object request, Class<T> responseType, Map<String, ?> uriVariables) Update a resource by PATCHing the given object to the URI template, and return the representation found in the response.<T> TRestOperations.patchForObject(URI url, Object request, Class<T> responseType) Update a resource by PATCHing the given object to the URL, and return the representation found in the response.<T> TRestTemplate.patchForObject(String url, Object request, Class<T> responseType, Object... uriVariables) <T> TRestTemplate.patchForObject(String url, Object request, Class<T> responseType, Map<String, ?> uriVariables) <T> TRestTemplate.patchForObject(URI url, Object request, Class<T> responseType) <T> ResponseEntity<T>RestOperations.postForEntity(String url, Object request, Class<T> responseType, Object... uriVariables) Create a new resource by POSTing the given object to the URI template, and return the response asResponseEntity.<T> ResponseEntity<T>RestOperations.postForEntity(String url, Object request, Class<T> responseType, Map<String, ?> uriVariables) Create a new resource by POSTing the given object to the URI template, and return the response asHttpEntity.<T> ResponseEntity<T>RestOperations.postForEntity(URI url, Object request, Class<T> responseType) Create a new resource by POSTing the given object to the URL, and return the response asResponseEntity.<T> ResponseEntity<T>RestTemplate.postForEntity(String url, Object request, Class<T> responseType, Object... uriVariables) <T> ResponseEntity<T>RestTemplate.postForEntity(String url, Object request, Class<T> responseType, Map<String, ?> uriVariables) <T> ResponseEntity<T>RestTemplate.postForEntity(URI url, Object request, Class<T> responseType) RestOperations.postForLocation(String url, Object request, Object... uriVariables) Create a new resource by POSTing the given object to the URI template, and return the value of theLocationheader.RestOperations.postForLocation(String url, Object request, Map<String, ?> uriVariables) Create a new resource by POSTing the given object to the URI template, and return the value of theLocationheader.RestOperations.postForLocation(URI url, Object request) Create a new resource by POSTing the given object to the URL, and return the value of theLocationheader.RestTemplate.postForLocation(String url, Object request, Object... uriVariables) RestTemplate.postForLocation(String url, Object request, Map<String, ?> uriVariables) RestTemplate.postForLocation(URI url, Object request) <T> TRestOperations.postForObject(String url, Object request, Class<T> responseType, Object... uriVariables) Create a new resource by POSTing the given object to the URI template, and return the representation found in the response.<T> TRestOperations.postForObject(String url, Object request, Class<T> responseType, Map<String, ?> uriVariables) Create a new resource by POSTing the given object to the URI template, and return the representation found in the response.<T> TRestOperations.postForObject(URI url, Object request, Class<T> responseType) Create a new resource by POSTing the given object to the URL, and return the representation found in the response.<T> TRestTemplate.postForObject(String url, Object request, Class<T> responseType, Object... uriVariables) <T> TRestTemplate.postForObject(String url, Object request, Class<T> responseType, Map<String, ?> uriVariables) <T> TRestTemplate.postForObject(URI url, Object request, Class<T> responseType) voidCreate or update a resource by PUTting the given object to the URI.voidCreates a new resource by PUTting the given object to URI template.voidCreates a new resource by PUTting the given object to URL.voidvoidvoidConstructor parameters in org.springframework.web.client with annotations of type NullableModifierConstructorDescriptionHttpClientErrorException(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset responseCharset) Constructor with a status code and status text, headers, and content, and a prepared message.HttpClientErrorException(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset responseCharset) Constructor with a status code and status text, headers, and content, and a prepared message.HttpClientErrorException(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset responseCharset) Constructor with a status code and status text, headers, and content, and a prepared message.HttpClientErrorException(HttpStatusCode statusCode, String statusText, byte[] body, Charset responseCharset) Constructor with a status code and status text, and content.HttpClientErrorException(HttpStatusCode statusCode, String statusText, byte[] body, Charset responseCharset) Constructor with a status code and status text, and content.HttpClientErrorException(HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset responseCharset) Constructor with a status code and status text, headers, and content.HttpClientErrorException(HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset responseCharset) Constructor with a status code and status text, headers, and content.HttpClientErrorException(HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset responseCharset) Constructor with a status code and status text, headers, and content.HttpServerErrorException(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) Constructor with a status code and status text, headers, content, and a prepared message.HttpServerErrorException(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) Constructor with a status code and status text, headers, content, and a prepared message.HttpServerErrorException(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) Constructor with a status code and status text, headers, content, and a prepared message.HttpServerErrorException(HttpStatusCode statusCode, String statusText, byte[] body, Charset charset) Constructor with a status code and status text, and content.HttpServerErrorException(HttpStatusCode statusCode, String statusText, byte[] body, Charset charset) Constructor with a status code and status text, and content.HttpServerErrorException(HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) Constructor with a status code and status text, headers, and content.HttpServerErrorException(HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) Constructor with a status code and status text, headers, and content.HttpServerErrorException(HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) Constructor with a status code and status text, headers, and content.protectedHttpStatusCodeException(String message, HttpStatusCode statusCode, String statusText, HttpHeaders responseHeaders, byte[] responseBody, Charset responseCharset) Construct instance with anHttpStatusCode, status text, content, and a response charset.protectedHttpStatusCodeException(String message, HttpStatusCode statusCode, String statusText, HttpHeaders responseHeaders, byte[] responseBody, Charset responseCharset) Construct instance with anHttpStatusCode, status text, content, and a response charset.protectedHttpStatusCodeException(String message, HttpStatusCode statusCode, String statusText, HttpHeaders responseHeaders, byte[] responseBody, Charset responseCharset) Construct instance with anHttpStatusCode, status text, content, and a response charset.protectedHttpStatusCodeException(HttpStatusCode statusCode, String statusText, byte[] responseBody, Charset responseCharset) Construct instance with anHttpStatusCode, status text, and content.protectedHttpStatusCodeException(HttpStatusCode statusCode, String statusText, byte[] responseBody, Charset responseCharset) Construct instance with anHttpStatusCode, status text, and content.protectedHttpStatusCodeException(HttpStatusCode statusCode, String statusText, HttpHeaders responseHeaders, byte[] responseBody, Charset responseCharset) Construct instance with anHttpStatusCode, status text, content, and a response charset.protectedHttpStatusCodeException(HttpStatusCode statusCode, String statusText, HttpHeaders responseHeaders, byte[] responseBody, Charset responseCharset) Construct instance with anHttpStatusCode, status text, content, and a response charset.protectedHttpStatusCodeException(HttpStatusCode statusCode, String statusText, HttpHeaders responseHeaders, byte[] responseBody, Charset responseCharset) Construct instance with anHttpStatusCode, status text, content, and a response charset.RestClientResponseException(String message, int statusCode, String statusText, HttpHeaders headers, byte[] responseBody, Charset responseCharset) Construct a new instance of with the given response data.RestClientResponseException(String message, int statusCode, String statusText, HttpHeaders headers, byte[] responseBody, Charset responseCharset) Construct a new instance of with the given response data.RestClientResponseException(String message, int statusCode, String statusText, HttpHeaders headers, byte[] responseBody, Charset responseCharset) Construct a new instance of with the given response data.RestClientResponseException(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] responseBody, Charset responseCharset) Construct a new instance of with the given response data.RestClientResponseException(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] responseBody, Charset responseCharset) Construct a new instance of with the given response data.RestClientResponseException(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] responseBody, Charset responseCharset) Construct a new instance of with the given response data.UnknownHttpStatusCodeException(int rawStatusCode, String statusText, HttpHeaders responseHeaders, byte[] responseBody, Charset responseCharset) Construct a new instance ofHttpStatusCodeExceptionbased on a status code, status text, and response body content.UnknownHttpStatusCodeException(int rawStatusCode, String statusText, HttpHeaders responseHeaders, byte[] responseBody, Charset responseCharset) Construct a new instance ofHttpStatusCodeExceptionbased on a status code, status text, and response body content.UnknownHttpStatusCodeException(int rawStatusCode, String statusText, HttpHeaders responseHeaders, byte[] responseBody, Charset responseCharset) Construct a new instance ofHttpStatusCodeExceptionbased on a status code, status text, and response body content.UnknownHttpStatusCodeException(String message, int rawStatusCode, String statusText, HttpHeaders responseHeaders, byte[] responseBody, Charset responseCharset) Construct a new instance ofHttpStatusCodeExceptionbased on a status code, status text, and response body content.UnknownHttpStatusCodeException(String message, int rawStatusCode, String statusText, HttpHeaders responseHeaders, byte[] responseBody, Charset responseCharset) Construct a new instance ofHttpStatusCodeExceptionbased on a status code, status text, and response body content.UnknownHttpStatusCodeException(String message, int rawStatusCode, String statusText, HttpHeaders responseHeaders, byte[] responseBody, Charset responseCharset) Construct a new instance ofHttpStatusCodeExceptionbased on a status code, status text, and response body content. -
Uses of Nullable in org.springframework.web.context
Methods in org.springframework.web.context with annotations of type NullableModifier and TypeMethodDescriptionprotected abstract WebApplicationContextAbstractContextLoaderInitializer.createRootApplicationContext()Create the "root" application context to be provided to theContextLoaderListener.String[]ConfigurableWebApplicationContext.getConfigLocations()Return the config locations for this web application context, ornullif none specified.static WebApplicationContextContextLoader.getCurrentWebApplicationContext()Obtain the Spring root web application context for the current thread (i.e.ConfigurableWebApplicationContext.getNamespace()Return the namespace for this web application context, if any.protected ApplicationContextInitializer<?>[]AbstractContextLoaderInitializer.getRootApplicationContextInitializers()Specify application context initializers to be applied to the root application context that theContextLoaderListeneris being created with.ConfigurableWebApplicationContext.getServletConfig()Return the ServletConfig for this web application context, if any.WebApplicationContext.getServletContext()Return the standard Servlet API ServletContext for this application.protected ApplicationContextContextLoader.loadParentContext(ServletContext servletContext) Template method with default implementation (which may be overridden by a subclass), to load or obtain an ApplicationContext instance which will be used as the parent context of the root WebApplicationContext.Method parameters in org.springframework.web.context with annotations of type NullableModifier and TypeMethodDescriptionvoidConfigurableWebEnvironment.initPropertySources(ServletContext servletContext, ServletConfig servletConfig) Replace any stub property source instances acting as placeholders with real servlet context/config property sources using the given parameters.voidConfigurableWebEnvironment.initPropertySources(ServletContext servletContext, ServletConfig servletConfig) Replace any stub property source instances acting as placeholders with real servlet context/config property sources using the given parameters.voidContextLoader.setContextInitializers(ApplicationContextInitializer<?>... initializers) Specify whichApplicationContextInitializerinstances should be used to initialize the application context used by thisContextLoader.voidConfigurableWebApplicationContext.setNamespace(String namespace) Set the namespace for this web application context, to be used for building a default context config location.voidConfigurableWebApplicationContext.setServletConfig(ServletConfig servletConfig) Set the ServletConfig for this web application context.voidConfigurableWebApplicationContext.setServletContext(ServletContext servletContext) Set the ServletContext for this web application context. -
Uses of Nullable in org.springframework.web.context.request
Methods in org.springframework.web.context.request with annotations of type NullableModifier and TypeMethodDescriptionRequestAttributes.getAttribute(String name, int scope) Return the value for the scoped attribute of the given name, if any.RequestScope.getConversationId()There is no conversation id concept for a request, so this method returnsnull.Return the request header of the given name, ornullif none.String[]FacesWebRequest.getHeaderValues(String headerName) String[]ServletWebRequest.getHeaderValues(String headerName) String[]WebRequest.getHeaderValues(String headerName) Return the request header values for the given header name, ornullif none.<T> TNativeWebRequest.getNativeRequest(Class<T> requiredType) Return the underlying native request object, if available.NativeWebRequest.getNativeResponse()Return the underlying native response object, if any.<T> TNativeWebRequest.getNativeResponse(Class<T> requiredType) Return the underlying native response object, if available.FacesWebRequest.getParameter(String paramName) ServletWebRequest.getParameter(String paramName) WebRequest.getParameter(String paramName) Return the request parameter of the given name, ornullif none.String[]FacesWebRequest.getParameterValues(String paramName) String[]ServletWebRequest.getParameterValues(String paramName) String[]WebRequest.getParameterValues(String paramName) Return the request parameter values for the given parameter name, ornullif none.FacesWebRequest.getRemoteUser()ServletWebRequest.getRemoteUser()WebRequest.getRemoteUser()Return the remote user for this request, if any.static RequestAttributesRequestContextHolder.getRequestAttributes()Return the RequestAttributes currently bound to the thread.final HttpServletResponseServletRequestAttributes.getResponse()Exposes the nativeHttpServletResponsethat we're wrapping (if any).protected final HttpSessionServletRequestAttributes.getSession(boolean allowCreate) Exposes theHttpSessionthat we're wrapping.FacesWebRequest.getUserPrincipal()ServletWebRequest.getUserPrincipal()WebRequest.getUserPrincipal()Return the user principal for this request, if any.AbstractRequestAttributesScope.resolveContextualObject(String key) RequestAttributes.resolveReference(String key) Resolve the contextual reference for the given key, if any.Method parameters in org.springframework.web.context.request with annotations of type NullableModifier and TypeMethodDescriptionvoidWebRequestInterceptor.afterCompletion(WebRequest request, Exception ex) Callback after completion of request processing, that is, after rendering the view.booleanFacesWebRequest.checkNotModified(String eTag) booleanFacesWebRequest.checkNotModified(String etag, long lastModifiedTimestamp) booleanServletWebRequest.checkNotModified(String eTag, long lastModifiedTimestamp) booleanWebRequest.checkNotModified(String etag, long lastModifiedTimestamp) Check whether the requested resource has been modified given the suppliedETag(entity tag) and last-modified timestamp, as determined by the application.<T> TFacesWebRequest.getNativeRequest(Class<T> requiredType) <T> TNativeWebRequest.getNativeRequest(Class<T> requiredType) Return the underlying native request object, if available.<T> TServletWebRequest.getNativeRequest(Class<T> requiredType) <T> TFacesWebRequest.getNativeResponse(Class<T> requiredType) <T> TNativeWebRequest.getNativeResponse(Class<T> requiredType) Return the underlying native response object, if available.<T> TServletWebRequest.getNativeResponse(Class<T> requiredType) protected booleanServletRequestAttributes.isImmutableSessionAttribute(String name, Object value) Determine whether the given value is to be considered as an immutable session attribute, that is, doesn't have to be re-set viasession.setAttributesince its value cannot meaningfully change internally.voidWebRequestInterceptor.postHandle(WebRequest request, ModelMap model) Intercept the execution of a request handler after its successful invocation, right before view rendering (if any).static voidRequestContextHolder.setRequestAttributes(RequestAttributes attributes) Bind the given RequestAttributes to the current thread, not exposing it as inheritable for child threads.static voidRequestContextHolder.setRequestAttributes(RequestAttributes attributes, boolean inheritable) Bind the given RequestAttributes to the current thread.Constructor parameters in org.springframework.web.context.request with annotations of type NullableModifierConstructorDescriptionServletRequestAttributes(HttpServletRequest request, HttpServletResponse response) Create a new ServletRequestAttributes instance for the given request.ServletWebRequest(HttpServletRequest request, HttpServletResponse response) Create a new ServletWebRequest instance for the given request/response pair. -
Uses of Nullable in org.springframework.web.context.request.async
Methods in org.springframework.web.context.request.async with annotations of type NullableModifier and TypeMethodDescriptionWebAsyncManager.getAsyncWebRequest()Return the currentAsyncWebRequest.WebAsyncManager.getCallableInterceptor(Object key) Get theCallableProcessingInterceptorregistered under the given key.WebAsyncManager.getConcurrentResult()Get the result from concurrent handling.Object[]WebAsyncManager.getConcurrentResultContext()Get the additional processing context saved at the start of concurrent handling.WebAsyncManager.getDeferredResultInterceptor(Object key) Get theDeferredResultProcessingInterceptorregistered under the given key.WebAsyncTask.getExecutor()Return the AsyncTaskExecutor to use for concurrent handling, ornullif none specified.DeferredResult.getResult()Return the result, ornullif the result wasn't set.WebAsyncTask.getTimeout()Return the timeout value in milliseconds, ornullif no timeout is set.Method parameters in org.springframework.web.context.request.async with annotations of type NullableModifier and TypeMethodDescriptionvoidDeferredResult.DeferredResultHandler.handleResult(Object result) default <T> voidCallableProcessingInterceptor.postProcess(NativeWebRequest request, Callable<T> task, Object concurrentResult) Invoked after theCallablehas produced a result in the async thread in which theCallableis executed.default <T> voidDeferredResultProcessingInterceptor.postProcess(NativeWebRequest request, DeferredResult<T> deferredResult, Object concurrentResult) Invoked after aDeferredResulthas been set, viaDeferredResult.setResult(Object)orDeferredResult.setErrorResult(Object), and is also ready to handle the concurrent result.voidAsyncWebRequest.setTimeout(Long timeout) Set the time required for concurrent handling to complete.Constructor parameters in org.springframework.web.context.request.async with annotations of type NullableModifierConstructorDescriptionDeferredResult(Long timeoutValue, Object timeoutResult) Create a DeferredResult with a timeout value and a default result to use in case of timeout.DeferredResult(Long timeoutValue, Supplier<?> timeoutResult) Variant ofDeferredResult(Long, Object)that accepts a dynamic fallback value based on aSupplier.WebAsyncTask(Long timeout, String executorName, Callable<V> callable) Create aWebAsyncTaskwith a timeout value, an executor name, and aCallable.WebAsyncTask(Long timeout, AsyncTaskExecutor executor, Callable<V> callable) Create aWebAsyncTaskwith a timeout value, an executor instance, and a Callable. -
Uses of Nullable in org.springframework.web.context.support
Methods in org.springframework.web.context.support with annotations of type NullableModifier and TypeMethodDescriptionstatic WebApplicationContextWebApplicationContextUtils.findWebApplicationContext(ServletContext sc) Find a uniqueWebApplicationContextfor this web app: either the root web app context (preferred) or a uniqueWebApplicationContextamong the registeredServletContextattributes (typically coming from a singleDispatcherServletin the current web application).ContextExposingHttpServletRequest.getAttribute(String name) protected BeanNameGeneratorAnnotationConfigWebApplicationContext.getBeanNameGenerator()Return the customBeanNameGeneratorfor use withAnnotatedBeanDefinitionReaderand/orClassPathBeanDefinitionScanner, if any.ServletContextScope.getConversationId()RequestHandledEvent.getFailureCause()Return the cause of failure, if any.ServletContextResource.getFilename()This implementation returns the name of the file that this ServletContext resource refers to.AbstractRefreshableWebApplicationContext.getNamespace()GenericWebApplicationContext.getNamespace()StaticWebApplicationContext.getNamespace()ServletContextAttributeFactoryBean.getObject()ServletContextParameterFactoryBean.getObject()GroovyWebApplicationContext.getProperty(String property) ServletConfigPropertySource.getProperty(String name) ServletContextPropertySource.getProperty(String name) protected ScopeMetadataResolverAnnotationConfigWebApplicationContext.getScopeMetadataResolver()Return the customScopeMetadataResolverfor use withAnnotatedBeanDefinitionReaderand/orClassPathBeanDefinitionScanner, if any.AbstractRefreshableWebApplicationContext.getServletConfig()GenericWebApplicationContext.getServletConfig()protected ServletConfigServletContextAwareProcessor.getServletConfig()Returns theServletConfigto be injected ornull.StaticWebApplicationContext.getServletConfig()AbstractRefreshableWebApplicationContext.getServletContext()GenericWebApplicationContext.getServletContext()protected ServletContextServletContextAwareProcessor.getServletContext()Returns theServletContextto be injected ornull.StaticWebApplicationContext.getServletContext()protected final ServletContextWebApplicationObjectSupport.getServletContext()Return the current ServletContext.RequestHandledEvent.getSessionId()Return the id of the HTTP session, if any.Deprecated.Deprecated.Deprecated.RequestHandledEvent.getUserName()Return the name of the user that was associated with the request (usually the UserPrincipal).static WebApplicationContextWebApplicationContextUtils.getWebApplicationContext(ServletContext sc) Find the rootWebApplicationContextfor this web app, typically loaded viaContextLoaderListener.static WebApplicationContextWebApplicationContextUtils.getWebApplicationContext(ServletContext sc, String attrName) Find a customWebApplicationContextfor this web app.protected final WebApplicationContextWebApplicationObjectSupport.getWebApplicationContext()Return the current application context as WebApplicationContext.ServletContextScope.resolveContextualObject(String key) Method parameters in org.springframework.web.context.support with annotations of type NullableModifier and TypeMethodDescriptionbooleanThis implementation compares the underlying ServletContext resource locations.voidStandardServletEnvironment.initPropertySources(ServletContext servletContext, ServletConfig servletConfig) voidStandardServletEnvironment.initPropertySources(ServletContext servletContext, ServletConfig servletConfig) static voidWebApplicationContextUtils.initServletPropertySources(MutablePropertySources sources, ServletContext servletContext, ServletConfig servletConfig) ReplaceServlet-basedstub property sourceswith actual instances populated with the givenservletContextandservletConfigobjects.static voidWebApplicationContextUtils.initServletPropertySources(MutablePropertySources sources, ServletContext servletContext, ServletConfig servletConfig) ReplaceServlet-basedstub property sourceswith actual instances populated with the givenservletContextandservletConfigobjects.static voidWebApplicationContextUtils.registerEnvironmentBeans(ConfigurableListableBeanFactory bf, ServletContext sc) Register web-specific environment beans ("contextParameters", "contextAttributes") with the given BeanFactory, as used by the WebApplicationContext.static voidWebApplicationContextUtils.registerEnvironmentBeans(ConfigurableListableBeanFactory bf, ServletContext servletContext, ServletConfig servletConfig) Register web-specific environment beans ("contextParameters", "contextAttributes") with the given BeanFactory, as used by the WebApplicationContext.static voidWebApplicationContextUtils.registerEnvironmentBeans(ConfigurableListableBeanFactory bf, ServletContext servletContext, ServletConfig servletConfig) Register web-specific environment beans ("contextParameters", "contextAttributes") with the given BeanFactory, as used by the WebApplicationContext.static voidWebApplicationContextUtils.registerWebApplicationScopes(ConfigurableListableBeanFactory beanFactory, ServletContext sc) Register web-specific scopes ("request", "session", "globalSession", "application") with the given BeanFactory, as used by the WebApplicationContext.voidAnnotationConfigWebApplicationContext.setBeanNameGenerator(BeanNameGenerator beanNameGenerator) Set a customBeanNameGeneratorfor use withAnnotatedBeanDefinitionReaderand/orClassPathBeanDefinitionScanner.voidAbstractRefreshableWebApplicationContext.setNamespace(String namespace) voidGenericWebApplicationContext.setNamespace(String namespace) voidStaticWebApplicationContext.setNamespace(String namespace) voidAnnotationConfigWebApplicationContext.setScopeMetadataResolver(ScopeMetadataResolver scopeMetadataResolver) Set a customScopeMetadataResolverfor use withAnnotatedBeanDefinitionReaderand/orClassPathBeanDefinitionScanner.voidAbstractRefreshableWebApplicationContext.setServletConfig(ServletConfig servletConfig) voidGenericWebApplicationContext.setServletConfig(ServletConfig servletConfig) voidStaticWebApplicationContext.setServletConfig(ServletConfig servletConfig) voidAbstractRefreshableWebApplicationContext.setServletContext(ServletContext servletContext) voidGenericWebApplicationContext.setServletContext(ServletContext servletContext) Set theServletContextthat thisWebApplicationContextruns in.voidStaticWebApplicationContext.setServletContext(ServletContext servletContext) Set the ServletContext that this WebApplicationContext runs in.Constructor parameters in org.springframework.web.context.support with annotations of type NullableModifierConstructorDescriptionContextExposingHttpServletRequest(HttpServletRequest originalRequest, WebApplicationContext context, Set<String> exposedContextBeanNames) Create a new ContextExposingHttpServletRequest for the given request.RequestHandledEvent(Object source, String sessionId, String userName, long processingTimeMillis) Create a new RequestHandledEvent with session information.RequestHandledEvent(Object source, String sessionId, String userName, long processingTimeMillis) Create a new RequestHandledEvent with session information.RequestHandledEvent(Object source, String sessionId, String userName, long processingTimeMillis, Throwable failureCause) Create a new RequestHandledEvent with session information.RequestHandledEvent(Object source, String sessionId, String userName, long processingTimeMillis, Throwable failureCause) Create a new RequestHandledEvent with session information.RequestHandledEvent(Object source, String sessionId, String userName, long processingTimeMillis, Throwable failureCause) Create a new RequestHandledEvent with session information.ServletContextAwareProcessor(ServletContext servletContext, ServletConfig servletConfig) Create a new ServletContextAwareProcessor for the given context and config.ServletContextAwareProcessor(ServletContext servletContext, ServletConfig servletConfig) Create a new ServletContextAwareProcessor for the given context and config.ServletRequestHandledEvent(Object source, String requestUrl, String clientAddress, String method, String servletName, String sessionId, String userName, long processingTimeMillis) Create a new ServletRequestHandledEvent.ServletRequestHandledEvent(Object source, String requestUrl, String clientAddress, String method, String servletName, String sessionId, String userName, long processingTimeMillis) Create a new ServletRequestHandledEvent.ServletRequestHandledEvent(Object source, String requestUrl, String clientAddress, String method, String servletName, String sessionId, String userName, long processingTimeMillis, Throwable failureCause) Create a new ServletRequestHandledEvent.ServletRequestHandledEvent(Object source, String requestUrl, String clientAddress, String method, String servletName, String sessionId, String userName, long processingTimeMillis, Throwable failureCause) Create a new ServletRequestHandledEvent.ServletRequestHandledEvent(Object source, String requestUrl, String clientAddress, String method, String servletName, String sessionId, String userName, long processingTimeMillis, Throwable failureCause) Create a new ServletRequestHandledEvent.ServletRequestHandledEvent(Object source, String requestUrl, String clientAddress, String method, String servletName, String sessionId, String userName, long processingTimeMillis, Throwable failureCause, int statusCode) Create a new ServletRequestHandledEvent.ServletRequestHandledEvent(Object source, String requestUrl, String clientAddress, String method, String servletName, String sessionId, String userName, long processingTimeMillis, Throwable failureCause, int statusCode) Create a new ServletRequestHandledEvent.ServletRequestHandledEvent(Object source, String requestUrl, String clientAddress, String method, String servletName, String sessionId, String userName, long processingTimeMillis, Throwable failureCause, int statusCode) Create a new ServletRequestHandledEvent. -
Uses of Nullable in org.springframework.web.cors
Methods in org.springframework.web.cors with annotations of type NullableModifier and TypeMethodDescriptionCorsConfiguration.checkHeaders(List<String> requestHeaders) Check the supplied request headers (or the headers listed in theAccess-Control-Request-Headersof a pre-flight request) against the configured allowed headers.DefaultCorsProcessor.checkHeaders(CorsConfiguration config, List<String> requestHeaders) Check the headers and determine the headers for the response of a pre-flight request.CorsConfiguration.checkHttpMethod(HttpMethod requestMethod) Check the HTTP request method (or the method from theAccess-Control-Request-Methodheader on a pre-flight request) against the configured allowed methods.protected List<HttpMethod>DefaultCorsProcessor.checkMethods(CorsConfiguration config, HttpMethod requestMethod) Check the HTTP method and determine the methods for the response of a pre-flight request.CorsConfiguration.checkOrigin(String origin) Check the origin of the request against the configured allowed origins.protected StringDefaultCorsProcessor.checkOrigin(CorsConfiguration config, String requestOrigin) Check the origin and determine the origin for the response.CorsConfiguration.getAllowCredentials()Return the configuredallowCredentialsflag, ornullif none.CorsConfiguration.getAllowedHeaders()Return the allowed actual request headers, ornullif none.CorsConfiguration.getAllowedMethods()Return the allowed HTTP methods, ornullin which case only"GET"and"HEAD"allowed.CorsConfiguration.getAllowedOriginPatterns()Return the configured origins patterns to allow, ornullif none.CorsConfiguration.getAllowedOrigins()Return the configured origins to allow, ornullif none.CorsConfiguration.getAllowPrivateNetwork()Return the configuredallowPrivateNetworkflag, ornullif none.CorsConfigurationSource.getCorsConfiguration(HttpServletRequest request) Return aCorsConfigurationbased on the incoming request.UrlBasedCorsConfigurationSource.getCorsConfiguration(HttpServletRequest request) CorsConfiguration.getExposedHeaders()Return the configured response headers to expose, ornullif none.CorsConfiguration.getMaxAge()Return the configuredmaxAgevalue, ornullif none.Method parameters in org.springframework.web.cors with annotations of type NullableModifier and TypeMethodDescriptionvoidCorsConfiguration.addAllowedOrigin(String origin) Variant ofCorsConfiguration.setAllowedOrigins(java.util.List<java.lang.String>)for adding one origin at a time.voidCorsConfiguration.addAllowedOriginPattern(String originPattern) Variant ofCorsConfiguration.setAllowedOriginPatterns(java.util.List<java.lang.String>)for adding one origin at a time.CorsConfiguration.checkHeaders(List<String> requestHeaders) Check the supplied request headers (or the headers listed in theAccess-Control-Request-Headersof a pre-flight request) against the configured allowed headers.CorsConfiguration.checkHttpMethod(HttpMethod requestMethod) Check the HTTP request method (or the method from theAccess-Control-Request-Methodheader on a pre-flight request) against the configured allowed methods.protected List<HttpMethod>DefaultCorsProcessor.checkMethods(CorsConfiguration config, HttpMethod requestMethod) Check the HTTP method and determine the methods for the response of a pre-flight request.CorsConfiguration.checkOrigin(String origin) Check the origin of the request against the configured allowed origins.protected StringDefaultCorsProcessor.checkOrigin(CorsConfiguration config, String requestOrigin) Check the origin and determine the origin for the response.CorsConfiguration.combine(CorsConfiguration other) Combine the non-null properties of the suppliedCorsConfigurationwith this one.booleanCorsProcessor.processRequest(CorsConfiguration configuration, HttpServletRequest request, HttpServletResponse response) Process a request given aCorsConfiguration.booleanDefaultCorsProcessor.processRequest(CorsConfiguration config, HttpServletRequest request, HttpServletResponse response) voidCorsConfiguration.setAllowCredentials(Boolean allowCredentials) Whether user credentials are supported.voidCorsConfiguration.setAllowedHeaders(List<String> allowedHeaders) Set the list of headers that a pre-flight request can list as allowed for use during an actual request.voidCorsConfiguration.setAllowedMethods(List<String> allowedMethods) Set the HTTP methods to allow, e.g.CorsConfiguration.setAllowedOriginPatterns(List<String> allowedOriginPatterns) Alternative toCorsConfiguration.setAllowedOrigins(java.util.List<java.lang.String>)that supports more flexible origins patterns with "*" anywhere in the host name in addition to port lists.voidCorsConfiguration.setAllowedOrigins(List<String> origins) A list of origins for which cross-origin requests are allowed where each value may be one of the following: a specific domain, e.g.voidCorsConfiguration.setAllowPrivateNetwork(Boolean allowPrivateNetwork) Whether private network access is supported for user-agents restricting such access by default.voidUrlBasedCorsConfigurationSource.setCorsConfigurations(Map<String, CorsConfiguration> corsConfigurations) Set the CORS configuration mappings.voidCorsConfiguration.setExposedHeaders(List<String> exposedHeaders) Set the list of response headers that an actual response might have and can be exposed to the client.voidConfigure how long, in seconds, the response from a pre-flight request can be cached by clients. -
Uses of Nullable in org.springframework.web.cors.reactive
Methods in org.springframework.web.cors.reactive with annotations of type NullableModifier and TypeMethodDescriptionDefaultCorsProcessor.checkHeaders(CorsConfiguration config, List<String> requestHeaders) Check the headers and determine the headers for the response of a pre-flight request.protected List<HttpMethod>DefaultCorsProcessor.checkMethods(CorsConfiguration config, HttpMethod requestMethod) Check the HTTP method and determine the methods for the response of a pre-flight request.protected StringDefaultCorsProcessor.checkOrigin(CorsConfiguration config, String requestOrigin) Check the origin and determine the origin for the response.CorsConfigurationSource.getCorsConfiguration(ServerWebExchange exchange) Return aCorsConfigurationbased on the incoming request.UrlBasedCorsConfigurationSource.getCorsConfiguration(ServerWebExchange exchange) Method parameters in org.springframework.web.cors.reactive with annotations of type NullableModifier and TypeMethodDescriptionprotected List<HttpMethod>DefaultCorsProcessor.checkMethods(CorsConfiguration config, HttpMethod requestMethod) Check the HTTP method and determine the methods for the response of a pre-flight request.protected StringDefaultCorsProcessor.checkOrigin(CorsConfiguration config, String requestOrigin) Check the origin and determine the origin for the response.booleanCorsProcessor.process(CorsConfiguration configuration, ServerWebExchange exchange) Process a request using the givenCorsConfiguration.booleanDefaultCorsProcessor.process(CorsConfiguration config, ServerWebExchange exchange) voidUrlBasedCorsConfigurationSource.setCorsConfigurations(Map<String, CorsConfiguration> configMap) Set CORS configuration based on URL patterns. -
Uses of Nullable in org.springframework.web.filter
Methods in org.springframework.web.filter with annotations of type NullableModifier and TypeMethodDescriptionprotected WebApplicationContextDelegatingFilterProxy.findWebApplicationContext()Return theWebApplicationContextpassed in at construction time, if available.DelegatingFilterProxy.getContextAttribute()Return the name of the ServletContext attribute which should be used to retrieve theWebApplicationContextfrom which to load the delegateFilterbean.CharacterEncodingFilter.getEncoding()Return the configured encoding for requests and/or responses.GenericFilterBean.getFilterConfig()Make the FilterConfig of this filter available, if any.protected StringGenericFilterBean.getFilterName()Make the name of this filter available to subclasses.AbstractRequestLoggingFilter.getHeaderPredicate()The configuredheaderPredicate.protected StringAbstractRequestLoggingFilter.getMessagePayload(HttpServletRequest request) Extracts the message payload portion of the message created byAbstractRequestLoggingFilter.createMessage(HttpServletRequest, String, String)whenAbstractRequestLoggingFilter.isIncludePayload()returns true.protected StringDelegatingFilterProxy.getTargetBeanName()Return the name of the target bean in the Spring application context.Method parameters in org.springframework.web.filter with annotations of type NullableModifier and TypeMethodDescriptionvoidDelegatingFilterProxy.setContextAttribute(String contextAttribute) Set the name of the ServletContext attribute which should be used to retrieve theWebApplicationContextfrom which to load the delegateFilterbean.voidCharacterEncodingFilter.setEncoding(String encoding) Set the encoding to use for requests.voidAbstractRequestLoggingFilter.setHeaderPredicate(Predicate<String> headerPredicate) Configure a predicate for selecting which headers should be logged ifAbstractRequestLoggingFilter.setIncludeHeaders(boolean)is set totrue.voidDelegatingFilterProxy.setTargetBeanName(String targetBeanName) Set the name of the target bean in the Spring application context.Constructor parameters in org.springframework.web.filter with annotations of type NullableModifierConstructorDescriptionDelegatingFilterProxy(String targetBeanName, WebApplicationContext wac) Create a newDelegatingFilterProxythat will retrieve the named target bean from the given SpringWebApplicationContext. -
Uses of Nullable in org.springframework.web.jsf
Methods in org.springframework.web.jsf with annotations of type NullableModifier and TypeMethodDescriptionfinal NavigationHandlerDecoratingNavigationHandler.getDecoratedNavigationHandler()Return the fixed original NavigationHandler decorated by this handler, if any (that is, if passed in through the constructor).static ObjectFacesContextUtils.getSessionMutex(FacesContext fc) Return the best available mutex for the given session: that is, an object to synchronize on for the given session.static WebApplicationContextFacesContextUtils.getWebApplicationContext(FacesContext fc) Find the rootWebApplicationContextfor this web app, typically loaded viaContextLoaderListener.Method parameters in org.springframework.web.jsf with annotations of type NullableModifier and TypeMethodDescriptionprotected final voidDecoratingNavigationHandler.callNextHandlerInChain(FacesContext facesContext, String fromAction, String outcome, NavigationHandler originalNavigationHandler) Method to be called by subclasses when intending to delegate to the next handler in the NavigationHandler chain.protected final voidDecoratingNavigationHandler.callNextHandlerInChain(FacesContext facesContext, String fromAction, String outcome, NavigationHandler originalNavigationHandler) Method to be called by subclasses when intending to delegate to the next handler in the NavigationHandler chain.protected final voidDecoratingNavigationHandler.callNextHandlerInChain(FacesContext facesContext, String fromAction, String outcome, NavigationHandler originalNavigationHandler) Method to be called by subclasses when intending to delegate to the next handler in the NavigationHandler chain.abstract voidDecoratingNavigationHandler.handleNavigation(FacesContext facesContext, String fromAction, String outcome, NavigationHandler originalNavigationHandler) SpecialhandleNavigationvariant with explicit NavigationHandler argument.abstract voidDecoratingNavigationHandler.handleNavigation(FacesContext facesContext, String fromAction, String outcome, NavigationHandler originalNavigationHandler) SpecialhandleNavigationvariant with explicit NavigationHandler argument.abstract voidDecoratingNavigationHandler.handleNavigation(FacesContext facesContext, String fromAction, String outcome, NavigationHandler originalNavigationHandler) SpecialhandleNavigationvariant with explicit NavigationHandler argument. -
Uses of Nullable in org.springframework.web.jsf.el
Methods in org.springframework.web.jsf.el with annotations of type NullableModifier and TypeMethodDescriptionSpringBeanFacesELResolver.getFeatureDescriptors(ELContext elContext, Object base) WebApplicationContextFacesELResolver.getFeatureDescriptors(ELContext elContext, Object base) Class<?>Class<?>protected WebApplicationContextWebApplicationContextFacesELResolver.getWebApplicationContext(ELContext elContext) Retrieve theWebApplicationContextreference to expose.Method parameters in org.springframework.web.jsf.el with annotations of type NullableModifier and TypeMethodDescriptionClass<?>SpringBeanFacesELResolver.getCommonPropertyType(ELContext elContext, Object base) SpringBeanFacesELResolver.getFeatureDescriptors(ELContext elContext, Object base) Class<?>Class<?>booleanSpringBeanFacesELResolver.isReadOnly(ELContext elContext, Object base, Object property) void -
Uses of Nullable in org.springframework.web.method
Methods in org.springframework.web.method with annotations of type NullableModifier and TypeMethodDescriptionprotected static ObjectHandlerMethod.findProvidedArgument(MethodParameter parameter, Object... providedArgs) Class<?>ControllerAdviceBean.getBeanType()Return the type of the contained bean.<A extends Annotation>
AHandlerMethod.getMethodAnnotation(Class<A> annotationType) Return a single annotation on the underlying method traversing its super methods if no annotation can be found on the given method itself.HandlerMethod.getResolvedFromHandlerMethod()Return the HandlerMethod from which this HandlerMethod instance was resolved viaHandlerMethod.createWithResolvedBean().protected HttpStatusCodeHandlerMethod.getResponseStatus()Return the specified response status, if any.protected StringHandlerMethod.getResponseStatusReason()Return the associated response status reason, if any.Method parameters in org.springframework.web.method with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanprotected static ObjectHandlerMethod.findProvidedArgument(MethodParameter parameter, Object... providedArgs) HandlerMethod.getReturnValueType(Object returnValue) Return the actual return value type.booleanControllerAdviceBean.isApplicableToBeanType(Class<?> beanType) Check whether the given bean type should be advised by thisControllerAdviceBean.booleanConstructor parameters in org.springframework.web.method with annotations of type NullableModifierConstructorDescriptionControllerAdviceBean(String beanName, BeanFactory beanFactory, ControllerAdvice controllerAdvice) Create aControllerAdviceBeanusing the given bean name,BeanFactory, and@ControllerAdviceannotation.protectedHandlerMethod(Object bean, Method method, MessageSource messageSource) Variant ofHandlerMethod(Object, Method)that also accepts aMessageSourcefor use from subclasses.HandlerMethod(String beanName, BeanFactory beanFactory, MessageSource messageSource, Method method) Variant ofHandlerMethod(String, BeanFactory, Method)that also accepts aMessageSource. -
Uses of Nullable in org.springframework.web.method.annotation
Methods in org.springframework.web.method.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected StringRequestParamMethodArgumentResolver.formatUriValue(ConversionService cs, TypeDescriptor sourceType, Object value) final ObjectAbstractNamedValueMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) AbstractWebArgumentResolverAdapter.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Delegate to theWebArgumentResolverinstance.ErrorsMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) MapMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) final ObjectModelAttributeMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Resolve the argument from the model or if not found instantiate it with its default if it is available.ModelMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) ModelAttributeMethodProcessor.resolveConstructorArgument(String paramName, Class<?> paramType, NativeWebRequest request) ExceptionHandlerMethodResolver.resolveMethod(Exception exception) Find aMethodto handle the given exception.ExceptionHandlerMethodResolver.resolveMethodByExceptionType(Class<? extends Throwable> exceptionType) Find aMethodto handle the given exception type.ExceptionHandlerMethodResolver.resolveMethodByThrowable(Throwable exception) Find aMethodto handle the given Throwable.protected abstract ObjectAbstractNamedValueMethodArgumentResolver.resolveName(String name, MethodParameter parameter, NativeWebRequest request) Resolve the given parameter type and value name into an argument value.protected ObjectExpressionValueMethodArgumentResolver.resolveName(String name, MethodParameter parameter, NativeWebRequest webRequest) protected ObjectRequestHeaderMethodArgumentResolver.resolveName(String name, MethodParameter parameter, NativeWebRequest request) protected ObjectRequestParamMethodArgumentResolver.resolveName(String name, MethodParameter parameter, NativeWebRequest request) Method parameters in org.springframework.web.method.annotation with annotations of type NullableModifier and TypeMethodDescriptionvoidRequestParamMethodArgumentResolver.contributeMethodArgument(MethodParameter parameter, Object value, UriComponentsBuilder builder, Map<String, Object> uriVariables, ConversionService conversionService) protected StringRequestParamMethodArgumentResolver.formatUriValue(ConversionService cs, TypeDescriptor sourceType, Object value) protected StringRequestParamMethodArgumentResolver.formatUriValue(ConversionService cs, TypeDescriptor sourceType, Object value) protected StringRequestParamMethodArgumentResolver.formatUriValue(ConversionService cs, TypeDescriptor sourceType, Object value) static StringModelFactory.getNameForReturnValue(Object returnValue, MethodParameter returnType) Derive the model attribute name for the given return value.protected voidAbstractNamedValueMethodArgumentResolver.handleResolvedValue(Object arg, String name, MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) Invoked after a value is resolved.protected voidAbstractNamedValueMethodArgumentResolver.handleResolvedValue(Object arg, String name, MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) Invoked after a value is resolved.voidMapMethodProcessor.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidModelAttributeMethodProcessor.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) Add non-null return values to theModelAndViewContainer.voidModelMethodProcessor.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) final ObjectAbstractNamedValueMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) final ObjectAbstractNamedValueMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) AbstractWebArgumentResolverAdapter.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Delegate to theWebArgumentResolverinstance.AbstractWebArgumentResolverAdapter.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Delegate to theWebArgumentResolverinstance.ErrorsMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) ErrorsMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) MapMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) MapMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) final ObjectModelAttributeMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Resolve the argument from the model or if not found instantiate it with its default if it is available.final ObjectModelAttributeMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Resolve the argument from the model or if not found instantiate it with its default if it is available.ModelMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) ModelMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) RequestHeaderMapMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) RequestHeaderMapMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) RequestParamMapMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) RequestParamMapMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) SessionStatusMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) SessionStatusMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) protected voidModelAttributeMethodProcessor.validateValueIfApplicable(WebDataBinder binder, MethodParameter parameter, Class<?> targetType, String fieldName, Object value) Validate the specified candidate value if applicable.Constructor parameters in org.springframework.web.method.annotation with annotations of type NullableModifierConstructorDescriptionCrate a newAbstractCookieValueMethodArgumentResolverinstance.Create a newAbstractNamedValueMethodArgumentResolverinstance.Create a newExpressionValueMethodArgumentResolverinstance.InitBinderDataBinderFactory(List<InvocableHandlerMethod> binderMethods, WebBindingInitializer initializer) Create a new InitBinderDataBinderFactory instance.InitBinderDataBinderFactory(List<InvocableHandlerMethod> binderMethods, WebBindingInitializer initializer) Create a new InitBinderDataBinderFactory instance.MethodArgumentConversionNotSupportedException(Object value, Class<?> requiredType, String name, MethodParameter param, Throwable cause) MethodArgumentConversionNotSupportedException(Object value, Class<?> requiredType, String name, MethodParameter param, Throwable cause) MethodArgumentTypeMismatchException(Object value, Class<?> requiredType, String name, MethodParameter param, Throwable cause) MethodArgumentTypeMismatchException(Object value, Class<?> requiredType, String name, MethodParameter param, Throwable cause) ModelFactory(List<InvocableHandlerMethod> handlerMethods, WebDataBinderFactory binderFactory, SessionAttributesHandler attributeHandler) Create a new instance with the given@ModelAttributemethods.NamedValueInfo(String name, boolean required, String defaultValue) Create a newRequestHeaderMethodArgumentResolverinstance.RequestParamMethodArgumentResolver(ConfigurableBeanFactory beanFactory, boolean useDefaultResolution) Create a newRequestParamMethodArgumentResolverinstance. -
Uses of Nullable in org.springframework.web.method.support
Methods in org.springframework.web.method.support with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectInvoke the handler method with the given argument values.ModelAndViewContainer.getStatus()Return the configured HTTP status, if any.ModelAndViewContainer.getView()Return the View object, ornullif we are using a view name to be resolved by the DispatcherServlet via a ViewResolver.ModelAndViewContainer.getViewName()Return the view name to be resolved by the DispatcherServlet via a ViewResolver, ornullif a View object is set.InvocableHandlerMethod.invokeForRequest(NativeWebRequest request, ModelAndViewContainer mavContainer, Object... providedArgs) Invoke the method after resolving its argument values in the context of the given request.HandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Resolves a method parameter into an argument value from a given request.HandlerMethodArgumentResolverComposite.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Iterate over registeredHandlerMethodArgumentResolversand invoke the one that supports it.Method parameters in org.springframework.web.method.support with annotations of type NullableModifier and TypeMethodDescriptionModelAndViewContainer.addAllAttributes(Map<String, ?> attributes) Copy all attributes to the underlying model.ModelAndViewContainer.addAttribute(String name, Object value) Add the supplied attribute to the underlying model.HandlerMethodReturnValueHandlerComposite.addHandlers(List<? extends HandlerMethodReturnValueHandler> handlers) Add the givenHandlerMethodReturnValueHandlers.HandlerMethodArgumentResolverComposite.addResolvers(List<? extends HandlerMethodArgumentResolver> resolvers) Add the givenHandlerMethodArgumentResolvers.HandlerMethodArgumentResolverComposite.addResolvers(HandlerMethodArgumentResolver... resolvers) Add the givenHandlerMethodArgumentResolvers.protected Object[]InvocableHandlerMethod.getMethodArgumentValues(NativeWebRequest request, ModelAndViewContainer mavContainer, Object... providedArgs) Get the method argument values for the current request, checking the provided argument values and falling back to the configured argument resolvers.voidHandlerMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) Handle the given return value by adding attributes to the model and setting a view or setting theModelAndViewContainer.setRequestHandled(boolean)flag totrueto indicate the response has been handled directly.voidHandlerMethodReturnValueHandlerComposite.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) Iterate over registeredHandlerMethodReturnValueHandlersand invoke the one that supports it.InvocableHandlerMethod.invokeForRequest(NativeWebRequest request, ModelAndViewContainer mavContainer, Object... providedArgs) Invoke the method after resolving its argument values in the context of the given request.booleanAsyncHandlerMethodReturnValueHandler.isAsyncReturnValue(Object returnValue, MethodParameter returnType) Whether the given return value represents asynchronous computation.ModelAndViewContainer.mergeAttributes(Map<String, ?> attributes) Copy attributes in the suppliedMapwith existing objects of the same name taking precedence (i.e.ModelAndViewContainer.removeAttributes(Map<String, ?> attributes) Remove the given attributes from the model.HandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Resolves a method parameter into an argument value from a given request.HandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Resolves a method parameter into an argument value from a given request.HandlerMethodArgumentResolverComposite.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Iterate over registeredHandlerMethodArgumentResolversand invoke the one that supports it.HandlerMethodArgumentResolverComposite.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Iterate over registeredHandlerMethodArgumentResolversand invoke the one that supports it.voidModelAndViewContainer.setStatus(HttpStatusCode status) Provide an HTTP status that will be passed on to with theModelAndViewused for view rendering purposes.voidSet a View object to be used by the DispatcherServlet.voidModelAndViewContainer.setViewName(String viewName) Set a view name to be resolved by the DispatcherServlet via a ViewResolver.Constructor parameters in org.springframework.web.method.support with annotations of type NullableModifierConstructorDescriptionCompositeUriComponentsContributor(Collection<?> contributors, ConversionService cs) Create an instance from a collection ofUriComponentsContributorsorHandlerMethodArgumentResolvers.CompositeUriComponentsContributor(Collection<?> contributors, ConversionService cs) Create an instance from a collection ofUriComponentsContributorsorHandlerMethodArgumentResolvers.protectedInvocableHandlerMethod(Object bean, Method method, MessageSource messageSource) Variant ofInvocableHandlerMethod(Object, Method)that also accepts aMessageSource, for use in subclasses. -
Uses of Nullable in org.springframework.web.multipart
Methods in org.springframework.web.multipart with annotations of type NullableModifier and TypeMethodDescriptionMultipartFile.getContentType()Return the content type of the file.Return the contents plus description of an uploaded file in this request, ornullif it does not exist.MultipartRequest.getMultipartContentType(String paramOrFileName) Determine the content type of the specified request part.MultipartHttpServletRequest.getMultipartHeaders(String paramOrFileName) Return the headers for the specified part of the multipart request.MultipartFile.getOriginalFilename()Return the original filename in the client's filesystem.Constructor parameters in org.springframework.web.multipart with annotations of type NullableModifierConstructorDescriptionMaxUploadSizeExceededException(long maxUploadSize, Throwable ex) Constructor for MaxUploadSizeExceededException.MultipartException(String msg, Throwable cause) Constructor for MultipartException. -
Uses of Nullable in org.springframework.web.multipart.support
Methods in org.springframework.web.multipart.support with annotations of type NullableModifier and TypeMethodDescriptionDefaultMultipartHttpServletRequest.getParameter(String name) static ObjectMultipartResolutionDelegate.resolveMultipartArgument(String name, MethodParameter parameter, HttpServletRequest request) static MultipartRequestMultipartResolutionDelegate.resolveMultipartRequest(NativeWebRequest webRequest) Method parameters in org.springframework.web.multipart.support with annotations of type Nullable -
Uses of Nullable in org.springframework.web.reactive
Methods in org.springframework.web.reactive with annotations of type NullableModifier and TypeMethodDescriptionHandlerResult.getExceptionHandler()Return theconfiguredexception handler.final List<HandlerMapping>DispatcherHandler.getHandlerMappings()HandlerResult.getReturnValue()Return the value returned from the handler, if any.Method parameters in org.springframework.web.reactive with annotations of type NullableModifier and TypeMethodDescriptionBindingContext.createDataBinder(ServerWebExchange exchange, Object target, String name) Create aWebExchangeDataBinderto apply data binding and validation with on the target, command object.Constructor parameters in org.springframework.web.reactive with annotations of type NullableModifierConstructorDescriptionBindingContext(WebBindingInitializer initializer) Create a newBindingContextwith the given initializer.HandlerResult(Object handler, Object returnValue, MethodParameter returnType) Create a newHandlerResult.HandlerResult(Object handler, Object returnValue, MethodParameter returnType, BindingContext context) Create a newHandlerResult.HandlerResult(Object handler, Object returnValue, MethodParameter returnType, BindingContext context) Create a newHandlerResult. -
Uses of Nullable in org.springframework.web.reactive.config
Methods in org.springframework.web.reactive.config with annotations of type NullableModifier and TypeMethodDescriptionfinal ApplicationContextWebFluxConfigurationSupport.getApplicationContext()protected AbstractUrlHandlerMappingResourceHandlerRegistry.getHandlerMapping()Return a handler mapping with the mapped resource handlers; ornullin case of no registrations.protected MessageCodesResolverWebFluxConfigurationSupport.getMessageCodesResolver()Override this method to provide a customMessageCodesResolver.default MessageCodesResolverWebFluxConfigurer.getMessageCodesResolver()Provide a customMessageCodesResolverto use for data binding in annotated controller method arguments instead of the one created by default inDataBinder.PathMatchConfigurer.getPathPrefixes()protected ValidatorWebFluxConfigurationSupport.getValidator()Override this method to provide a customValidator.default ValidatorWebFluxConfigurer.getValidator()Provide a customValidator.protected WebSocketServiceWebFluxConfigurationSupport.getWebSocketService()default WebSocketServiceWebFluxConfigurer.getWebSocketService()Provide theWebSocketServiceto createWebSocketHandlerAdapterwith.WebFluxConfigurerComposite.getWebSocketService()protected BooleanPathMatchConfigurer.isUseCaseSensitiveMatch()protected BooleanPathMatchConfigurer.isUseTrailingSlashMatch()Deprecated.Method parameters in org.springframework.web.reactive.config with annotations of type NullableModifier and TypeMethodDescriptionvoidWebFluxConfigurationSupport.setApplicationContext(ApplicationContext applicationContext) voidResourceHandlerRegistry.setResourceUrlProvider(ResourceUrlProvider resourceUrlProvider) Configure theResourceUrlProviderthat can be used byResourceTransformerinstances.Constructor parameters in org.springframework.web.reactive.config with annotations of type NullableModifierConstructorDescriptionResourceChainRegistration(boolean cacheResources, Cache cache) ViewResolverRegistry(ApplicationContext applicationContext) -
Uses of Nullable in org.springframework.web.reactive.function
Methods in org.springframework.web.reactive.function with annotations of type NullableModifier and TypeMethodDescriptionUnsupportedMediaTypeException.getBodyType()Return the body type in the context of which this exception was generated.UnsupportedMediaTypeException.getContentType()Return the request Content-Type header if it was parsed successfully, ornullotherwise.Constructor parameters in org.springframework.web.reactive.function with annotations of type NullableModifierConstructorDescriptionUnsupportedMediaTypeException(MediaType contentType, List<MediaType> supportedTypes) Constructor for when the Content-Type can be parsed but is not supported.UnsupportedMediaTypeException(MediaType contentType, List<MediaType> supportedTypes, ResolvableType bodyType) Constructor for when trying to encode from or decode to a specific Java type.UnsupportedMediaTypeException(MediaType contentType, List<MediaType> supportedTypes, ResolvableType bodyType) Constructor for when trying to encode from or decode to a specific Java type. -
Uses of Nullable in org.springframework.web.reactive.function.client
Methods in org.springframework.web.reactive.function.client with annotations of type NullableModifier and TypeMethodDescriptionClientRequestObservationContext.getRequest()Return the immutable client request.WebClientResponseException.getRequest()Return the corresponding request.<E> EWebClientResponseException.getResponseBodyAs(Class<E> targetType) Decode the error content to the specified type.<E> EWebClientResponseException.getResponseBodyAs(ParameterizedTypeReference<E> targetType) ClientRequestObservationContext.getUriTemplate()Return the URI template used for the current client exchange,nullif none was used.ClientRequest.httpRequest()Return consumer(s) configured to access to theClientHttpRequest.Method parameters in org.springframework.web.reactive.function.client with annotations of type NullableModifier and TypeMethodDescriptionstatic WebClientResponseExceptionWebClientResponseException.create(int statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) CreateWebClientResponseExceptionor an HTTP status specific subclass.static WebClientResponseExceptionWebClientResponseException.create(int statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset, HttpRequest request) CreateWebClientResponseExceptionor an HTTP status specific subclass.static WebClientResponseExceptionWebClientResponseException.create(int statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset, HttpRequest request) CreateWebClientResponseExceptionor an HTTP status specific subclass.static WebClientResponseExceptionWebClientResponseException.create(HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset, HttpRequest request) CreateWebClientResponseExceptionor an HTTP status specific subclass.static WebClientResponseExceptionWebClientResponseException.create(HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset, HttpRequest request) CreateWebClientResponseExceptionor an HTTP status specific subclass.booleanDeprecated.voidClientRequestObservationContext.setUriTemplate(String uriTemplate) Set the URI template used for the current client exchange.Constructor parameters in org.springframework.web.reactive.function.client with annotations of type NullableModifierConstructorDescriptionUnknownHttpStatusCodeException(int statusCode, HttpHeaders headers, byte[] responseBody, Charset responseCharset, HttpRequest request) Create a new instance of theUnknownHttpStatusCodeExceptionwith the given parameters.UnknownHttpStatusCodeException(int statusCode, HttpHeaders headers, byte[] responseBody, Charset responseCharset, HttpRequest request) Create a new instance of theUnknownHttpStatusCodeExceptionwith the given parameters.UnknownHttpStatusCodeException(HttpStatusCode statusCode, HttpHeaders headers, byte[] responseBody, Charset responseCharset, HttpRequest request) Create a new instance of theUnknownHttpStatusCodeExceptionwith the given parameters.UnknownHttpStatusCodeException(HttpStatusCode statusCode, HttpHeaders headers, byte[] responseBody, Charset responseCharset, HttpRequest request) Create a new instance of theUnknownHttpStatusCodeExceptionwith the given parameters.WebClientResponseException(int statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) Constructor with response data only, and a default message.WebClientResponseException(int statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) Constructor with response data only, and a default message.WebClientResponseException(int statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) Constructor with response data only, and a default message.WebClientResponseException(int status, String reasonPhrase, HttpHeaders headers, byte[] body, Charset charset, HttpRequest request) Constructor with response data only, and a default message.WebClientResponseException(int status, String reasonPhrase, HttpHeaders headers, byte[] body, Charset charset, HttpRequest request) Constructor with response data only, and a default message.WebClientResponseException(int status, String reasonPhrase, HttpHeaders headers, byte[] body, Charset charset, HttpRequest request) Constructor with response data only, and a default message.WebClientResponseException(int status, String reasonPhrase, HttpHeaders headers, byte[] body, Charset charset, HttpRequest request) Constructor with response data only, and a default message.WebClientResponseException(String message, int statusCode, String statusText, HttpHeaders headers, byte[] responseBody, Charset charset) Constructor with a prepared message.WebClientResponseException(String message, int statusCode, String statusText, HttpHeaders headers, byte[] responseBody, Charset charset) Constructor with a prepared message.WebClientResponseException(String message, int statusCode, String statusText, HttpHeaders headers, byte[] responseBody, Charset charset) Constructor with a prepared message.WebClientResponseException(String message, int statusCode, String statusText, HttpHeaders headers, byte[] responseBody, Charset charset, HttpRequest request) Constructor with a prepared message.WebClientResponseException(String message, int statusCode, String statusText, HttpHeaders headers, byte[] responseBody, Charset charset, HttpRequest request) Constructor with a prepared message.WebClientResponseException(String message, int statusCode, String statusText, HttpHeaders headers, byte[] responseBody, Charset charset, HttpRequest request) Constructor with a prepared message.WebClientResponseException(String message, int statusCode, String statusText, HttpHeaders headers, byte[] responseBody, Charset charset, HttpRequest request) Constructor with a prepared message.WebClientResponseException(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] responseBody, Charset charset, HttpRequest request) Constructor with a prepared message.WebClientResponseException(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] responseBody, Charset charset, HttpRequest request) Constructor with a prepared message.WebClientResponseException(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] responseBody, Charset charset, HttpRequest request) Constructor with a prepared message.WebClientResponseException(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] responseBody, Charset charset, HttpRequest request) Constructor with a prepared message.WebClientResponseException(HttpStatusCode statusCode, String reasonPhrase, HttpHeaders headers, byte[] body, Charset charset, HttpRequest request) Constructor with response data only, and a default message.WebClientResponseException(HttpStatusCode statusCode, String reasonPhrase, HttpHeaders headers, byte[] body, Charset charset, HttpRequest request) Constructor with response data only, and a default message.WebClientResponseException(HttpStatusCode statusCode, String reasonPhrase, HttpHeaders headers, byte[] body, Charset charset, HttpRequest request) Constructor with response data only, and a default message.WebClientResponseException(HttpStatusCode statusCode, String reasonPhrase, HttpHeaders headers, byte[] body, Charset charset, HttpRequest request) Constructor with response data only, and a default message. -
Uses of Nullable in org.springframework.web.reactive.function.server
Methods in org.springframework.web.reactive.function.server with annotations of type NullableModifier and TypeMethodDescriptiondefault StringServerRequest.Headers.firstHeader(String headerName) Get the first header value, if any, for the header with the given name.ServerRequest.Headers.host()Get the value of theHostheader, if available.Method parameters in org.springframework.web.reactive.function.server with annotations of type NullableModifier and TypeMethodDescriptionServerRequest.Builder.contextPath(String contextPath) Set the context path of the request.RenderingResponse.Builder.modelAttribute(String name, Object value) Add the supplied attribute value under the supplied name. -
Uses of Nullable in org.springframework.web.reactive.function.server.support
Methods in org.springframework.web.reactive.function.server.support with annotations of type NullableModifier and TypeMethodDescriptionRouterFunctionMapping.getRouterFunction()Return the configuredRouterFunction. -
Uses of Nullable in org.springframework.web.reactive.handler
Methods in org.springframework.web.reactive.handler with annotations of type NullableModifier and TypeMethodDescriptionprotected CorsConfigurationAbstractHandlerMapping.getCorsConfiguration(Object handler, ServerWebExchange exchange) Retrieve the CORS configuration for the given handler.protected ObjectAbstractUrlHandlerMapping.lookupHandler(PathContainer lookupPath, ServerWebExchange exchange) Look up a handler instance for the given URL lookup path. -
Uses of Nullable in org.springframework.web.reactive.resource
Methods in org.springframework.web.reactive.resource with annotations of type NullableModifier and TypeMethodDescriptionVersionStrategy.extractVersion(String requestPath) Extract the resource version from the request path.protected StringWebJarsResourceResolver.findWebJarResourcePath(String path) Resource[]PathResourceResolver.getAllowedLocations()ResourceWebHandler.getCacheControl()Return theCacheControlinstance to build the Cache-Control HTTP response header.TransformedResource.getFilename()ResourceWebHandler.getResourceHttpMessageWriter()Return the configured resource message writer.ResourceTransformerSupport.getResourceUrlProvider()Return the configuredResourceUrlProvider.protected VersionStrategyVersionResourceResolver.getStrategyForPath(String requestPath) Find aVersionStrategyfor the request path of the requested resource.Method parameters in org.springframework.web.reactive.resource with annotations of type NullableModifier and TypeMethodDescriptionprotected StringCachingResourceResolver.computeKey(ServerWebExchange exchange, String requestPath) reactor.core.publisher.Mono<Resource>AbstractResourceResolver.resolveResource(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) reactor.core.publisher.Mono<Resource>ResourceResolver.resolveResource(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) Resolve the supplied request and request path to aResourcethat exists under one of the given resource locations.reactor.core.publisher.Mono<Resource>ResourceResolverChain.resolveResource(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations) Resolve the supplied request and request path to aResourcethat exists under one of the given resource locations.protected abstract reactor.core.publisher.Mono<Resource>AbstractResourceResolver.resolveResourceInternal(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<Resource>CachingResourceResolver.resolveResourceInternal(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<Resource>EncodedResourceResolver.resolveResourceInternal(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<Resource>PathResourceResolver.resolveResourceInternal(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<Resource>VersionResourceResolver.resolveResourceInternal(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) protected reactor.core.publisher.Mono<Resource>WebJarsResourceResolver.resolveResourceInternal(ServerWebExchange exchange, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) voidPathResourceResolver.setAllowedLocations(Resource... locations) By default, when a Resource is found, the path of the resolved resource is compared to ensure it's under the input location where it was found.voidResourceWebHandler.setCacheControl(CacheControl cacheControl) Set theCacheControlinstance to build the Cache-Control HTTP response header.protected voidResourceWebHandler.setHeaders(ServerWebExchange exchange, Resource resource, MediaType mediaType) Set headers on the response.voidResourceWebHandler.setLocations(List<Resource> locations) Set theListofResourcepaths to use as sources for serving static resources.voidResourceWebHandler.setResourceHttpMessageWriter(ResourceHttpMessageWriter httpMessageWriter) Configure theResourceHttpMessageWriterto use.voidResourceWebHandler.setResourceResolvers(List<ResourceResolver> resourceResolvers) Configure the list ofResourceResolversto use.voidResourceWebHandler.setResourceTransformers(List<ResourceTransformer> resourceTransformers) Configure the list ofResourceTransformersto use.voidResourceTransformerSupport.setResourceUrlProvider(ResourceUrlProvider resourceUrlProvider) Configure aResourceUrlProviderto use when resolving the public URL of links in a transformed resource (e.g. -
Uses of Nullable in org.springframework.web.reactive.result
Methods in org.springframework.web.reactive.result with annotations of type NullableModifier and TypeMethodDescriptionprotected ReactiveAdapterHandlerResultHandlerSupport.getAdapter(HandlerResult result) Get aReactiveAdapterfor the top-level return value type.protected MediaTypeHandlerResultHandlerSupport.selectMediaType(ServerWebExchange exchange, Supplier<List<MediaType>> producibleTypesSupplier) Select the best media type for the current request through a content negotiation algorithm.protected MediaTypeHandlerResultHandlerSupport.selectMediaType(ServerWebExchange exchange, Supplier<List<MediaType>> producibleTypesSupplier, List<MediaType> acceptableTypes) Variant ofHandlerResultHandlerSupport.selectMediaType(ServerWebExchange, Supplier)with a given list of requested (acceptable) media types. -
Uses of Nullable in org.springframework.web.reactive.result.condition
Methods in org.springframework.web.reactive.result.condition with annotations of type NullableModifier and TypeMethodDescriptionRequestConditionHolder.getCondition()Return the held request condition, ornullif not holding one.CompositeRequestCondition.getMatchingCondition(ServerWebExchange exchange) Delegate to all contained conditions to match the request and return the resulting "matching" condition instances.ConsumesRequestCondition.getMatchingCondition(ServerWebExchange exchange) Checks if any of the contained media type expressions match the given request 'Content-Type' header and returns an instance that is guaranteed to contain matching expressions only.HeadersRequestCondition.getMatchingCondition(ServerWebExchange exchange) Returns "this" instance if the request matches all expressions; ornullotherwise.ParamsRequestCondition.getMatchingCondition(ServerWebExchange exchange) Returns "this" instance if the request matches all param expressions; ornullotherwise.PatternsRequestCondition.getMatchingCondition(ServerWebExchange exchange) Checks if any of the patterns match the given request and returns an instance that is guaranteed to contain matching patterns, sorted.ProducesRequestCondition.getMatchingCondition(ServerWebExchange exchange) Checks if any of the contained media type expressions match the given request 'Content-Type' header and returns an instance that is guaranteed to contain matching expressions only.RequestCondition.getMatchingCondition(ServerWebExchange exchange) Check if the condition matches the request returning a potentially new instance created for the current request.RequestConditionHolder.getMatchingCondition(ServerWebExchange exchange) Get the matching condition for the held request condition wrap it in a new RequestConditionHolder instance.RequestMethodsRequestCondition.getMatchingCondition(ServerWebExchange exchange) Check if any of the HTTP request methods match the given request and return an instance that contains the matching HTTP request method only.NameValueExpression.getValue()Method parameters in org.springframework.web.reactive.result.condition with annotations of type NullableConstructor parameters in org.springframework.web.reactive.result.condition with annotations of type NullableModifierConstructorDescriptionRequestConditionHolder(RequestCondition<?> requestCondition) Create a new holder to wrap the given request condition. -
Uses of Nullable in org.springframework.web.reactive.result.method
Methods in org.springframework.web.reactive.result.method with annotations of type NullableModifier and TypeMethodDescriptionRequestMappingInfo.BuilderConfiguration.getContentTypeResolver()RequestMappingInfo.getCustomCondition()Returns the "custom" condition of thisRequestMappingInfo; ornull.protected abstract TAbstractHandlerMethodMapping.getMappingForMethod(Method method, Class<?> handlerType) Provide the mapping for a handler method.RequestMappingInfo.getMatchingCondition(ServerWebExchange exchange) Checks if all conditions in this request mapping info match the provided request and returns a potentially new request mapping info with conditions tailored to the current request.protected abstract TAbstractHandlerMethodMapping.getMatchingMapping(T mapping, ServerWebExchange exchange) Check if a mapping matches the current request and return a (potentially new) mapping with conditions relevant to the current request.RequestMappingInfo.getName()Return the name for this mapping, ornull.RequestMappingInfo.BuilderConfiguration.getPatternParser()protected HandlerMethodAbstractHandlerMethodMapping.handleNoMatch(Set<T> mappings, ServerWebExchange exchange) Invoked when no matching mapping is not found.protected CorsConfigurationAbstractHandlerMethodMapping.initCorsConfiguration(Object handler, Method method, T mapping) Extract and return the CORS configuration for the mapping.SyncInvocableHandlerMethod.invokeForHandlerResult(ServerWebExchange exchange, BindingContext bindingContext, Object... providedArgs) Invoke the method for the given exchange.protected HandlerMethodAbstractHandlerMethodMapping.lookupHandlerMethod(ServerWebExchange exchange) Look up the best-matching handler method for the current request.SyncHandlerMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) Resolve the value for the method parameter synchronously.Method parameters in org.springframework.web.reactive.result.method with annotations of type NullableConstructor parameters in org.springframework.web.reactive.result.method with annotations of type NullableModifierConstructorDescriptionRequestMappingInfo(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3.4 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3.4 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3.4 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3.4 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3.4 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3.4 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3.4 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3.4 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3.4 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3.4 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3.4 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3.4 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3.4 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3.4 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3.4 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(RequestMappingInfo info, RequestCondition<?> customRequestCondition) Deprecated.since 5.3.4 in favor of using aRequestMappingInfo.BuilderviaRequestMappingInfo.mutate(). -
Uses of Nullable in org.springframework.web.reactive.result.method.annotation
Methods in org.springframework.web.reactive.result.method.annotation with annotations of type NullableModifier and TypeMethodDescriptionRequestMappingHandlerAdapter.getArgumentResolverConfigurer()Return the configured resolvers for controller method arguments.protected RequestCondition<?>RequestMappingHandlerMapping.getCustomMethodCondition(Method method) Provide a custom method-level request condition.protected RequestCondition<?>RequestMappingHandlerMapping.getCustomTypeCondition(Class<?> handlerType) Provide a custom type-level request condition.protected RequestMappingInfoRequestMappingHandlerMapping.getMappingForMethod(Method method, Class<?> handlerType) Uses method and type-level @RequestMappingannotations to create the RequestMappingInfo.protected MessageSourceResponseEntityExceptionHandler.getMessageSource()Get theMessageSourcethat this exception handler uses.RequestMappingHandlerAdapter.getReactiveAdapterRegistry()Return the configured registry for adapting reactive types.RequestMappingHandlerAdapter.getWebBindingInitializer()Return the configured WebBindingInitializer, ornullif none.MatrixVariableMapMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) SessionStatusMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) protected abstract ObjectAbstractNamedValueSyncArgumentResolver.resolveNamedValue(String name, MethodParameter param, ServerWebExchange exchange) Actually resolve the value synchronously.protected ObjectMatrixVariableMethodArgumentResolver.resolveNamedValue(String name, MethodParameter param, ServerWebExchange exchange) Method parameters in org.springframework.web.reactive.result.method.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected ProblemDetailResponseEntityExceptionHandler.createProblemDetail(Exception ex, HttpStatusCode status, String defaultDetail, String detailMessageCode, Object[] detailMessageArguments, ServerWebExchange exchange) Convenience method to create aProblemDetailfor any exception that doesn't implementErrorResponse, also performing aMessageSourcelookup for the "detail" field.protected ProblemDetailResponseEntityExceptionHandler.createProblemDetail(Exception ex, HttpStatusCode status, String defaultDetail, String detailMessageCode, Object[] detailMessageArguments, ServerWebExchange exchange) Convenience method to create aProblemDetailfor any exception that doesn't implementErrorResponse, also performing aMessageSourcelookup for the "detail" field.protected RequestMappingInfoRequestMappingHandlerMapping.createRequestMappingInfo(RequestMapping requestMapping, RequestCondition<?> customCondition) Create aRequestMappingInfofrom the supplied@RequestMappingannotation, which is either a directly declared annotation, a meta-annotation, or the synthesized result of merging annotation attributes within an annotation hierarchy.protected reactor.core.publisher.Mono<ResponseEntity<Object>>ResponseEntityExceptionHandler.createResponseEntity(Object body, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) Create theResponseEntityto use from the given body, headers, and statusCode.protected reactor.core.publisher.Mono<ResponseEntity<Object>>ResponseEntityExceptionHandler.createResponseEntity(Object body, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) Create theResponseEntityto use from the given body, headers, and statusCode.reactor.core.publisher.Flux<Part>RequestPartMethodArgumentResolver.getPartValues(MethodParameter parameter, RequestPart requestPart, boolean isRequired, ServerWebExchange exchange) protected reactor.core.publisher.Mono<ResponseEntity<Object>>ResponseEntityExceptionHandler.handleExceptionInternal(Exception ex, Object body, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) Internal handler method that all others in this class delegate to, for common handling, and for the creation of aResponseEntity.protected reactor.core.publisher.Mono<ResponseEntity<Object>>ResponseEntityExceptionHandler.handleExceptionInternal(Exception ex, Object body, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) Internal handler method that all others in this class delegate to, for common handling, and for the creation of aResponseEntity.protected voidAbstractNamedValueArgumentResolver.handleResolvedValue(Object arg, String name, MethodParameter parameter, Model model, ServerWebExchange exchange) Invoked after a value is resolved.protected voidPathVariableMethodArgumentResolver.handleResolvedValue(Object arg, String name, MethodParameter parameter, Model model, ServerWebExchange exchange) protected reactor.core.publisher.Mono<Object>AbstractMessageReaderArgumentResolver.readBody(MethodParameter bodyParam, MethodParameter actualParam, boolean isBodyRequired, BindingContext bindingContext, ServerWebExchange exchange) Read the body from a method argument withHttpMessageReader.voidRequestMappingHandlerAdapter.setArgumentResolverConfigurer(ArgumentResolverConfigurer configurer) Configure resolvers for controller method arguments.voidRequestMappingHandlerAdapter.setReactiveAdapterRegistry(ReactiveAdapterRegistry registry) Configure the registry for adapting various reactive types.voidRequestMappingHandlerAdapter.setWebBindingInitializer(WebBindingInitializer webBindingInitializer) Provide a WebBindingInitializer with "global" initialization to apply to every DataBinder instance.protected reactor.core.publisher.Mono<Void>AbstractMessageWriterResultHandler.writeBody(Object body, MethodParameter bodyParameter, MethodParameter actualParam, ServerWebExchange exchange) Write a given body to the response withHttpMessageWriter.protected reactor.core.publisher.Mono<Void>AbstractMessageWriterResultHandler.writeBody(Object body, MethodParameter bodyParameter, MethodParameter actualParam, ServerWebExchange exchange) Write a given body to the response withHttpMessageWriter.protected reactor.core.publisher.Mono<Void>AbstractMessageWriterResultHandler.writeBody(Object body, MethodParameter bodyParameter, ServerWebExchange exchange) Write a given body to the response withHttpMessageWriter.Constructor parameters in org.springframework.web.reactive.result.method.annotation with annotations of type NullableModifierConstructorDescriptionAbstractNamedValueArgumentResolver(ConfigurableBeanFactory factory, ReactiveAdapterRegistry registry) Create a newAbstractNamedValueArgumentResolverinstance.protectedAbstractNamedValueSyncArgumentResolver(ConfigurableBeanFactory factory, ReactiveAdapterRegistry registry) Create a newAbstractNamedValueSyncArgumentResolver.CookieValueMethodArgumentResolver(ConfigurableBeanFactory factory, ReactiveAdapterRegistry registry) Create a newCookieValueMethodArgumentResolverinstance.ExpressionValueMethodArgumentResolver(ConfigurableBeanFactory factory, ReactiveAdapterRegistry registry) Create a newExpressionValueMethodArgumentResolverinstance.MatrixVariableMethodArgumentResolver(ConfigurableBeanFactory factory, ReactiveAdapterRegistry registry) NamedValueInfo(String name, boolean required, String defaultValue) PathVariableMethodArgumentResolver(ConfigurableBeanFactory factory, ReactiveAdapterRegistry registry) Create a newPathVariableMethodArgumentResolver.RequestAttributeMethodArgumentResolver(ConfigurableBeanFactory factory, ReactiveAdapterRegistry registry) Create a newRequestAttributeMethodArgumentResolverinstance.RequestHeaderMethodArgumentResolver(ConfigurableBeanFactory factory, ReactiveAdapterRegistry registry) Create a newRequestHeaderMethodArgumentResolverinstance.RequestParamMethodArgumentResolver(ConfigurableBeanFactory factory, ReactiveAdapterRegistry registry, boolean useDefaultResolution) Class constructor with a default resolution mode flag. -
Uses of Nullable in org.springframework.web.reactive.result.view
Methods in org.springframework.web.reactive.result.view with annotations of type NullableModifier and TypeMethodDescriptionBindStatus.findEditor(Class<?> valueClass) Find a PropertyEditor for the given value class, associated with the property that this bound status is currently bound to.BindStatus.getActualValue()Return the actual value of the field, i.e.AbstractView.getApplicationContext()UrlBasedViewResolver.getApplicationContext()Return the containingApplicationContext, if any.AbstractView.getBeanName()Get the view's name.RequestContext.getDefaultHtmlEscape()Return the default HTML escape setting, differentiating between no default specified and an explicit value.BindStatus.getEditor()Return the PropertyEditor for the property that this bind status is currently bound to.BindStatus.getErrors()Return the Errors instance (typically a BindingResult) that this bind status is currently associated with.Retrieve the Errors instance for the given bind object, using the "defaultHtmlEscape" setting.Retrieve the Errors instance for the given bind object.BindStatus.getExpression()Return a bind expression that can be used in HTML forms as input name for the respective field, ornullif not field-specific.RequestDataValueProcessor.getExtraHiddenFields(ServerWebExchange exchange) Invoked after all form fields have been rendered.String[]RedirectView.getHosts()Return the configured application hosts.RequestContext.getModel()Return the model Map that this RequestContext encapsulates, if any.protected <T> TRequestContext.getModelObject(String modelName) Retrieve the model object for the given model name, either from the model or from the request attributes.AbstractView.getRequestContextAttribute()Get the name of theRequestContextattribute for this view, if any.protected StringUrlBasedViewResolver.getRequestContextAttribute()Return the name of theRequestContextattribute for all views, if any.protected RequestDataValueProcessorAbstractView.getRequestDataValueProcessor()Get theRequestDataValueProcessorto use.RequestContext.getRequestDataValueProcessor()Return theRequestDataValueProcessorinstance to apply to in form tag libraries and to redirect URLs.AbstractUrlBasedView.getUrl()Return the URL of the resource that this view wraps.BindStatus.getValue()Return the current value of the field, i.e.Class<?>BindStatus.getValueType()Get the 'Class' type of the field.protected Class<?>UrlBasedViewResolver.getViewClass()Return the view class to be used to create views.protected String[]UrlBasedViewResolver.getViewNames()Return the view names (or name patterns) that can be handled by thisViewResolver.Rendering.status()Return the HTTP status to set the response to.Rendering.view()Method parameters in org.springframework.web.reactive.result.view with annotations of type NullableModifier and TypeMethodDescriptionRequestContext.getMessage(String code, Object[] args) Retrieve the message for the given code, using the "defaultHtmlEscape" setting.RequestContext.getMessage(String code, Object[] args, boolean htmlEscape) Retrieve the message for the given code.RequestContext.getMessage(String code, Object[] args, String defaultMessage) Retrieve the message for the given code, using the "defaultHtmlEscape" setting.RequestContext.getMessage(String code, Object[] args, String defaultMessage, boolean htmlEscape) Retrieve the message for the given code.RequestContext.getMessage(String code, List<?> args) Retrieve the message for the given code, using the "defaultHtmlEscape" setting.RequestContext.getMessage(String code, List<?> args, String defaultMessage) Retrieve the message for the given code, using the "defaultHtmlEscape" setting.AbstractView.getModelAttributes(Map<String, ?> model, ServerWebExchange exchange) Prepare the model to use for rendering.reactor.core.publisher.Mono<Void>AbstractView.render(Map<String, ?> model, MediaType contentType, ServerWebExchange exchange) Prepare the model to render.reactor.core.publisher.Mono<Void>AbstractView.render(Map<String, ?> model, MediaType contentType, ServerWebExchange exchange) Prepare the model to render.reactor.core.publisher.Mono<Void>HttpMessageWriterView.render(Map<String, ?> model, MediaType contentType, ServerWebExchange exchange) reactor.core.publisher.Mono<Void>HttpMessageWriterView.render(Map<String, ?> model, MediaType contentType, ServerWebExchange exchange) reactor.core.publisher.Mono<Void>View.render(Map<String, ?> model, MediaType contentType, ServerWebExchange exchange) Render the view based on the givenHandlerResult.reactor.core.publisher.Mono<Void>View.render(Map<String, ?> model, MediaType contentType, ServerWebExchange exchange) Render the view based on the givenHandlerResult.protected abstract reactor.core.publisher.Mono<Void>AbstractView.renderInternal(Map<String, Object> renderAttributes, MediaType contentType, ServerWebExchange exchange) Subclasses must implement this method to actually render the view.protected reactor.core.publisher.Mono<Void>RedirectView.renderInternal(Map<String, Object> model, MediaType contentType, ServerWebExchange exchange) Convert model to request parameters and redirect to the given URL.voidAbstractView.setApplicationContext(ApplicationContext applicationContext) voidUrlBasedViewResolver.setApplicationContext(ApplicationContext applicationContext) Accept the containingApplicationContext, if any.voidAbstractView.setBeanName(String beanName) Set the view's name.voidViewResolutionResultHandler.setDefaultViews(List<View> defaultViews) Set the default views to consider always when resolving view names and trying to satisfy the best matching content type.voidConfigure one or more hosts associated with the application.voidHttpMessageWriterView.setModelKeys(Set<String> modelKeys) Set the attributes in the model that should be rendered by this view.voidSet the prefix that gets prepended to view names when building a URL.voidAbstractView.setRequestContextAttribute(String requestContextAttribute) Set the name of theRequestContextattribute for this view.voidUrlBasedViewResolver.setRequestContextAttribute(String requestContextAttribute) Set the name of theRequestContextattribute for all views.voidSet the suffix that gets appended to view names when building a URL.voidSet the URL of the resource that this view wraps.voidUrlBasedViewResolver.setViewClass(Class<?> viewClass) Set the view class that should be used to create views.voidUrlBasedViewResolver.setViewNames(String... viewNames) Set the view names (or name patterns) that can be handled by thisViewResolver.Constructor parameters in org.springframework.web.reactive.result.view with annotations of type NullableModifierConstructorDescriptionRequestContext(ServerWebExchange exchange, Map<String, Object> model, MessageSource messageSource, RequestDataValueProcessor dataValueProcessor) -
Uses of Nullable in org.springframework.web.reactive.result.view.freemarker
Methods in org.springframework.web.reactive.result.view.freemarker with annotations of type NullableModifier and TypeMethodDescriptionprotected freemarker.template.ConfigurationFreeMarkerView.getConfiguration()Get the FreeMarkerConfigurationused by this view.protected StringFreeMarkerView.getEncoding()Get the encoding for the FreeMarker template.Method parameters in org.springframework.web.reactive.result.view.freemarker with annotations of type NullableModifier and TypeMethodDescriptionFreeMarkerView.getModelAttributes(Map<String, ?> model, ServerWebExchange exchange) Prepare the model to use for rendering by potentially exposing aRequestContextfor use in Spring FreeMarker macros and then delegating to the inherited implementation of this method.protected reactor.core.publisher.Mono<Void>FreeMarkerView.renderInternal(Map<String, Object> renderAttributes, MediaType contentType, ServerWebExchange exchange) voidFreeMarkerView.setConfiguration(freemarker.template.Configuration configuration) Set the FreeMarkerConfigurationto be used by this view.voidFreeMarkerView.setEncoding(String encoding) Set the encoding of the FreeMarker template file. -
Uses of Nullable in org.springframework.web.reactive.result.view.script
Methods in org.springframework.web.reactive.result.view.script with annotations of type NullableModifier and TypeMethodDescriptionScriptTemplateConfig.getCharset()Return the charset used to read script and template files.ScriptTemplateConfigurer.getCharset()ScriptTemplateConfig.getEngine()Return theScriptEngineto use by the views.ScriptTemplateConfigurer.getEngine()ScriptTemplateConfig.getEngineName()Return the engine name that will be used to instantiate theScriptEngine.ScriptTemplateConfigurer.getEngineName()ScriptTemplateConfig.getEngineSupplier()Return the engine supplier that will be used to instantiate theScriptEngine.ScriptTemplateConfigurer.getEngineSupplier()ScriptTemplateConfig.getRenderFunction()Return the render function name (optional).ScriptTemplateConfigurer.getRenderFunction()ScriptTemplateConfig.getRenderObject()Return the object where the render function belongs (optional).ScriptTemplateConfigurer.getRenderObject()protected ResourceScriptTemplateView.getResource(String location) ScriptTemplateConfig.getResourceLoaderPath()Return the resource loader path(s) via a Spring resource location.ScriptTemplateConfigurer.getResourceLoaderPath()String[]ScriptTemplateConfig.getScripts()Return the scripts to be loaded by the script engine (library or user provided).String[]ScriptTemplateConfigurer.getScripts()ScriptTemplateConfig.isSharedEngine()Return whether to use a shared engine for all threads or whether to create thread-local engine instances for each thread.ScriptTemplateConfigurer.isSharedEngine()Method parameters in org.springframework.web.reactive.result.view.script with annotations of type NullableModifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<Void>ScriptTemplateView.renderInternal(Map<String, Object> model, MediaType contentType, ServerWebExchange exchange) voidScriptTemplateView.setApplicationContext(ApplicationContext context) voidScriptTemplateConfigurer.setCharset(Charset charset) Set the charset used to read script and template files.voidScriptTemplateConfigurer.setEngine(ScriptEngine engine) Set theScriptEngineto use by the view.voidScriptTemplateConfigurer.setEngineName(String engineName) Set the engine name that will be used to instantiate theScriptEngine.voidScriptTemplateConfigurer.setEngineSupplier(Supplier<ScriptEngine> engineSupplier) Set theScriptEnginesupplier to use by the view, usually used withScriptTemplateConfigurer.setSharedEngine(Boolean)set tofalse.voidScriptTemplateConfigurer.setRenderFunction(String renderFunction) Set the render function name (optional).voidScriptTemplateConfigurer.setRenderObject(String renderObject) Set the object where the render function belongs (optional).voidScriptTemplateConfigurer.setResourceLoaderPath(String resourceLoaderPath) Set the resource loader path(s) via a Spring resource location.voidScriptTemplateConfigurer.setScripts(String... scriptNames) Set the scripts to be loaded by the script engine (library or user provided).voidScriptTemplateConfigurer.setSharedEngine(Boolean sharedEngine) When set tofalse, a newScriptEngineinstance will be created for each request, else the same instance will be reused. -
Uses of Nullable in org.springframework.web.reactive.socket
Methods in org.springframework.web.reactive.socket with annotations of type NullableModifier and TypeMethodDescriptionHandshakeInfo.getLogPrefix()A log prefix used in the handshake to correlate log messages, if any.<T> TWebSocketMessage.getNativeMessage()Return the message from the API of the underlying WebSocket library.CloseStatus.getReason()Return the reason, ornullif none.HandshakeInfo.getRemoteAddress()For a server session this is the remote address where the handshake request came from.HandshakeInfo.getSubProtocol()The sub-protocol negotiated at handshake time, ornullif none.Method parameters in org.springframework.web.reactive.socket with annotations of type NullableModifier and TypeMethodDescriptionstatic CloseStatusReturn a constant for the given code, or create a new instance if the code does not match or there is a reason.booleanbooleanConstructor parameters in org.springframework.web.reactive.socket with annotations of type NullableModifierConstructorDescriptionCloseStatus(int code, String reason) Create a newCloseStatusinstance.HandshakeInfo(URI uri, HttpHeaders headers, MultiValueMap<String, HttpCookie> cookies, reactor.core.publisher.Mono<Principal> principal, String protocol, InetSocketAddress remoteAddress, Map<String, Object> attributes, String logPrefix) Constructor targeting server-side use with extra information such as the cookies, remote address, attributes, and a log prefix.HandshakeInfo(URI uri, HttpHeaders headers, MultiValueMap<String, HttpCookie> cookies, reactor.core.publisher.Mono<Principal> principal, String protocol, InetSocketAddress remoteAddress, Map<String, Object> attributes, String logPrefix) Constructor targeting server-side use with extra information such as the cookies, remote address, attributes, and a log prefix.HandshakeInfo(URI uri, HttpHeaders headers, MultiValueMap<String, HttpCookie> cookies, reactor.core.publisher.Mono<Principal> principal, String protocol, InetSocketAddress remoteAddress, Map<String, Object> attributes, String logPrefix) Constructor targeting server-side use with extra information such as the cookies, remote address, attributes, and a log prefix.HandshakeInfo(URI uri, HttpHeaders headers, reactor.core.publisher.Mono<Principal> principal, String protocol) Constructor with basic information about the handshake.HandshakeInfo(URI uri, HttpHeaders headers, reactor.core.publisher.Mono<Principal> principal, String protocol, InetSocketAddress remoteAddress, Map<String, Object> attributes, String logPrefix) Deprecated.as of 5.3.5 in favor ofHandshakeInfo(URI, HttpHeaders, MultiValueMap, Mono, String, InetSocketAddress, Map, String)HandshakeInfo(URI uri, HttpHeaders headers, reactor.core.publisher.Mono<Principal> principal, String protocol, InetSocketAddress remoteAddress, Map<String, Object> attributes, String logPrefix) Deprecated.as of 5.3.5 in favor ofHandshakeInfo(URI, HttpHeaders, MultiValueMap, Mono, String, InetSocketAddress, Map, String)HandshakeInfo(URI uri, HttpHeaders headers, reactor.core.publisher.Mono<Principal> principal, String protocol, InetSocketAddress remoteAddress, Map<String, Object> attributes, String logPrefix) Deprecated.as of 5.3.5 in favor ofHandshakeInfo(URI, HttpHeaders, MultiValueMap, Mono, String, InetSocketAddress, Map, String)WebSocketMessage(WebSocketMessage.Type type, DataBuffer payload, Object nativeMessage) Constructor for an inbound message with access to the underlying message. -
Uses of Nullable in org.springframework.web.reactive.socket.adapter
Constructor parameters in org.springframework.web.reactive.socket.adapter with annotations of type NullableModifierConstructorDescriptionAbstractListenerWebSocketSession(T delegate, String id, HandshakeInfo info, DataBufferFactory bufferFactory, reactor.core.publisher.Sinks.Empty<Void> handlerCompletionSink) Alternative constructor with completion sink to use to signal when the handling of the session is complete, with success or error.JettyWebSocketSession(org.eclipse.jetty.websocket.api.Session session, HandshakeInfo info, DataBufferFactory factory, reactor.core.publisher.Sinks.Empty<Void> completionSink) StandardWebSocketSession(Session session, HandshakeInfo info, DataBufferFactory factory, reactor.core.publisher.Sinks.Empty<Void> completionSink) UndertowWebSocketSession(io.undertow.websockets.core.WebSocketChannel channel, HandshakeInfo info, DataBufferFactory factory, reactor.core.publisher.Sinks.Empty<Void> completionSink) -
Uses of Nullable in org.springframework.web.reactive.socket.server
Method parameters in org.springframework.web.reactive.socket.server with annotations of type NullableModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>RequestUpgradeStrategy.upgrade(ServerWebExchange exchange, WebSocketHandler webSocketHandler, String subProtocol, Supplier<HandshakeInfo> handshakeInfoFactory) Upgrade to a WebSocket session and handle it with the given handler. -
Uses of Nullable in org.springframework.web.reactive.socket.server.support
Methods in org.springframework.web.reactive.socket.server.support with annotations of type NullableModifier and TypeMethodDescriptionHandshakeWebSocketService.getSessionAttributePredicate()Return the configured predicate for initialization WebSocket session attributes fromWebSessionattributes.Method parameters in org.springframework.web.reactive.socket.server.support with annotations of type NullableModifier and TypeMethodDescriptionvoidHandshakeWebSocketService.setSessionAttributePredicate(Predicate<String> predicate) Configure a predicate to use to extractWebSessionattributes and use them to initialize the WebSocket session with. -
Uses of Nullable in org.springframework.web.reactive.socket.server.upgrade
Methods in org.springframework.web.reactive.socket.server.upgrade with annotations of type NullableModifier and TypeMethodDescriptionStandardWebSocketUpgradeStrategy.getAsyncSendTimeout()StandardWebSocketUpgradeStrategy.getMaxBinaryMessageBufferSize()StandardWebSocketUpgradeStrategy.getMaxSessionIdleTimeout()StandardWebSocketUpgradeStrategy.getMaxTextMessageBufferSize()Method parameters in org.springframework.web.reactive.socket.server.upgrade with annotations of type NullableModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>JettyRequestUpgradeStrategy.upgrade(ServerWebExchange exchange, WebSocketHandler handler, String subProtocol, Supplier<HandshakeInfo> handshakeInfoFactory) reactor.core.publisher.Mono<Void>ReactorNetty2RequestUpgradeStrategy.upgrade(ServerWebExchange exchange, WebSocketHandler handler, String subProtocol, Supplier<HandshakeInfo> handshakeInfoFactory) reactor.core.publisher.Mono<Void>ReactorNettyRequestUpgradeStrategy.upgrade(ServerWebExchange exchange, WebSocketHandler handler, String subProtocol, Supplier<HandshakeInfo> handshakeInfoFactory) reactor.core.publisher.Mono<Void>StandardWebSocketUpgradeStrategy.upgrade(ServerWebExchange exchange, WebSocketHandler handler, String subProtocol, Supplier<HandshakeInfo> handshakeInfoFactory) reactor.core.publisher.Mono<Void>UndertowRequestUpgradeStrategy.upgrade(ServerWebExchange exchange, WebSocketHandler handler, String subProtocol, Supplier<HandshakeInfo> handshakeInfoFactory) -
Uses of Nullable in org.springframework.web.server
Methods in org.springframework.web.server with annotations of type NullableModifier and TypeMethodDescriptionServerWebExchange.getApplicationContext()Return theApplicationContextassociated with the web application, if it was initialized with one viaWebHttpHandlerBuilder.applicationContext(ApplicationContext).default <T> TServerWebExchange.getAttribute(String name) Return the request attribute value if present.default <T> TWebSession.getAttribute(String name) Return the session attribute value if present.UnsupportedMediaTypeStatusException.getBodyType()Return the body type in the context of which this exception was generated.UnsupportedMediaTypeStatusException.getContentType()Return the request Content-Type header if it was parsed successfully, ornullotherwise.ServerErrorException.getHandlerMethod()Return the handler method associated with the error, if any.ServerErrorException.getMethodParameter()Return the specific method parameter associated with the error, if any.ServerWebInputException.getMethodParameter()Return theMethodParameterassociated with this error, if any.ResponseStatusException.getReason()The reason explaining the exception (potentiallynullor empty).Method parameters in org.springframework.web.server with annotations of type NullableModifier and TypeMethodDescriptionbooleanServerWebExchange.checkNotModified(String etag, Instant lastModified) Check whether the requested resource has been modified given the suppliedETag(entity tag) and last-modified timestamp as determined by the application.booleanServerWebExchangeDecorator.checkNotModified(String etag, Instant lastModified) Constructor parameters in org.springframework.web.server with annotations of type NullableModifierConstructorDescriptionMethodNotAllowedException(String method, Collection<HttpMethod> supportedMethods) ResponseStatusException(int rawStatusCode, String reason, Throwable cause) Constructor with a response status and a reason to add to the exception message as explanation, as well as a nested exception.ResponseStatusException(int rawStatusCode, String reason, Throwable cause) Constructor with a response status and a reason to add to the exception message as explanation, as well as a nested exception.ResponseStatusException(HttpStatusCode status, String reason) Constructor with a response status and a reason to add to the exception message as explanation.ResponseStatusException(HttpStatusCode status, String reason, Throwable cause) Constructor with a response status and a reason to add to the exception message as explanation, as well as a nested exception.ResponseStatusException(HttpStatusCode status, String reason, Throwable cause) Constructor with a response status and a reason to add to the exception message as explanation, as well as a nested exception.protectedResponseStatusException(HttpStatusCode status, String reason, Throwable cause, String messageDetailCode, Object[] messageDetailArguments) Constructor with a message code and arguments for resolving the error "detail" viaMessageSource.protectedResponseStatusException(HttpStatusCode status, String reason, Throwable cause, String messageDetailCode, Object[] messageDetailArguments) Constructor with a message code and arguments for resolving the error "detail" viaMessageSource.protectedResponseStatusException(HttpStatusCode status, String reason, Throwable cause, String messageDetailCode, Object[] messageDetailArguments) Constructor with a message code and arguments for resolving the error "detail" viaMessageSource.protectedResponseStatusException(HttpStatusCode status, String reason, Throwable cause, String messageDetailCode, Object[] messageDetailArguments) Constructor with a message code and arguments for resolving the error "detail" viaMessageSource.ServerErrorException(String reason, Method handlerMethod, Throwable cause) Constructor for a 500 error with a handlerMethodand an optional cause.ServerErrorException(String reason, Throwable cause) Constructor for a 500 error with a reason and an optional cause.ServerErrorException(String reason, MethodParameter parameter, Throwable cause) Constructor for a 500 error with aMethodParameterand an optional cause.ServerWebInputException(String reason, MethodParameter parameter) Constructor for a 400 error linked to a specificMethodParameter.ServerWebInputException(String reason, MethodParameter parameter, Throwable cause) Constructor for a 400 error with a root cause.ServerWebInputException(String reason, MethodParameter parameter, Throwable cause) Constructor for a 400 error with a root cause.protectedServerWebInputException(String reason, MethodParameter parameter, Throwable cause, String messageDetailCode, Object[] messageDetailArguments) Constructor with a message code and arguments for resolving the error "detail" viaMessageSource.protectedServerWebInputException(String reason, MethodParameter parameter, Throwable cause, String messageDetailCode, Object[] messageDetailArguments) Constructor with a message code and arguments for resolving the error "detail" viaMessageSource.protectedServerWebInputException(String reason, MethodParameter parameter, Throwable cause, String messageDetailCode, Object[] messageDetailArguments) Constructor with a message code and arguments for resolving the error "detail" viaMessageSource.protectedServerWebInputException(String reason, MethodParameter parameter, Throwable cause, String messageDetailCode, Object[] messageDetailArguments) Constructor with a message code and arguments for resolving the error "detail" viaMessageSource.Constructor for when the specified Content-Type is invalid.UnsupportedMediaTypeStatusException(String reason, List<MediaType> supportedTypes) Constructor for when the specified Content-Type is invalid.UnsupportedMediaTypeStatusException(MediaType contentType, List<MediaType> supportedTypes) Constructor for when the Content-Type can be parsed but is not supported.UnsupportedMediaTypeStatusException(MediaType contentType, List<MediaType> supportedTypes, ResolvableType bodyType) Constructor for when trying to encode from or decode to a specific Java type.UnsupportedMediaTypeStatusException(MediaType contentType, List<MediaType> supportedTypes, ResolvableType bodyType) Constructor for when trying to encode from or decode to a specific Java type.UnsupportedMediaTypeStatusException(MediaType contentType, List<MediaType> supportedTypes, ResolvableType bodyType, HttpMethod method) Constructor for when trying to encode from or decode to a specific Java type.UnsupportedMediaTypeStatusException(MediaType contentType, List<MediaType> supportedTypes, ResolvableType bodyType, HttpMethod method) Constructor for when trying to encode from or decode to a specific Java type.UnsupportedMediaTypeStatusException(MediaType contentType, List<MediaType> supportedTypes, ResolvableType bodyType, HttpMethod method) Constructor for when trying to encode from or decode to a specific Java type.UnsupportedMediaTypeStatusException(MediaType contentType, List<MediaType> supportedTypes, HttpMethod method) Constructor that provides the HTTP method.UnsupportedMediaTypeStatusException(MediaType contentType, List<MediaType> supportedTypes, HttpMethod method) Constructor that provides the HTTP method. -
Uses of Nullable in org.springframework.web.server.adapter
Methods in org.springframework.web.server.adapter with annotations of type NullableModifier and TypeMethodDescriptionDefaultServerWebExchange.getApplicationContext()HttpWebHandlerAdapter.getApplicationContext()Return the configuredApplicationContext, if any.HttpWebHandlerAdapter.getForwardedHeaderTransformer()Return the configuredForwardedHeaderTransformer.Method parameters in org.springframework.web.server.adapter with annotations of type NullableModifier and TypeMethodDescriptionbooleanDefaultServerWebExchange.checkNotModified(String eTag, Instant lastModified) -
Uses of Nullable in org.springframework.web.server.handler
Methods in org.springframework.web.server.handler with annotations of type NullableModifier and TypeMethodDescriptionprotected HttpStatusCodeResponseStatusExceptionHandler.determineStatus(Throwable ex) Determine the HTTP status for the given exception. -
Uses of Nullable in org.springframework.web.server.i18n
Methods in org.springframework.web.server.i18n with annotations of type NullableModifier and TypeMethodDescriptionAcceptHeaderLocaleContextResolver.getDefaultLocale()The configured default locale, if any.Method parameters in org.springframework.web.server.i18n with annotations of type NullableModifier and TypeMethodDescriptionvoidAcceptHeaderLocaleContextResolver.setDefaultLocale(Locale defaultLocale) Configure a fixed default locale to fall back on if the request does not have an "Accept-Language" header (not set by default).voidAcceptHeaderLocaleContextResolver.setLocaleContext(ServerWebExchange exchange, LocaleContext locale) voidFixedLocaleContextResolver.setLocaleContext(ServerWebExchange exchange, LocaleContext localeContext) voidLocaleContextResolver.setLocaleContext(ServerWebExchange exchange, LocaleContext localeContext) Set the current locale context to the given one, potentially including a locale with associated time zone information.Constructor parameters in org.springframework.web.server.i18n with annotations of type NullableModifierConstructorDescriptionFixedLocaleContextResolver(Locale locale, TimeZone timeZone) Create a FixedLocaleResolver that exposes the given locale and time zone. -
Uses of Nullable in org.springframework.web.service.invoker
Methods in org.springframework.web.service.invoker with annotations of type NullableModifier and TypeMethodDescriptionprotected abstract AbstractNamedValueArgumentResolver.NamedValueInfoAbstractNamedValueArgumentResolver.createNamedValueInfo(MethodParameter parameter) Return information about the request value, ornullif the parameter does not represent a request value of interest.Publisher<?>HttpRequestValues.getBody()Return the request body as a Publisher.HttpRequestValues.getBodyElementType()Return the element type for a Publisher body.HttpRequestValues.getBodyValue()Return the request body as a value to be serialized, if set.HttpRequestValues.getHttpMethod()Return the HTTP method to use for the request.HttpRequestValues.getUri()Return the URL to use.HttpRequestValues.getUriTemplate()Return the URL template for the request.Method parameters in org.springframework.web.service.invoker with annotations of type NullableModifier and TypeMethodDescriptionbooleanAbstractNamedValueArgumentResolver.resolve(Object argument, MethodParameter parameter, HttpRequestValues.Builder requestValues) booleanHttpMethodArgumentResolver.resolve(Object argument, MethodParameter parameter, HttpRequestValues.Builder requestValues) booleanHttpServiceArgumentResolver.resolve(Object argument, MethodParameter parameter, HttpRequestValues.Builder requestValues) Resolve the argument value.booleanRequestBodyArgumentResolver.resolve(Object argument, MethodParameter parameter, HttpRequestValues.Builder requestValues) booleanUrlArgumentResolver.resolve(Object argument, MethodParameter parameter, HttpRequestValues.Builder requestValues) AbstractNamedValueArgumentResolver.NamedValueInfo.update(String name, boolean required, String defaultValue) Constructor parameters in org.springframework.web.service.invoker with annotations of type NullableModifierConstructorDescriptionNamedValueInfo(String name, boolean required, String defaultValue, String label, boolean multiValued) Create an instance. -
Uses of Nullable in org.springframework.web.servlet
Methods in org.springframework.web.servlet with annotations of type NullableModifier and TypeMethodDescriptionprotected LocaleContextFrameworkServlet.buildLocaleContext(HttpServletRequest request) Build a LocaleContext for the given request, exposing the request's primary locale as current locale.protected ServletRequestAttributesFrameworkServlet.buildRequestAttributes(HttpServletRequest request, HttpServletResponse response, RequestAttributes previousAttributes) Build ServletRequestAttributes for the given request (potentially also holding a reference to the response), taking pre-bound attributes (and their type) into consideration.protected WebApplicationContextFrameworkServlet.findWebApplicationContext()default StringView.getContentType()Return the content type of the view, if predetermined.FrameworkServlet.getContextAttribute()Return the name of the ServletContext attribute which should be used to retrieve theWebApplicationContextthat this servlet is supposed to use.FrameworkServlet.getContextConfigLocation()Return the explicit context config location, if any.FrameworkServlet.getContextId()Return the custom WebApplicationContext id, if any.protected StringDispatcherServlet.getDefaultViewName(HttpServletRequest request) Translate the supplied request into a default view name.protected HandlerExecutionChainDispatcherServlet.getHandler(HttpServletRequest request) Return the HandlerExecutionChain for this request.HandlerMapping.getHandler(HttpServletRequest request) Return a handler and any interceptors for this request.final List<HandlerMapping>DispatcherServlet.getHandlerMappings()Return the configuredHandlerMappingbeans that were detected by type in theWebApplicationContextor initialized based on the default set of strategies from DispatcherServlet.properties.HandlerExecutionChain.getInterceptors()Return the array of interceptors to apply (in the given order).ModelAndView.getModelInternal()Return the model map.final MultipartResolverDispatcherServlet.getMultipartResolver()Obtain this servlet's MultipartResolver, if any.HttpServletBean.getServletName()Overridden method that simply returnsnullwhen no ServletConfig set yet.ModelAndView.getStatus()Return the configured HTTP status for the response, if any.FlashMap.getTargetRequestPath()Return the target URL path (ornullif none specified).final ThemeSourceDispatcherServlet.getThemeSource()Deprecated.protected StringFrameworkServlet.getUsernameForRequest(HttpServletRequest request) Determine the username for the given request.ModelAndView.getView()Return the View object, ornullif we are using a view name to be resolved by the DispatcherServlet via a ViewResolver.ModelAndView.getViewName()Return the view name to be resolved by the DispatcherServlet via a ViewResolver, ornullif we are using a View object.RequestToViewNameTranslator.getViewName(HttpServletRequest request) Translate the givenHttpServletRequestinto a view name.final WebApplicationContextFrameworkServlet.getWebApplicationContext()Return this servlet's WebApplicationContext.HandlerAdapter.handle(HttpServletRequest request, HttpServletResponse response, Object handler) Use the given handler to handle this request.protected ModelAndViewDispatcherServlet.processHandlerException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) Determine an error ModelAndView via the registered HandlerExceptionResolvers.HandlerExceptionResolver.resolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) Try to resolve the given exception that got thrown during handler execution, returning aModelAndViewthat represents a specific error page if appropriate.protected ViewDispatcherServlet.resolveViewName(String viewName, Map<String, Object> model, Locale locale, HttpServletRequest request) Resolve the given view name into a View object (to be rendered).ViewResolver.resolveViewName(String viewName, Locale locale) Resolve the given view by name.FlashMapManager.retrieveAndUpdate(HttpServletRequest request, HttpServletResponse response) Find a FlashMap saved by a previous request that matches to the current request, remove it from underlying storage, and also remove other expired FlashMap instances.Method parameters in org.springframework.web.servlet with annotations of type NullableModifier and TypeMethodDescriptionModelAndView.addAllObjects(Map<String, ?> modelMap) Add all attributes contained in the provided Map to the model.Add an attribute to the model.FlashMap.addTargetRequestParams(MultiValueMap<String, String> params) Provide request parameters identifying the request for this FlashMap.default voidHandlerInterceptor.afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) Callback after completion of request processing, that is, after rendering the view.protected ServletRequestAttributesFrameworkServlet.buildRequestAttributes(HttpServletRequest request, HttpServletResponse response, RequestAttributes previousAttributes) Build ServletRequestAttributes for the given request (potentially also holding a reference to the response), taking pre-bound attributes (and their type) into consideration.protected ServletRequestAttributesFrameworkServlet.buildRequestAttributes(HttpServletRequest request, HttpServletResponse response, RequestAttributes previousAttributes) Build ServletRequestAttributes for the given request (potentially also holding a reference to the response), taking pre-bound attributes (and their type) into consideration.protected WebApplicationContextFrameworkServlet.createWebApplicationContext(ApplicationContext parent) Instantiate the WebApplicationContext for this servlet, either a defaultXmlWebApplicationContextor acustom context class, if set.protected WebApplicationContextFrameworkServlet.createWebApplicationContext(WebApplicationContext parent) Instantiate the WebApplicationContext for this servlet, either a defaultXmlWebApplicationContextor acustom context class, if set.booleandefault voidHandlerInterceptor.postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView) Interception point after successful execution of a handler.protected ModelAndViewDispatcherServlet.processHandlerException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) Determine an error ModelAndView via the registered HandlerExceptionResolvers.voidView.render(Map<String, ?> model, HttpServletRequest request, HttpServletResponse response) Render the view given the specified model.HandlerExceptionResolver.resolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) Try to resolve the given exception that got thrown during handler execution, returning aModelAndViewthat represents a specific error page if appropriate.protected ViewDispatcherServlet.resolveViewName(String viewName, Map<String, Object> model, Locale locale, HttpServletRequest request) Resolve the given view name into a View object (to be rendered).voidFrameworkServlet.setContextAttribute(String contextAttribute) Set the name of the ServletContext attribute which should be used to retrieve theWebApplicationContextthat this servlet is supposed to use.voidFrameworkServlet.setContextConfigLocation(String contextConfigLocation) Set the context config location explicitly, instead of relying on the default location built from the namespace.voidFrameworkServlet.setContextId(String contextId) Specify a custom WebApplicationContext id, to be used as serialization id for the underlying BeanFactory.voidFrameworkServlet.setContextInitializers(ApplicationContextInitializer<?>... initializers) Specify whichApplicationContextInitializerinstances should be used to initialize the application context used by thisFrameworkServlet.default voidLocaleContextResolver.setLocale(HttpServletRequest request, HttpServletResponse response, Locale locale) Default implementation ofLocaleResolver.setLocale(HttpServletRequest, HttpServletResponse, Locale)that delegates toLocaleContextResolver.setLocaleContext(HttpServletRequest, HttpServletResponse, LocaleContext), using aSimpleLocaleContext.default voidLocaleContextResolver.setLocale(HttpServletRequest request, HttpServletResponse response, Locale locale) Default implementation ofLocaleResolver.setLocale(HttpServletRequest, HttpServletResponse, Locale)that delegates toLocaleContextResolver.setLocaleContext(HttpServletRequest, HttpServletResponse, LocaleContext), using aSimpleLocaleContext.voidLocaleResolver.setLocale(HttpServletRequest request, HttpServletResponse response, Locale locale) Set the current locale to the given one.voidLocaleResolver.setLocale(HttpServletRequest request, HttpServletResponse response, Locale locale) Set the current locale to the given one.voidLocaleContextResolver.setLocaleContext(HttpServletRequest request, HttpServletResponse response, LocaleContext localeContext) Set the current locale context to the given one, potentially including a locale with associated time zone information.voidLocaleContextResolver.setLocaleContext(HttpServletRequest request, HttpServletResponse response, LocaleContext localeContext) Set the current locale context to the given one, potentially including a locale with associated time zone information.voidModelAndView.setStatus(HttpStatusCode status) Set the HTTP status to use for the response.voidFlashMap.setTargetRequestPath(String path) Provide a URL path to help identify the target request for this FlashMap.voidThemeResolver.setThemeName(HttpServletRequest request, HttpServletResponse response, String themeName) Deprecated.Set the current theme name to the given one.voidThemeResolver.setThemeName(HttpServletRequest request, HttpServletResponse response, String themeName) Deprecated.Set the current theme name to the given one.voidSet a View object for this ModelAndView.voidModelAndView.setViewName(String viewName) Set a view name for this ModelAndView, to be resolved by the DispatcherServlet via a ViewResolver.Constructor parameters in org.springframework.web.servlet with annotations of type NullableModifierConstructorDescriptionHandlerExecutionChain(Object handler, HandlerInterceptor... interceptors) Create a new HandlerExecutionChain.ModelAndView(String viewName, Map<String, ?> model) Create a new ModelAndView given a view name and a model.ModelAndView(String viewName, Map<String, ?> model, HttpStatusCode status) Create a new ModelAndView given a view name, model, and HTTP status.ModelAndView(String viewName, Map<String, ?> model, HttpStatusCode status) Create a new ModelAndView given a view name, model, and HTTP status.ModelAndView(String viewName, Map<String, ?> model, HttpStatusCode status) Create a new ModelAndView given a view name, model, and HTTP status.ModelAndView(View view, Map<String, ?> model) Create a new ModelAndView given a View object and a model. -
Uses of Nullable in org.springframework.web.servlet.config
Methods in org.springframework.web.servlet.config with annotations of type NullableModifier and TypeMethodDescriptionstatic ObjectMvcNamespaceUtils.getContentNegotiationManager(ParserContext context) Find theContentNegotiationManagerbean created by or registered with theannotation-drivenelement.CorsBeanDefinitionParser.parse(Element element, ParserContext parserContext) Method parameters in org.springframework.web.servlet.config with annotations of type NullableModifier and TypeMethodDescriptionstatic RuntimeBeanReferenceMvcNamespaceUtils.registerCorsConfigurations(Map<String, CorsConfiguration> corsConfigurations, ParserContext context, Object source) Registers aMap<String, CorsConfiguration>(mappedCorsConfigurations) under a well-known name unless already registered.static RuntimeBeanReferenceMvcNamespaceUtils.registerCorsConfigurations(Map<String, CorsConfiguration> corsConfigurations, ParserContext context, Object source) Registers aMap<String, CorsConfiguration>(mappedCorsConfigurations) under a well-known name unless already registered.static voidMvcNamespaceUtils.registerDefaultComponents(ParserContext context, Object source) static RuntimeBeanReferenceMvcNamespaceUtils.registerPathMatcher(RuntimeBeanReference pathMatcherRef, ParserContext context, Object source) Adds an alias to an existing well-known name or registers a new instance of aPathMatcherunder that well-known name, unless already registered.static RuntimeBeanReferenceMvcNamespaceUtils.registerPathMatcher(RuntimeBeanReference pathMatcherRef, ParserContext context, Object source) Adds an alias to an existing well-known name or registers a new instance of aPathMatcherunder that well-known name, unless already registered.static RuntimeBeanReferenceMvcNamespaceUtils.registerUrlPathHelper(RuntimeBeanReference urlPathHelperRef, ParserContext context, Object source) Adds an alias to an existing well-known name or registers a new instance of aUrlPathHelperunder that well-known name, unless already registered.static RuntimeBeanReferenceMvcNamespaceUtils.registerUrlPathHelper(RuntimeBeanReference urlPathHelperRef, ParserContext context, Object source) Adds an alias to an existing well-known name or registers a new instance of aUrlPathHelperunder that well-known name, unless already registered. -
Uses of Nullable in org.springframework.web.servlet.config.annotation
Methods in org.springframework.web.servlet.config.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected SimpleUrlHandlerMappingDefaultServletHandlerConfigurer.buildHandlerMapping()Return a handler mapping instance ordered atOrdered.LOWEST_PRECEDENCEcontaining theDefaultServletHttpRequestHandlerinstance mapped to"/**"; ornullif default servlet handling was not enabled.protected SimpleUrlHandlerMappingViewControllerRegistry.buildHandlerMapping()Return theHandlerMappingthat contains the registered view controller mappings, ornullfor no registrations.WebMvcConfigurationSupport.defaultServletHandlerMapping()Return a handler mapping ordered at Integer.MAX_VALUE with a mapped default servlet handler.final ApplicationContextWebMvcConfigurationSupport.getApplicationContext()Return the associated SpringApplicationContext.protected AbstractHandlerMappingResourceHandlerRegistry.getHandlerMapping()Return a handler mapping with the mapped resource handlers; ornullin case of no registrations.protected MessageCodesResolverDelegatingWebMvcConfiguration.getMessageCodesResolver()protected MessageCodesResolverWebMvcConfigurationSupport.getMessageCodesResolver()Override this method to provide a customMessageCodesResolver.default MessageCodesResolverWebMvcConfigurer.getMessageCodesResolver()Provide a customMessageCodesResolverfor building message codes from data binding and validation error codes.PathMatchConfigurer.getPathMatcher()PathMatchConfigurer.getPathPrefixes()PathMatchConfigurer.getPatternParser()Return thePathPatternParserto use, if configured.final ServletContextWebMvcConfigurationSupport.getServletContext()Return the associatedServletContext.protected AsyncTaskExecutorAsyncSupportConfigurer.getTaskExecutor()protected LongAsyncSupportConfigurer.getTimeout()PathMatchConfigurer.getUrlPathHelper()protected ValidatorDelegatingWebMvcConfiguration.getValidator()protected ValidatorWebMvcConfigurationSupport.getValidator()Override this method to provide a customValidator.default ValidatorWebMvcConfigurer.getValidator()Provide a customValidatorinstead of the one created by default.PathMatchConfigurer.isUseRegisteredSuffixPatternMatch()Deprecated.as of 5.2.4, see deprecation note onPathMatchConfigurer.setUseRegisteredSuffixPatternMatch(Boolean).PathMatchConfigurer.isUseSuffixPatternMatch()Deprecated.as of 5.2.4, see deprecation note onPathMatchConfigurer.setUseSuffixPatternMatch(Boolean).PathMatchConfigurer.isUseTrailingSlashMatch()Deprecated.WebMvcConfigurationSupport.resourceHandlerMapping(ContentNegotiationManager contentNegotiationManager, FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) Return a handler mapping ordered at Integer.MAX_VALUE-1 with mapped resource handlers.WebMvcConfigurationSupport.viewControllerHandlerMapping(FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) Return a handler mapping ordered at 1 to map URL paths directly to view names.Method parameters in org.springframework.web.servlet.config.annotation with annotations of type NullableModifier and TypeMethodDescriptionvoidEnable forwarding to the "default" Servlet identified by the given name.ContentNegotiationConfigurer.mediaTypes(Map<String, MediaType> mediaTypes) protected voidRedirectViewControllerRegistration.setApplicationContext(ApplicationContext applicationContext) protected voidViewControllerRegistration.setApplicationContext(ApplicationContext applicationContext) voidWebMvcConfigurationSupport.setApplicationContext(ApplicationContext applicationContext) Set the SpringApplicationContext, e.g.PathMatchConfigurer.setPatternParser(PathPatternParser patternParser) Set thePathPatternParserto parsepatternswith for URL path matching.voidWebMvcConfigurationSupport.setServletContext(ServletContext servletContext) Set theServletContext, e.g.PathMatchConfigurer.setUseRegisteredSuffixPatternMatch(Boolean registeredSuffixPatternMatch) Deprecated.as of 5.2.4.PathMatchConfigurer.setUseSuffixPatternMatch(Boolean suffixPatternMatch) Deprecated.as of 5.2.4.voidContentNegotiationConfigurer.strategies(List<ContentNegotiationStrategy> strategies) Set the exact list of strategies to use.Constructor parameters in org.springframework.web.servlet.config.annotation with annotations of type NullableModifierConstructorDescriptionContentNegotiationConfigurer(ServletContext servletContext) Class constructor withServletContext.ResourceChainRegistration(boolean cacheResources, Cache cache) ResourceHandlerRegistry(ApplicationContext applicationContext, ServletContext servletContext, ContentNegotiationManager contentNegotiationManager) Create a new resource handler registry for the given application context.ResourceHandlerRegistry(ApplicationContext applicationContext, ServletContext servletContext, ContentNegotiationManager contentNegotiationManager, UrlPathHelper pathHelper) A variant ofResourceHandlerRegistry(ApplicationContext, ServletContext, ContentNegotiationManager)that also accepts theUrlPathHelperused for mapping requests to static resources.ResourceHandlerRegistry(ApplicationContext applicationContext, ServletContext servletContext, ContentNegotiationManager contentNegotiationManager, UrlPathHelper pathHelper) A variant ofResourceHandlerRegistry(ApplicationContext, ServletContext, ContentNegotiationManager)that also accepts theUrlPathHelperused for mapping requests to static resources.ViewControllerRegistry(ApplicationContext applicationContext) Class constructor withApplicationContext.ViewResolverRegistry(ContentNegotiationManager contentNegotiationManager, ApplicationContext context) Class constructor withContentNegotiationManagerandApplicationContext. -
Uses of Nullable in org.springframework.web.servlet.function
Methods in org.springframework.web.servlet.function with annotations of type NullableModifier and TypeMethodDescriptiondefault StringServerRequest.Headers.firstHeader(String headerName) Get the first header value, if any, for the header for the given name.ServerRequest.Headers.host()Get the value of theHostheader, if available.ServerResponse.writeTo(HttpServletRequest request, HttpServletResponse response, ServerResponse.Context context) Write this response to the given servlet response.Method parameters in org.springframework.web.servlet.function with annotations of type NullableModifier and TypeMethodDescriptionRenderingResponse.Builder.modelAttribute(String name, Object value) Add the supplied attribute value under the supplied name. -
Uses of Nullable in org.springframework.web.servlet.function.support
Methods in org.springframework.web.servlet.function.support with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectRouterFunctionMapping.getHandlerInternal(HttpServletRequest servletRequest) RouterFunctionMapping.getRouterFunction()Return the configuredRouterFunction.HandlerFunctionAdapter.handle(HttpServletRequest servletRequest, HttpServletResponse servletResponse, Object handler) RouterFunctionMapping.match(HttpServletRequest request, String pattern) Method parameters in org.springframework.web.servlet.function.support with annotations of type NullableModifier and TypeMethodDescriptionvoidRouterFunctionMapping.setRouterFunction(RouterFunction<?> routerFunction) Set the router function to map to. -
Uses of Nullable in org.springframework.web.servlet.handler
Methods in org.springframework.web.servlet.handler with annotations of type NullableModifier and TypeMethodDescriptionprotected IntegerSimpleMappingExceptionResolver.determineStatusCode(HttpServletRequest request, String viewName) Determine the HTTP status code to apply for the given error view.protected StringSimpleMappingExceptionResolver.determineViewName(Exception ex, HttpServletRequest request) Determine the view name for the given exception, first checking against the"excludedExecptions", then searching the"exceptionMappings", and finally using the"defaultErrorView"as a fallback.protected abstract ModelAndViewAbstractHandlerExceptionResolver.doResolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) Actually resolve the given exception that got thrown during handler execution, returning aModelAndViewthat represents a specific error page if appropriate.protected final ModelAndViewAbstractHandlerMethodExceptionResolver.doResolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) protected ModelAndViewSimpleMappingExceptionResolver.doResolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) Actually resolve the given exception that got thrown during on handler execution, returning a ModelAndView that represents a specific error page if appropriate.protected abstract ModelAndViewAbstractHandlerMethodExceptionResolver.doResolveHandlerMethodException(HttpServletRequest request, HttpServletResponse response, HandlerMethod handlerMethod, Exception ex) Actually resolve the given exception that got thrown during on handler execution, returning a ModelAndView that represents a specific error page if appropriate.protected StringSimpleMappingExceptionResolver.findMatchingViewName(Properties exceptionMappings, Exception ex) Find a matching view name in the given exception mappings.final HandlerInterceptor[]AbstractHandlerMapping.getAdaptedInterceptors()Return all configured interceptors adapted toHandlerInterceptor.HandlerMappingIntrospector.CachedResult.getCorsConfig()protected CorsConfigurationAbstractHandlerMapping.getCorsConfiguration(Object handler, HttpServletRequest request) Retrieve the CORS configuration for the given handler.HandlerMappingIntrospector.getCorsConfiguration(HttpServletRequest request) AbstractHandlerMapping.getCorsConfigurationSource()Return theconfiguredCorsConfigurationSource, if any.AbstractHandlerMapping.getDefaultHandler()Return the default handler for this handler mapping, ornullif none.final HandlerExecutionChainAbstractHandlerMapping.getHandler(HttpServletRequest request) Look up a handler for the given request, falling back to the default handler if no specific one is found.protected abstract ObjectAbstractHandlerMapping.getHandlerInternal(HttpServletRequest request) Look up a handler for the given request, returningnullif no specific one is found.protected HandlerMethodAbstractHandlerMethodMapping.getHandlerInternal(HttpServletRequest request) Look up a handler method for the given request.protected ObjectAbstractUrlHandlerMapping.getHandlerInternal(HttpServletRequest request) Look up a handler for the URL path of the given request.HandlerMappingIntrospector.CachedResult.getHandlerMapping()AbstractHandlerMethodMapping.getHandlerMethodsForMappingName(String mappingName) Return the handler methods for the given mapping name.protected final MappedInterceptor[]AbstractHandlerMapping.getMappedInterceptors()Return all configuredMappedInterceptors as an array.protected abstract TAbstractHandlerMethodMapping.getMappingForMethod(Method method, Class<?> handlerType) Provide the mapping for a handler method.HandlerMappingIntrospector.getMatchableHandlerMapping(HttpServletRequest request) Find theHandlerMappingthat would handle the given request and return aMatchableHandlerMappingto use for path matching.protected abstract TAbstractHandlerMethodMapping.getMatchingMapping(T mapping, HttpServletRequest request) Check if a mapping matches the current request and return a (potentially new) mapping with conditions relevant to the current request.AbstractHandlerMethodMapping.getNamingStrategy()Return the configured naming strategy ornull.String[]MappedInterceptor.getPathPatterns()Return the patterns this interceptor is mapped to.AbstractHandlerMapping.getPatternParser()Return theconfiguredPathPatternParser, ornullotherwise which indicates that String pattern matching withAntPathMatcheris enabled instead.default PathPatternParserMatchableHandlerMapping.getPatternParser()Return the parser of thisHandlerMapping, if configured in which case pre-parsed patterns are used.HandlerMappingIntrospector.CachedResult.getResultFor(HttpServletRequest request) Return aHandlerMappingIntrospector.CachedResultthat matches the given request.AbstractUrlHandlerMapping.getRootHandler()Return the root handler for this handler mapping (registered for "/"), ornullif none.SimpleServletHandlerAdapter.handle(HttpServletRequest request, HttpServletResponse response, Object handler) protected HandlerMethodAbstractHandlerMethodMapping.handleNoMatch(Set<T> mappings, String lookupPath, HttpServletRequest request) Invoked when no matching mapping is not found.protected CorsConfigurationAbstractHandlerMethodMapping.initCorsConfiguration(Object handler, Method method, T mapping) Extract and return the CORS configuration for the mapping.protected ObjectAbstractUrlHandlerMapping.lookupHandler(String lookupPath, HttpServletRequest request) Look up a handler instance for the given URL path.protected ObjectAbstractUrlHandlerMapping.lookupHandler(RequestPath path, String lookupPath, HttpServletRequest request) Look up a handler instance for the given URL path.protected HandlerMethodAbstractHandlerMethodMapping.lookupHandlerMethod(String lookupPath, HttpServletRequest request) Look up the best-matching handler method for the current request.AbstractUrlHandlerMapping.match(HttpServletRequest request, String pattern) MatchableHandlerMapping.match(HttpServletRequest request, String pattern) Determine whether the request matches the given pattern.AbstractHandlerExceptionResolver.resolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) Check whether this resolver is supposed to apply (i.e.HandlerExceptionResolverComposite.resolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) Resolve the exception by iterating over the list of configured exception resolvers.HandlerMappingIntrospector.setCache(HttpServletRequest request) Perform a lookup and save theHandlerMappingIntrospector.CachedResultas a request attribute.Method parameters in org.springframework.web.servlet.handler with annotations of type NullableModifier and TypeMethodDescriptionvoidMappedInterceptor.afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) voidWebRequestHandlerInterceptorAdapter.afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) protected ObjectAbstractUrlHandlerMapping.buildPathExposingHandler(Object rawHandler, String bestMatchingPattern, String pathWithinMapping, Map<String, String> uriTemplateVariables) Build a handler object for the given raw handler, exposing the actual handler, theHandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE, as well as theHandlerMapping.URI_TEMPLATE_VARIABLES_ATTRIBUTEbefore executing the handler.protected abstract ModelAndViewAbstractHandlerExceptionResolver.doResolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) Actually resolve the given exception that got thrown during handler execution, returning aModelAndViewthat represents a specific error page if appropriate.protected final ModelAndViewAbstractHandlerMethodExceptionResolver.doResolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) protected ModelAndViewSimpleMappingExceptionResolver.doResolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) Actually resolve the given exception that got thrown during on handler execution, returning a ModelAndView that represents a specific error page if appropriate.protected abstract ModelAndViewAbstractHandlerMethodExceptionResolver.doResolveHandlerMethodException(HttpServletRequest request, HttpServletResponse response, HandlerMethod handlerMethod, Exception ex) Actually resolve the given exception that got thrown during on handler execution, returning a ModelAndView that represents a specific error page if appropriate.protected HandlerExecutionChainAbstractHandlerMapping.getCorsHandlerExecutionChain(HttpServletRequest request, HandlerExecutionChain chain, CorsConfiguration config) Update the HandlerExecutionChain for CORS-related handling.voidMappedInterceptor.postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView) voidWebRequestHandlerInterceptorAdapter.postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView) voidHandlerMappingIntrospector.resetCache(ServletRequest request, HandlerMappingIntrospector.CachedResult cachedResult) Restore a previousHandlerMappingIntrospector.CachedResult.AbstractHandlerExceptionResolver.resolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) Check whether this resolver is supposed to apply (i.e.HandlerExceptionResolverComposite.resolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) Resolve the exception by iterating over the list of configured exception resolvers.voidAbstractHandlerMapping.setDefaultHandler(Object defaultHandler) Set the default handler for this handler mapping.voidSimpleMappingExceptionResolver.setExceptionAttribute(String exceptionAttribute) Set the name of the model attribute as which the exception should be exposed.voidAbstractHandlerMapping.setPatternParser(PathPatternParser patternParser) Set thePathPatternParserto parsepatternswith for URL path matching.voidAbstractHandlerMethodMapping.setPatternParser(PathPatternParser patternParser) voidAbstractUrlHandlerMapping.setPatternParser(PathPatternParser patternParser) voidAbstractUrlHandlerMapping.setRootHandler(Object rootHandler) Set the root handler for this handler mapping, that is, the handler to be registered for the root path ("/").protected booleanAbstractHandlerExceptionResolver.shouldApplyTo(HttpServletRequest request, Object handler) Check whether this resolver is supposed to apply to the given handler.protected booleanAbstractHandlerMethodExceptionResolver.shouldApplyTo(HttpServletRequest request, Object handler) Checks if the handler is aHandlerMethodand then delegates to the base class implementation of#shouldApplyTo(HttpServletRequest, Object)passing the bean of theHandlerMethod.Constructor parameters in org.springframework.web.servlet.handler with annotations of type NullableModifierConstructorDescriptionMappedInterceptor(String[] includePatterns, String[] excludePatterns, WebRequestInterceptor interceptor) Variant ofMappedInterceptor(String[], String[], HandlerInterceptor, PathPatternParser)with aWebRequestInterceptoras the target.MappedInterceptor(String[] includePatterns, String[] excludePatterns, WebRequestInterceptor interceptor) Variant ofMappedInterceptor(String[], String[], HandlerInterceptor, PathPatternParser)with aWebRequestInterceptoras the target.MappedInterceptor(String[] includePatterns, String[] excludePatterns, HandlerInterceptor interceptor) Variant ofMappedInterceptor(String[], String[], HandlerInterceptor, PathPatternParser)without a provided parser.MappedInterceptor(String[] includePatterns, String[] excludePatterns, HandlerInterceptor interceptor) Variant ofMappedInterceptor(String[], String[], HandlerInterceptor, PathPatternParser)without a provided parser.MappedInterceptor(String[] includePatterns, String[] excludePatterns, HandlerInterceptor interceptor, PathPatternParser parser) Create an instance with the given include and exclude patterns along with the target interceptor for the mappings.MappedInterceptor(String[] includePatterns, String[] excludePatterns, HandlerInterceptor interceptor, PathPatternParser parser) Create an instance with the given include and exclude patterns along with the target interceptor for the mappings.MappedInterceptor(String[] includePatterns, String[] excludePatterns, HandlerInterceptor interceptor, PathPatternParser parser) Create an instance with the given include and exclude patterns along with the target interceptor for the mappings.MappedInterceptor(String[] includePatterns, WebRequestInterceptor interceptor) Variant ofMappedInterceptor(String[], String[], HandlerInterceptor, PathPatternParser)with aWebRequestInterceptoras the target.MappedInterceptor(String[] includePatterns, HandlerInterceptor interceptor) Variant ofMappedInterceptor(String[], String[], HandlerInterceptor, PathPatternParser)with include patterns only. -
Uses of Nullable in org.springframework.web.servlet.i18n
Methods in org.springframework.web.servlet.i18n with annotations of type NullableModifier and TypeMethodDescriptionprotected TimeZoneCookieLocaleResolver.determineDefaultTimeZone(HttpServletRequest request) Deprecated.as of 6.0, in favor ofCookieLocaleResolver.setDefaultTimeZoneFunction(Function)protected TimeZoneSessionLocaleResolver.determineDefaultTimeZone(HttpServletRequest request) Deprecated.as of 6.0, in favor ofSessionLocaleResolver.setDefaultTimeZoneFunction(Function)protected LocaleAbstractLocaleResolver.getDefaultLocale()Get the defaultLocalethat this resolver is supposed to fall back to, if any.AbstractLocaleContextResolver.getDefaultTimeZone()Get the defaultTimeZonethat this resolver is supposed to fall back to, if any.String[]LocaleChangeInterceptor.getHttpMethods()Return the configured HTTP methods.protected LocaleCookieLocaleResolver.parseLocaleValue(String localeValue) Parse the given locale value coming from an incoming cookie.protected LocaleLocaleChangeInterceptor.parseLocaleValue(String localeValue) Parse the given locale value as coming from a request parameter.Method parameters in org.springframework.web.servlet.i18n with annotations of type NullableModifier and TypeMethodDescriptionvoidCookieLocaleResolver.setCookieDomain(String cookieDomain) Set the cookie "Domain" attribute.voidCookieLocaleResolver.setCookieMaxAge(Integer cookieMaxAge) Deprecated.as of 6.0 in favor ofCookieLocaleResolver.setCookieMaxAge(Duration)voidCookieLocaleResolver.setCookiePath(String cookiePath) Set the cookie "Path" attribute.voidAbstractLocaleResolver.setDefaultLocale(Locale defaultLocale) Set a defaultLocalethat this resolver will return if no other locale is found.voidAbstractLocaleContextResolver.setDefaultTimeZone(TimeZone defaultTimeZone) Set a defaultTimeZonethat this resolver will return if no other time zone is found.voidLocaleChangeInterceptor.setHttpMethods(String... httpMethods) Configure the HTTP method(s) over which the locale can be changed.voidAcceptHeaderLocaleResolver.setLocale(HttpServletRequest request, HttpServletResponse response, Locale locale) voidAcceptHeaderLocaleResolver.setLocale(HttpServletRequest request, HttpServletResponse response, Locale locale) voidCookieLocaleResolver.setLocaleContext(HttpServletRequest request, HttpServletResponse response, LocaleContext localeContext) voidCookieLocaleResolver.setLocaleContext(HttpServletRequest request, HttpServletResponse response, LocaleContext localeContext) voidFixedLocaleResolver.setLocaleContext(HttpServletRequest request, HttpServletResponse response, LocaleContext localeContext) voidFixedLocaleResolver.setLocaleContext(HttpServletRequest request, HttpServletResponse response, LocaleContext localeContext) voidSessionLocaleResolver.setLocaleContext(HttpServletRequest request, HttpServletResponse response, LocaleContext localeContext) voidSessionLocaleResolver.setLocaleContext(HttpServletRequest request, HttpServletResponse response, LocaleContext localeContext) -
Uses of Nullable in org.springframework.web.servlet.mvc
Methods in org.springframework.web.servlet.mvc with annotations of type NullableModifier and TypeMethodDescriptionParameterizableViewController.getStatusCode()Return the configured HTTP status code ornull.ParameterizableViewController.getView()Return the View object, ornullif we are using a view name to be resolved by the DispatcherServlet via a ViewResolver.ParameterizableViewController.getViewName()Return the name of the view to delegate to, ornullif using a View instance.HttpRequestHandlerAdapter.handle(HttpServletRequest request, HttpServletResponse response, Object handler) SimpleControllerHandlerAdapter.handle(HttpServletRequest request, HttpServletResponse response, Object handler) AbstractController.handleRequest(HttpServletRequest request, HttpServletResponse response) Controller.handleRequest(HttpServletRequest request, HttpServletResponse response) Process the request and return a ModelAndView object which the DispatcherServlet will render.protected abstract ModelAndViewAbstractController.handleRequestInternal(HttpServletRequest request, HttpServletResponse response) Template method.protected CacheControlWebContentInterceptor.lookupCacheControl(String lookupPath) Find aCacheControlinstance for the given String lookupPath.protected CacheControlWebContentInterceptor.lookupCacheControl(PathContainer path) Find aCacheControlinstance for the given parsedpath.protected IntegerWebContentInterceptor.lookupCacheSeconds(String lookupPath) Find a cacheSeconds instance for the given String lookupPath.protected IntegerWebContentInterceptor.lookupCacheSeconds(PathContainer path) Find a cacheSeconds value for the given parsedpath.Method parameters in org.springframework.web.servlet.mvc with annotations of type NullableModifier and TypeMethodDescriptionvoidWebContentInterceptor.afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) This implementation is empty.voidWebContentInterceptor.postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView) This implementation is empty.voidSet the prefix to prepend to the request URL filename to build a view name.voidParameterizableViewController.setStatusCode(HttpStatusCode statusCode) Configure the HTTP status code that this controller should set on the response.voidSet the suffix to append to the request URL filename to build a view name.voidParameterizableViewController.setViewName(String viewName) Set a view name for the ModelAndView to return, to be resolved by the DispatcherServlet via a ViewResolver. -
Uses of Nullable in org.springframework.web.servlet.mvc.annotation
Methods in org.springframework.web.servlet.mvc.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected ModelAndViewResponseStatusExceptionResolver.doResolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) Method parameters in org.springframework.web.servlet.mvc.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected ModelAndViewResponseStatusExceptionResolver.applyStatusAndReason(int statusCode, String reason, HttpServletResponse response) Apply the resolved status code and reason to the response.protected ModelAndViewResponseStatusExceptionResolver.doResolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) ModelAndViewResolver.resolveModelAndView(Method handlerMethod, Class<?> handlerType, Object returnValue, ExtendedModelMap implicitModel, NativeWebRequest webRequest) protected ModelAndViewResponseStatusExceptionResolver.resolveResponseStatus(ResponseStatus responseStatus, HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) Template method that handles the@ResponseStatusannotation.protected ModelAndViewResponseStatusExceptionResolver.resolveResponseStatusException(ResponseStatusException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Template method that handles anResponseStatusException. -
Uses of Nullable in org.springframework.web.servlet.mvc.condition
Methods in org.springframework.web.servlet.mvc.condition with annotations of type NullableModifier and TypeMethodDescriptionRequestConditionHolder.getCondition()Return the held request condition, ornullif not holding one.CompositeRequestCondition.getMatchingCondition(HttpServletRequest request) Delegate to all contained conditions to match the request and return the resulting "matching" condition instances.ConsumesRequestCondition.getMatchingCondition(HttpServletRequest request) Checks if any of the contained media type expressions match the given request 'Content-Type' header and returns an instance that is guaranteed to contain matching expressions only.HeadersRequestCondition.getMatchingCondition(HttpServletRequest request) Returns "this" instance if the request matches all expressions; ornullotherwise.ParamsRequestCondition.getMatchingCondition(HttpServletRequest request) Returns "this" instance if the request matches all param expressions; ornullotherwise.PathPatternsRequestCondition.getMatchingCondition(HttpServletRequest request) Checks if any of the patterns match the given request and returns an instance that is guaranteed to contain matching patterns, sorted.PatternsRequestCondition.getMatchingCondition(HttpServletRequest request) Checks if any of the patterns match the given request and returns an instance that is guaranteed to contain matching patterns, sorted viaPathMatcher.getPatternComparator(String).ProducesRequestCondition.getMatchingCondition(HttpServletRequest request) Checks if any of the contained media type expressions match the given request 'Content-Type' header and returns an instance that is guaranteed to contain matching expressions only.RequestCondition.getMatchingCondition(HttpServletRequest request) Check if the condition matches the request returning a potentially new instance created for the current request.RequestConditionHolder.getMatchingCondition(HttpServletRequest request) Get the matching condition for the held request condition wrap it in a new RequestConditionHolder instance.RequestMethodsRequestCondition.getMatchingCondition(HttpServletRequest request) Check if any of the HTTP request methods match the given request and return an instance that contains the matching HTTP request method only.NameValueExpression.getValue()Method parameters in org.springframework.web.servlet.mvc.condition with annotations of type NullableConstructor parameters in org.springframework.web.servlet.mvc.condition with annotations of type NullableModifierConstructorDescriptionConsumesRequestCondition(String[] consumes, String[] headers) Creates a new instance with "consumes" and "header" expressions.PatternsRequestCondition(String[] patterns, boolean useTrailingSlashMatch, PathMatcher pathMatcher) Variant ofPatternsRequestCondition(String...)with aPathMatcherand flag for matching trailing slashes.PatternsRequestCondition(String[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useTrailingSlashMatch) Deprecated.as of 5.3 in favor ofPatternsRequestCondition(String[], boolean, PathMatcher).PatternsRequestCondition(String[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useTrailingSlashMatch) Deprecated.as of 5.3 in favor ofPatternsRequestCondition(String[], boolean, PathMatcher).PatternsRequestCondition(String[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useSuffixPatternMatch, boolean useTrailingSlashMatch) Deprecated.as of 5.2.4.PatternsRequestCondition(String[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useSuffixPatternMatch, boolean useTrailingSlashMatch) Deprecated.as of 5.2.4.PatternsRequestCondition(String[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useSuffixPatternMatch, boolean useTrailingSlashMatch, List<String> fileExtensions) Deprecated.as of 5.2.4.PatternsRequestCondition(String[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useSuffixPatternMatch, boolean useTrailingSlashMatch, List<String> fileExtensions) Deprecated.as of 5.2.4.PatternsRequestCondition(String[] patterns, UrlPathHelper urlPathHelper, PathMatcher pathMatcher, boolean useSuffixPatternMatch, boolean useTrailingSlashMatch, List<String> fileExtensions) Deprecated.as of 5.2.4.ProducesRequestCondition(String[] produces, String[] headers) Creates a new instance with "produces" and "header" expressions.ProducesRequestCondition(String[] produces, String[] headers, ContentNegotiationManager manager) Same asProducesRequestCondition(String[], String[])but also accepting aContentNegotiationManager.ProducesRequestCondition(String[] produces, String[] headers, ContentNegotiationManager manager) Same asProducesRequestCondition(String[], String[])but also accepting aContentNegotiationManager.RequestConditionHolder(RequestCondition<?> requestCondition) Create a new holder to wrap the given request condition. -
Uses of Nullable in org.springframework.web.servlet.mvc.method
Methods in org.springframework.web.servlet.mvc.method with annotations of type NullableModifier and TypeMethodDescriptionRequestMappingInfo.BuilderConfiguration.getContentNegotiationManager()Return the ContentNegotiationManager to use for the ProducesRequestCondition, if any.RequestMappingInfo.getCustomCondition()Return the "custom" condition of thisRequestMappingInfo, ornull.RequestMappingInfo.BuilderConfiguration.getFileExtensions()Deprecated.as of 5.2.4.protected HandlerMethodRequestMappingInfoHandlerMapping.getHandlerInternal(HttpServletRequest request) RequestMappingInfo.getMatchingCondition(HttpServletRequest request) Checks if all conditions in this request mapping info match the provided request and returns a potentially new request mapping info with conditions tailored to the current request.RequestMappingInfo.getName()Return the name for this mapping, ornull.RequestMappingInfo.BuilderConfiguration.getPathMatcher()Return a custom PathMatcher to use for the PatternsRequestCondition, if any.RequestMappingInfo.getPathPatternsCondition()Return the patterns condition in use when parsed patterns areenabled.RequestMappingInfo.BuilderConfiguration.getPatternParser()RequestMappingInfo.getPatternsCondition()Return the patterns condition when String pattern matching viaPathMatcheris in use.RequestMappingInfo.BuilderConfiguration.getUrlPathHelper()Deprecated.as of 5.3, the path is resolved externally and obtained withServletRequestPathUtils.getCachedPathValue(ServletRequest); this method always returnsUrlPathHelper.defaultInstance.final ModelAndViewAbstractHandlerMethodAdapter.handle(HttpServletRequest request, HttpServletResponse response, Object handler) This implementation expects the handler to be anHandlerMethod.protected abstract ModelAndViewAbstractHandlerMethodAdapter.handleInternal(HttpServletRequest request, HttpServletResponse response, HandlerMethod handlerMethod) Use the given handler method to handle the request.Method parameters in org.springframework.web.servlet.mvc.method with annotations of type NullableModifier and TypeMethodDescriptionbooleanvoidRequestMappingInfo.BuilderConfiguration.setPathMatcher(PathMatcher pathMatcher) Set a custom PathMatcher to use for the PatternsRequestCondition.voidRequestMappingInfo.BuilderConfiguration.setPatternParser(PathPatternParser patternParser) Enable use of parsedPathPatterns as described inAbstractHandlerMapping.setPatternParser(PathPatternParser).voidRequestMappingInfo.BuilderConfiguration.setUrlPathHelper(UrlPathHelper urlPathHelper) Deprecated.as of 5.3, the path is resolved externally and obtained withServletRequestPathUtils.getCachedPathValue(ServletRequest)Constructor parameters in org.springframework.web.servlet.mvc.method with annotations of type NullableModifierConstructorDescriptionRequestMappingInfo(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(RequestMappingInfo info, RequestCondition<?> customRequestCondition) Deprecated.since 5.3 in favor of usingRequestMappingInfo.addCustomCondition(RequestCondition). -
Uses of Nullable in org.springframework.web.servlet.mvc.method.annotation
Methods in org.springframework.web.servlet.mvc.method.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectAbstractMessageConverterMethodArgumentResolver.adaptArgumentIfNecessary(Object arg, MethodParameter parameter) Adapt the given argument against the method parameter, if necessary.final ObjectAbstractMappingJacksonResponseBodyAdvice.beforeBodyWrite(Object body, MethodParameter returnType, MediaType contentType, Class<? extends HttpMessageConverter<?>> converterType, ServerHttpRequest request, ServerHttpResponse response) ResponseBodyAdvice.beforeBodyWrite(T body, MethodParameter returnType, MediaType selectedContentType, Class<? extends HttpMessageConverter<?>> selectedConverterType, ServerHttpRequest request, ServerHttpResponse response) Invoked after anHttpMessageConverteris selected and just before its write method is invoked.protected ObjectServletModelAttributeMethodProcessor.createAttributeFromRequestValue(String sourceValue, String attributeName, MethodParameter parameter, WebDataBinderFactory binderFactory, NativeWebRequest request) Create a model attribute from a String request value (e.g.protected ModelAndViewExceptionHandlerExceptionResolver.doResolveHandlerMethodException(HttpServletRequest request, HttpServletResponse response, HandlerMethod handlerMethod, Exception exception) Find an@ExceptionHandlermethod and invoke it to handle the raised exception.protected StringPathVariableMethodArgumentResolver.formatUriValue(ConversionService cs, TypeDescriptor sourceType, Object value) ExceptionHandlerExceptionResolver.getApplicationContext()ExceptionHandlerExceptionResolver.getArgumentResolvers()Return the configured argument resolvers, or possiblynullif not initialized yet viaExceptionHandlerExceptionResolver.afterPropertiesSet().RequestMappingHandlerAdapter.getArgumentResolvers()Return the configured argument resolvers, or possiblynullif not initialized yet viaRequestMappingHandlerAdapter.afterPropertiesSet().protected ConfigurableBeanFactoryRequestMappingHandlerAdapter.getBeanFactory()Return the owning factory of this bean instance, ornullif none.ExceptionHandlerExceptionResolver.getCustomArgumentResolvers()Return the custom argument resolvers, ornull.RequestMappingHandlerAdapter.getCustomArgumentResolvers()Return the custom argument resolvers, ornull.protected RequestCondition<?>RequestMappingHandlerMapping.getCustomMethodCondition(Method method) Provide a custom method-level request condition.ExceptionHandlerExceptionResolver.getCustomReturnValueHandlers()Return the custom return value handlers, ornull.RequestMappingHandlerAdapter.getCustomReturnValueHandlers()Return the custom return value handlers, ornull.protected RequestCondition<?>RequestMappingHandlerMapping.getCustomTypeCondition(Class<?> handlerType) Provide a custom type-level request condition.protected ServletInvocableHandlerMethodExceptionHandlerExceptionResolver.getExceptionHandlerMethod(HandlerMethod handlerMethod, Exception exception) Find an@ExceptionHandlermethod for the given exception.RequestMappingHandlerMapping.getFileExtensions()Deprecated.as of 5.2.4.RequestMappingHandlerAdapter.getInitBinderArgumentResolvers()Return the argument resolvers for@InitBindermethods, or possiblynullif not initialized yet viaRequestMappingHandlerAdapter.afterPropertiesSet().protected RequestMappingInfoRequestMappingHandlerMapping.getMappingForMethod(Method method, Class<?> handlerType) Uses method and type-level @RequestMappingannotations to create the RequestMappingInfo.ResponseBodyEmitter.DataWithMediaType.getMediaType()protected MessageSourceResponseEntityExceptionHandler.getMessageSource()Get theMessageSourcethat this exception handler uses.RequestMappingHandlerAdapter.getModelAndViewResolvers()Return the configuredModelAndViewResolvers, ornull.String[]ModelAndViewMethodReturnValueHandler.getRedirectPatterns()Return the configured redirect patterns, if any.String[]ViewNameMethodReturnValueHandler.getRedirectPatterns()The configured redirect patterns, if any.protected StringServletModelAttributeMethodProcessor.getRequestValueForAttribute(String attributeName, NativeWebRequest request) Obtain a value from the request that may be used to instantiate the model attribute through type conversion from String to the target type.ExceptionHandlerExceptionResolver.getReturnValueHandlers()Return the configured handlers, or possiblynullif not initialized yet viaExceptionHandlerExceptionResolver.afterPropertiesSet().RequestMappingHandlerAdapter.getReturnValueHandlers()Return the configured handlers, or possiblynullif not initialized yet viaRequestMappingHandlerAdapter.afterPropertiesSet().ResponseBodyEmitter.getTimeout()Return the configured timeout value, if any.RequestMappingHandlerAdapter.getWebBindingInitializer()Return the configured WebBindingInitializer, ornullif none.protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleAsyncRequestTimeoutException(AsyncRequestTimeoutException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofAsyncRequestTimeoutException.protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleBindException(BindException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Deprecated, for removal: This API element is subject to removal in a future version.as of 6.0 sinceModelAttributeMethodProcessornow raises theMethodArgumentNotValidExceptionsubclass instead.protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleConversionNotSupported(ConversionNotSupportedException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofConversionNotSupportedException.RequestBodyAdvice.handleEmptyBody(Object body, HttpInputMessage inputMessage, MethodParameter parameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType) Invoked second (and last) if the body is empty.RequestBodyAdviceAdapter.handleEmptyBody(Object body, HttpInputMessage inputMessage, MethodParameter parameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType) The default implementation returns the body that was passed in.protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleErrorResponseException(ErrorResponseException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling of anyErrorResponseException.final ResponseEntity<Object>ResponseEntityExceptionHandler.handleException(Exception ex, WebRequest request) Handle all exceptions raised within Spring MVC handling of the request.protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleExceptionInternal(Exception ex, Object body, HttpHeaders headers, HttpStatusCode statusCode, WebRequest request) Internal handler method that all others in this class delegate to, for common handling, and for the creation of aResponseEntity.protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleHttpMediaTypeNotAcceptable(HttpMediaTypeNotAcceptableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHttpMediaTypeNotAcceptableException.protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleHttpMediaTypeNotSupported(HttpMediaTypeNotSupportedException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHttpMediaTypeNotSupportedException.protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleHttpMessageNotReadable(HttpMessageNotReadableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHttpMessageNotReadableException.protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleHttpMessageNotWritable(HttpMessageNotWritableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHttpMessageNotWritableException.protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleHttpRequestMethodNotSupported(HttpRequestMethodNotSupportedException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofHttpRequestMethodNotSupportedException.protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleMethodArgumentNotValid(MethodArgumentNotValidException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofMethodArgumentNotValidException.protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleMissingPathVariable(MissingPathVariableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofMissingPathVariableException.protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleMissingServletRequestParameter(MissingServletRequestParameterException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofMissingServletRequestParameterException.protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleMissingServletRequestPart(MissingServletRequestPartException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofMissingServletRequestPartException.protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleNoHandlerFoundException(NoHandlerFoundException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofNoHandlerFoundException.protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleServletRequestBindingException(ServletRequestBindingException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofServletRequestBindingException.protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleTypeMismatch(TypeMismatchException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofTypeMismatchException.protected ModelAndViewRequestMappingHandlerAdapter.invokeHandlerMethod(HttpServletRequest request, HttpServletResponse response, HandlerMethod handlerMethod) Invoke theRequestMappinghandler method preparing aModelAndViewif view resolution is required.protected <T> ObjectAbstractMessageConverterMethodArgumentResolver.readWithMessageConverters(HttpInputMessage inputMessage, MethodParameter parameter, Type targetType) Create the method argument value of the expected parameter type by reading from the given HttpInputMessage.protected <T> ObjectAbstractMessageConverterMethodArgumentResolver.readWithMessageConverters(NativeWebRequest webRequest, MethodParameter parameter, Type paramType) Create the method argument value of the expected parameter type by reading from the given request.HttpEntityMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) MatrixVariableMapMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest request, WebDataBinderFactory binderFactory) RequestPartMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest request, WebDataBinderFactory binderFactory) ServletModelAttributeMethodProcessor.resolveConstructorArgument(String paramName, Class<?> paramType, NativeWebRequest request) protected ObjectMatrixVariableMethodArgumentResolver.resolveName(String name, MethodParameter parameter, NativeWebRequest request) protected ObjectPathVariableMethodArgumentResolver.resolveName(String name, MethodParameter parameter, NativeWebRequest request) protected ObjectRequestAttributeMethodArgumentResolver.resolveName(String name, MethodParameter parameter, NativeWebRequest request) protected ObjectServletCookieValueMethodArgumentResolver.resolveName(String cookieName, MethodParameter parameter, NativeWebRequest webRequest) protected ObjectSessionAttributeMethodArgumentResolver.resolveName(String name, MethodParameter parameter, NativeWebRequest request) Method parameters in org.springframework.web.servlet.mvc.method.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectAbstractMessageConverterMethodArgumentResolver.adaptArgumentIfNecessary(Object arg, MethodParameter parameter) Adapt the given argument against the method parameter, if necessary.final ObjectAbstractMappingJacksonResponseBodyAdvice.beforeBodyWrite(Object body, MethodParameter returnType, MediaType contentType, Class<? extends HttpMessageConverter<?>> converterType, ServerHttpRequest request, ServerHttpResponse response) ResponseBodyAdvice.beforeBodyWrite(T body, MethodParameter returnType, MediaType selectedContentType, Class<? extends HttpMessageConverter<?>> selectedConverterType, ServerHttpRequest request, ServerHttpResponse response) Invoked after anHttpMessageConverteris selected and just before its write method is invoked.protected ServletRequestDataBinderServletRequestDataBinderFactory.createBinderInstance(Object target, String objectName, NativeWebRequest request) Returns an instance ofExtendedServletRequestDataBinder.protected ProblemDetailResponseEntityExceptionHandler.createProblemDetail(Exception ex, HttpStatusCode status, String defaultDetail, String detailMessageCode, Object[] detailMessageArguments, WebRequest request) Convenience method to create aProblemDetailfor any exception that doesn't implementErrorResponse, also performing aMessageSourcelookup for the "detail" field.protected ProblemDetailResponseEntityExceptionHandler.createProblemDetail(Exception ex, HttpStatusCode status, String defaultDetail, String detailMessageCode, Object[] detailMessageArguments, WebRequest request) Convenience method to create aProblemDetailfor any exception that doesn't implementErrorResponse, also performing aMessageSourcelookup for the "detail" field.protected RequestMappingInfoRequestMappingHandlerMapping.createRequestMappingInfo(RequestMapping requestMapping, RequestCondition<?> customCondition) Create aRequestMappingInfofrom the supplied@RequestMappingannotation, which is either a directly declared annotation, a meta-annotation, or the synthesized result of merging annotation attributes within an annotation hierarchy.protected ResponseEntity<Object>ResponseEntityExceptionHandler.createResponseEntity(Object body, HttpHeaders headers, HttpStatusCode statusCode, WebRequest request) Create theResponseEntityto use from the given body, headers, and statusCode.Add an SSE "data" line.protected ModelAndViewExceptionHandlerExceptionResolver.doResolveHandlerMethodException(HttpServletRequest request, HttpServletResponse response, HandlerMethod handlerMethod, Exception exception) Find an@ExceptionHandlermethod and invoke it to handle the raised exception.protected StringPathVariableMethodArgumentResolver.formatUriValue(ConversionService cs, TypeDescriptor sourceType, Object value) protected StringPathVariableMethodArgumentResolver.formatUriValue(ConversionService cs, TypeDescriptor sourceType, Object value) static UriComponentsBuilderMvcUriComponentsBuilder.fromController(UriComponentsBuilder builder, Class<?> controllerType) An alternative toMvcUriComponentsBuilder.fromController(Class)that accepts aUriComponentsBuilderrepresenting the base URL.MvcUriComponentsBuilder.fromMappingName(UriComponentsBuilder builder, String name) An alternative toMvcUriComponentsBuilder.fromMappingName(String)that accepts aUriComponentsBuilderrepresenting the base URL.static UriComponentsBuilderMvcUriComponentsBuilder.fromMethod(UriComponentsBuilder baseUrl, Class<?> controllerType, Method method, Object... args) An alternative toMvcUriComponentsBuilder.fromMethod(Class, Method, Object...)that accepts aUriComponentsBuilderrepresenting the base URL.protected ServletInvocableHandlerMethodExceptionHandlerExceptionResolver.getExceptionHandlerMethod(HandlerMethod handlerMethod, Exception exception) Find an@ExceptionHandlermethod for the given exception.AbstractMessageConverterMethodProcessor.getProducibleMediaTypes(HttpServletRequest request, Class<?> valueClass, Type targetType) Returns the media types that can be produced.protected Class<?>AbstractMessageConverterMethodProcessor.getReturnValueType(Object value, MethodParameter returnType) Return the type of the value to be written to the response.protected Class<?>HttpEntityMethodProcessor.getReturnValueType(Object returnValue, MethodParameter returnType) RequestBodyAdvice.handleEmptyBody(Object body, HttpInputMessage inputMessage, MethodParameter parameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType) Invoked second (and last) if the body is empty.RequestBodyAdviceAdapter.handleEmptyBody(Object body, HttpInputMessage inputMessage, MethodParameter parameter, Type targetType, Class<? extends HttpMessageConverter<?>> converterType) The default implementation returns the body that was passed in.protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleExceptionInternal(Exception ex, Object body, HttpHeaders headers, HttpStatusCode statusCode, WebRequest request) Internal handler method that all others in this class delegate to, for common handling, and for the creation of aResponseEntity.protected voidPathVariableMethodArgumentResolver.handleResolvedValue(Object arg, String name, MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest request) protected voidPathVariableMethodArgumentResolver.handleResolvedValue(Object arg, String name, MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest request) voidAsyncTaskMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidCallableMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidDeferredResultMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidHttpEntityMethodProcessor.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidHttpHeadersReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidModelAndViewMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidModelAndViewResolverMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidRequestResponseBodyMethodProcessor.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidResponseBodyEmitterReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidStreamingResponseBodyReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidViewMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) voidViewNameMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) protected booleanAbstractMessageConverterMethodProcessor.isResourceType(Object value, MethodParameter returnType) Return whether the returned value or the declared return type extendsResource.ContinuationHandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) ContinuationHandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) HttpEntityMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) HttpEntityMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) MatrixVariableMapMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest request, WebDataBinderFactory binderFactory) MatrixVariableMapMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest request, WebDataBinderFactory binderFactory) PathVariableMapMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Return a Map with all URI template variables or an empty map.PathVariableMapMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Return a Map with all URI template variables or an empty map.PrincipalMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) PrincipalMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) RedirectAttributesMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) RedirectAttributesMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) RequestPartMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest request, WebDataBinderFactory binderFactory) RequestPartMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest request, WebDataBinderFactory binderFactory) RequestResponseBodyMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Throws MethodArgumentNotValidException if validation fails.RequestResponseBodyMethodProcessor.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Throws MethodArgumentNotValidException if validation fails.ServletRequestMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) ServletRequestMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) ServletResponseMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) SetModelAndViewContainer.setRequestHandled(boolean)tofalseto indicate that the method signature provides access to the response.ServletResponseMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) SetModelAndViewContainer.setRequestHandled(boolean)tofalseto indicate that the method signature provides access to the response.UriComponentsBuilderMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) UriComponentsBuilderMethodArgumentResolver.resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) voidOverloaded variant ofResponseBodyEmitter.send(Object)that also accepts a MediaType hint for how to serialize the given Object.voidSend the object formatted as a single SSE "data" line.voidExceptionHandlerExceptionResolver.setApplicationContext(ApplicationContext applicationContext) voidExceptionHandlerExceptionResolver.setArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) Configure the complete list of supported argument types thus overriding the resolvers that would otherwise be configured by default.voidRequestMappingHandlerAdapter.setArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) Configure the complete list of supported argument types thus overriding the resolvers that would otherwise be configured by default.voidExceptionHandlerExceptionResolver.setCustomArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) Provide resolvers for custom argument types.voidRequestMappingHandlerAdapter.setCustomArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) Provide resolvers for custom argument types.voidExceptionHandlerExceptionResolver.setCustomReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers) Provide handlers for custom return value types.voidRequestMappingHandlerAdapter.setCustomReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers) Provide handlers for custom return value types.voidRequestMappingHandlerAdapter.setInitBinderArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) Configure the supported argument types in@InitBindermethods.voidRequestMappingHandlerAdapter.setModelAndViewResolvers(List<ModelAndViewResolver> modelAndViewResolvers) Provide customModelAndViewResolvers.voidRequestMappingHandlerMapping.setPatternParser(PathPatternParser patternParser) voidModelAndViewMethodReturnValueHandler.setRedirectPatterns(String... redirectPatterns) Configure one more simple patterns (as described inPatternMatchUtils.simpleMatch(java.lang.String, java.lang.String)) to use in order to recognize custom redirect prefixes in addition to "redirect:".voidViewNameMethodReturnValueHandler.setRedirectPatterns(String... redirectPatterns) Configure one more simple patterns (as described inPatternMatchUtils.simpleMatch(java.lang.String, java.lang.String)) to use in order to recognize custom redirect prefixes in addition to "redirect:".voidRequestMappingHandlerAdapter.setRequestBodyAdvice(List<RequestBodyAdvice> requestBodyAdvice) Add one or moreRequestBodyAdviceinstances to intercept the request before it is read and converted for@RequestBodyandHttpEntitymethod arguments.voidExceptionHandlerExceptionResolver.setResponseBodyAdvice(List<ResponseBodyAdvice<?>> responseBodyAdvice) Add one or more components to be invoked after the execution of a controller method annotated with@ResponseBodyor returningResponseEntitybut before the body is written to the response with the selectedHttpMessageConverter.voidRequestMappingHandlerAdapter.setResponseBodyAdvice(List<ResponseBodyAdvice<?>> responseBodyAdvice) Add one or moreResponseBodyAdviceinstances to intercept the response before@ResponseBodyorResponseEntityreturn values are written to the response body.voidExceptionHandlerExceptionResolver.setReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers) Configure the complete list of supported return value types thus overriding handlers that would otherwise be configured by default.voidRequestMappingHandlerAdapter.setReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers) Configure the complete list of supported return value types thus overriding handlers that would otherwise be configured by default.voidRequestMappingHandlerAdapter.setWebBindingInitializer(WebBindingInitializer webBindingInitializer) Provide a WebBindingInitializer with "global" initialization to apply to every DataBinder instance.protected <T> voidAbstractMessageConverterMethodProcessor.writeWithMessageConverters(T value, MethodParameter returnType, ServletServerHttpRequest inputMessage, ServletServerHttpResponse outputMessage) Writes the given return type to the given output message.Constructor parameters in org.springframework.web.servlet.mvc.method.annotation with annotations of type NullableModifierConstructorDescriptionAbstractMessageConverterMethodArgumentResolver(List<HttpMessageConverter<?>> converters, List<Object> requestResponseBodyAdvice) Constructor with converters andRequest~andResponseBodyAdvice.protectedAbstractMessageConverterMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager contentNegotiationManager) Constructor with list of converters and ContentNegotiationManager.protectedAbstractMessageConverterMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager manager, List<Object> requestResponseBodyAdvice) Constructor with list of converters and ContentNegotiationManager as well as request/response body advice instances.protectedAbstractMessageConverterMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager manager, List<Object> requestResponseBodyAdvice) Constructor with list of converters and ContentNegotiationManager as well as request/response body advice instances.AsyncTaskMethodReturnValueHandler(BeanFactory beanFactory) DataWithMediaType(Object data, MediaType mediaType) Create a new instance, with default object name.ExtendedServletRequestDataBinder(Object target, String objectName) Create a new instance.HttpEntityMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager manager, List<Object> requestResponseBodyAdvice) Complete constructor for resolvingHttpEntityand handlingResponseEntity.MethodArgumentBuilder(UriComponentsBuilder baseUrl, Class<?> controllerType, Method method) Create a newMvcUriComponentsBuilder.MethodArgumentBuilderinstance.ModelAndViewResolverMethodReturnValueHandler(List<ModelAndViewResolver> mavResolvers) Create a new instance.RequestResponseBodyMethodProcessor(List<HttpMessageConverter<?>> converters, List<Object> requestResponseBodyAdvice) Complete constructor for resolving@RequestBodymethod arguments.RequestResponseBodyMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager manager) Basic constructor with converters andContentNegotiationManager.RequestResponseBodyMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager manager, List<Object> requestResponseBodyAdvice) Complete constructor for resolving@RequestBodyand handling@ResponseBody.RequestResponseBodyMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager manager, List<Object> requestResponseBodyAdvice) Complete constructor for resolving@RequestBodyand handling@ResponseBody.ServletInvocableHandlerMethod(Object handler, Method method, MessageSource messageSource) Variant ofServletInvocableHandlerMethod(Object, Method)that also accepts aMessageSource, e.g.ServletRequestDataBinderFactory(List<InvocableHandlerMethod> binderMethods, WebBindingInitializer initializer) Create a new instance.ServletRequestDataBinderFactory(List<InvocableHandlerMethod> binderMethods, WebBindingInitializer initializer) Create a new instance. -
Uses of Nullable in org.springframework.web.servlet.mvc.support
Methods in org.springframework.web.servlet.mvc.support with annotations of type NullableModifier and TypeMethodDescriptionprotected ModelAndViewDefaultHandlerExceptionResolver.doResolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) protected ModelAndViewDefaultHandlerExceptionResolver.handleAsyncRequestTimeoutException(AsyncRequestTimeoutException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case where an async request timed out.protected ModelAndViewDefaultHandlerExceptionResolver.handleHttpMediaTypeNotAcceptable(HttpMediaTypeNotAcceptableException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case where no message converters were found that were acceptable for the client (expressed via theAcceptheader).protected ModelAndViewDefaultHandlerExceptionResolver.handleHttpMediaTypeNotSupported(HttpMediaTypeNotSupportedException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case where no message converters were found for PUT or POSTed content.protected ModelAndViewDefaultHandlerExceptionResolver.handleHttpRequestMethodNotSupported(HttpRequestMethodNotSupportedException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case where no handler was found for the HTTP method.protected ModelAndViewDefaultHandlerExceptionResolver.handleMethodArgumentNotValidException(MethodArgumentNotValidException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case where an argument annotated with@Validsuch as anRequestBodyorRequestPartargument fails validation.protected ModelAndViewDefaultHandlerExceptionResolver.handleMissingPathVariable(MissingPathVariableException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case when a declared path variable does not match any extracted URI variable.protected ModelAndViewDefaultHandlerExceptionResolver.handleMissingServletRequestParameter(MissingServletRequestParameterException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case when a required parameter is missing.protected ModelAndViewDefaultHandlerExceptionResolver.handleMissingServletRequestPartException(MissingServletRequestPartException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case where an @RequestPart, aMultipartFile, or ajakarta.servlet.http.Partargument is required but is missing.protected ModelAndViewDefaultHandlerExceptionResolver.handleNoHandlerFoundException(NoHandlerFoundException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case where no handler was found during the dispatch.protected ModelAndViewDefaultHandlerExceptionResolver.handleServletRequestBindingException(ServletRequestBindingException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case when an unrecoverable binding exception occurs - e.g.Method parameters in org.springframework.web.servlet.mvc.support with annotations of type NullableModifier and TypeMethodDescriptionRedirectAttributesModelMap.addAllAttributes(Collection<?> attributeValues) Copy all attributes in the suppliedCollectioninto thisMap, using attribute name generation for each element.RedirectAttributesModelMap.addAllAttributes(Map<String, ?> attributes) Copy all attributes in the suppliedMapinto thisMap.RedirectAttributes.addAttribute(String attributeName, Object attributeValue) RedirectAttributesModelMap.addAttribute(String attributeName, Object attributeValue) Add the supplied attribute under the supplied name.RedirectAttributes.addFlashAttribute(String attributeName, Object attributeValue) Add the given flash attribute.RedirectAttributesModelMap.addFlashAttribute(String attributeName, Object attributeValue) protected ModelAndViewDefaultHandlerExceptionResolver.doResolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) protected ModelAndViewDefaultHandlerExceptionResolver.handleAsyncRequestNotUsableException(AsyncRequestNotUsableException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case of an I/O failure from the ServletOutputStream.protected ModelAndViewDefaultHandlerExceptionResolver.handleAsyncRequestTimeoutException(AsyncRequestTimeoutException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case where an async request timed out.protected ModelAndViewDefaultHandlerExceptionResolver.handleBindException(BindException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Deprecated, for removal: This API element is subject to removal in a future version.as of 6.0 sinceModelAttributeMethodProcessornow raises theMethodArgumentNotValidExceptionsubclass instead.protected ModelAndViewDefaultHandlerExceptionResolver.handleConversionNotSupported(ConversionNotSupportedException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case when aWebDataBinderconversion cannot occur.protected ModelAndViewDefaultHandlerExceptionResolver.handleErrorResponse(ErrorResponse errorResponse, HttpServletRequest request, HttpServletResponse response, Object handler) Handle anErrorResponseexception.protected ModelAndViewDefaultHandlerExceptionResolver.handleHttpMediaTypeNotAcceptable(HttpMediaTypeNotAcceptableException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case where no message converters were found that were acceptable for the client (expressed via theAcceptheader).protected ModelAndViewDefaultHandlerExceptionResolver.handleHttpMediaTypeNotSupported(HttpMediaTypeNotSupportedException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case where no message converters were found for PUT or POSTed content.protected ModelAndViewDefaultHandlerExceptionResolver.handleHttpMessageNotReadable(HttpMessageNotReadableException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case where a message converter cannot read from an HTTP request.protected ModelAndViewDefaultHandlerExceptionResolver.handleHttpMessageNotWritable(HttpMessageNotWritableException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case where a message converter cannot write to an HTTP response.protected ModelAndViewDefaultHandlerExceptionResolver.handleHttpRequestMethodNotSupported(HttpRequestMethodNotSupportedException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case where no handler was found for the HTTP method.protected ModelAndViewDefaultHandlerExceptionResolver.handleMethodArgumentNotValidException(MethodArgumentNotValidException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case where an argument annotated with@Validsuch as anRequestBodyorRequestPartargument fails validation.protected ModelAndViewDefaultHandlerExceptionResolver.handleMissingPathVariable(MissingPathVariableException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case when a declared path variable does not match any extracted URI variable.protected ModelAndViewDefaultHandlerExceptionResolver.handleMissingServletRequestParameter(MissingServletRequestParameterException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case when a required parameter is missing.protected ModelAndViewDefaultHandlerExceptionResolver.handleMissingServletRequestPartException(MissingServletRequestPartException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case where an @RequestPart, aMultipartFile, or ajakarta.servlet.http.Partargument is required but is missing.protected ModelAndViewDefaultHandlerExceptionResolver.handleNoHandlerFoundException(NoHandlerFoundException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case where no handler was found during the dispatch.protected ModelAndViewDefaultHandlerExceptionResolver.handleServletRequestBindingException(ServletRequestBindingException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case when an unrecoverable binding exception occurs - e.g.protected ModelAndViewDefaultHandlerExceptionResolver.handleTypeMismatch(TypeMismatchException ex, HttpServletRequest request, HttpServletResponse response, Object handler) Handle the case when aWebDataBinderconversion error occurs.RedirectAttributesModelMap.mergeAttributes(Map<String, ?> attributes) Copy all attributes in the suppliedMapinto thisMap, with existing objects of the same name taking precedence (i.e.voidConstructor parameters in org.springframework.web.servlet.mvc.support with annotations of type NullableModifierConstructorDescriptionRedirectAttributesModelMap(DataBinder dataBinder) Constructor with a DataBinder. -
Uses of Nullable in org.springframework.web.servlet.resource
Methods in org.springframework.web.servlet.resource with annotations of type NullableModifier and TypeMethodDescriptionAbstractVersionStrategy.extractVersion(String requestPath) AbstractVersionStrategy.FileNameVersionPathStrategy.extractVersion(String requestPath) AbstractVersionStrategy.PrefixVersionPathStrategy.extractVersion(String requestPath) VersionPathStrategy.extractVersion(String requestPath) Extract the resource version from the request path.protected StringWebJarsResourceResolver.findWebJarResourcePath(String path) Resource[]PathResourceResolver.getAllowedLocations()ResourceHttpRequestHandler.getContentNegotiationManager()Deprecated.as of 5.2.4ResourceHttpRequestHandler.getCorsConfiguration(HttpServletRequest request) Return the specified CORS configuration.TransformedResource.getFilename()final StringResourceUrlProvider.getForLookupPath(String lookupPath) Compare the given path against configured resource handler mappings and if a match is found use theResourceResolverchain of the matchedResourceHttpRequestHandlerto resolve the URL path to expose for public use.final StringResourceUrlProvider.getForRequestUrl(HttpServletRequest request, String requestUrl) A variation onResourceUrlProvider.getForLookupPath(String)that accepts a full request URL path (i.e.protected MediaTypeResourceHttpRequestHandler.getMediaType(HttpServletRequest request, Resource resource) Determine the media type for the given request and the resource matched to it.protected ResourcePathResourceResolver.getResource(String resourcePath, Resource location) Find the resource under the given location.protected ResourceResourceHttpRequestHandler.getResource(HttpServletRequest request) ResourceHttpRequestHandler.getResourceHttpMessageConverter()Return the configured resource converter.ResourceHttpRequestHandler.getResourceRegionHttpMessageConverter()Return the configured resource region converter.ResourceTransformerSupport.getResourceUrlProvider()Return the configuredResourceUrlProvider.protected VersionStrategyVersionResourceResolver.getStrategyForPath(String requestPath) Find aVersionStrategyfor the request path of the requested resource.PathResourceResolver.getUrlPathHelper()The configuredUrlPathHelper.ResourceHttpRequestHandler.getUrlPathHelper()The configuredUrlPathHelper.protected PathExtensionContentNegotiationStrategyResourceHttpRequestHandler.initContentNegotiationStrategy()Deprecated.as of 5.2.4 this method returnsnull, and if a subclass returns an actual instance, the instance is used only as a source of media type mappings, if it contains any.AbstractResourceResolver.resolveResource(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) ResourceResolver.resolveResource(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) Resolve the supplied request and request path to aResourcethat exists under one of the given resource locations.ResourceResolverChain.resolveResource(HttpServletRequest request, String requestPath, List<? extends Resource> locations) Resolve the supplied request and request path to aResourcethat exists under one of the given resource locations.protected abstract ResourceAbstractResourceResolver.resolveResourceInternal(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) protected ResourceCachingResourceResolver.resolveResourceInternal(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) protected ResourceEncodedResourceResolver.resolveResourceInternal(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) protected ResourcePathResourceResolver.resolveResourceInternal(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) protected ResourceVersionResourceResolver.resolveResourceInternal(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) protected ResourceWebJarsResourceResolver.resolveResourceInternal(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) AbstractResourceResolver.resolveUrlPath(String resourceUrlPath, List<? extends Resource> locations, ResourceResolverChain chain) ResourceResolver.resolveUrlPath(String resourcePath, List<? extends Resource> locations, ResourceResolverChain chain) Resolve the externally facing public URL path for clients to use to access the resource that is located at the given internal resource path.ResourceResolverChain.resolveUrlPath(String resourcePath, List<? extends Resource> locations) Resolve the externally facing public URL path for clients to use to access the resource that is located at the given internal resource path.protected StringResourceTransformerSupport.resolveUrlPath(String resourcePath, HttpServletRequest request, Resource resource, ResourceTransformerChain transformerChain) A transformer can use this method when a resource being transformed contains links to other resources.protected abstract StringAbstractResourceResolver.resolveUrlPathInternal(String resourceUrlPath, List<? extends Resource> locations, ResourceResolverChain chain) protected StringCachingResourceResolver.resolveUrlPathInternal(String resourceUrlPath, List<? extends Resource> locations, ResourceResolverChain chain) protected StringEncodedResourceResolver.resolveUrlPathInternal(String resourceUrlPath, List<? extends Resource> locations, ResourceResolverChain chain) protected StringPathResourceResolver.resolveUrlPathInternal(String resourcePath, List<? extends Resource> locations, ResourceResolverChain chain) protected StringVersionResourceResolver.resolveUrlPathInternal(String resourceUrlPath, List<? extends Resource> locations, ResourceResolverChain chain) protected StringWebJarsResourceResolver.resolveUrlPathInternal(String resourceUrlPath, List<? extends Resource> locations, ResourceResolverChain chain) Method parameters in org.springframework.web.servlet.resource with annotations of type NullableModifier and TypeMethodDescriptionprotected StringCachingResourceResolver.computeKey(HttpServletRequest request, String requestPath) AbstractResourceResolver.resolveResource(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) ResourceResolver.resolveResource(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) Resolve the supplied request and request path to aResourcethat exists under one of the given resource locations.ResourceResolverChain.resolveResource(HttpServletRequest request, String requestPath, List<? extends Resource> locations) Resolve the supplied request and request path to aResourcethat exists under one of the given resource locations.protected abstract ResourceAbstractResourceResolver.resolveResourceInternal(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) protected ResourceCachingResourceResolver.resolveResourceInternal(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) protected ResourceEncodedResourceResolver.resolveResourceInternal(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) protected ResourcePathResourceResolver.resolveResourceInternal(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) protected ResourceVersionResourceResolver.resolveResourceInternal(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) protected ResourceWebJarsResourceResolver.resolveResourceInternal(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) voidPathResourceResolver.setAllowedLocations(Resource... locations) By default, when a Resource is found, the path of the resolved resource is compared to ensure it's under the input location where it was found.voidResourceHttpRequestHandler.setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager) Deprecated.as of 5.2.4 in favor of usingResourceHttpRequestHandler.setMediaTypes(Map)with mappings possibly obtained fromContentNegotiationManager.getMediaTypeMappings().voidResourceUrlProvider.setHandlerMap(Map<String, ResourceHttpRequestHandler> handlerMap) Manually configure the resource mappings.protected voidResourceHttpRequestHandler.setHeaders(HttpServletResponse response, Resource resource, MediaType mediaType) Set headers on the given servlet response.voidResourceHttpRequestHandler.setResourceHttpMessageConverter(ResourceHttpMessageConverter messageConverter) Configure theResourceHttpMessageConverterto use.voidResourceHttpRequestHandler.setResourceRegionHttpMessageConverter(ResourceRegionHttpMessageConverter messageConverter) Configure theResourceRegionHttpMessageConverterto use.voidResourceHttpRequestHandler.setResourceResolvers(List<ResourceResolver> resourceResolvers) Configure the list ofResourceResolversto use.voidResourceHttpRequestHandler.setResourceTransformers(List<ResourceTransformer> resourceTransformers) Configure the list ofResourceTransformersto use.voidResourceTransformerSupport.setResourceUrlProvider(ResourceUrlProvider resourceUrlProvider) Configure aResourceUrlProviderto use when resolving the public URL of links in a transformed resource (e.g.voidPathResourceResolver.setUrlPathHelper(UrlPathHelper urlPathHelper) Provide a reference to theUrlPathHelperused to map requests to static resources.voidResourceHttpRequestHandler.setUrlPathHelper(UrlPathHelper urlPathHelper) Provide a reference to theUrlPathHelperused to map requests to static resources. -
Uses of Nullable in org.springframework.web.servlet.support
Methods in org.springframework.web.servlet.support with annotations of type NullableModifier and TypeMethodDescriptionprotected WebApplicationContextAbstractAnnotationConfigDispatcherServletInitializer.createRootApplicationContext()Create the "root" application context to be provided to theContextLoaderListener.BindStatus.findEditor(Class<?> valueClass) Find a PropertyEditor for the given value class, associated with the property that this bound status is currently bound to.static WebApplicationContextRequestContextUtils.findWebApplicationContext(HttpServletRequest request) Look for the WebApplicationContext associated with the DispatcherServlet that has initiated request processing, and for the global context if none was found associated with the current request.static WebApplicationContextRequestContextUtils.findWebApplicationContext(HttpServletRequest request, ServletContext servletContext) Look for the WebApplicationContext associated with the DispatcherServlet that has initiated request processing, and for the global context if none was found associated with the current request.BindStatus.getActualValue()Return the actual value of the field, i.e.protected StringWebContentGenerator.getAllowHeader()Return the "Allow" header value to use in response to an HTTP OPTIONS request based on the configuredsupported methodsalso automatically adding "OPTIONS" to the list even if not present as a supported method.final CacheControlWebContentGenerator.getCacheControl()Get theCacheControlinstance that builds the Cache-Control HTTP response header.RequestContext.getDefaultHtmlEscape()Return the default HTML escape setting, differentiating between no default specified and an explicit value.BindStatus.getEditor()Return the PropertyEditor for the property that this bind status is currently bound to.BindStatus.getErrors()Return the Errors instance (typically a BindingResult) that this bind status is currently associated with.Retrieve the Errors instance for the given bind object, using the "defaultHtmlEscape" setting.Retrieve the Errors instance for the given bind object.BindStatus.getExpression()Return a bind expression that can be used in HTML forms as input name for the respective field, ornullif not field-specific.RequestDataValueProcessor.getExtraHiddenFields(HttpServletRequest request) Invoked after all form fields have been rendered.protected TimeZoneRequestContext.getFallbackTimeZone()Determine the fallback time zone for this context.static FlashMapManagerRequestContextUtils.getFlashMapManager(HttpServletRequest request) Return theFlashMapManagerinstance to save flash attributes.protected ObjectAbstractFlashMapManager.getFlashMapsMutex(HttpServletRequest request) Obtain a mutex for modifying the FlashMap List as handled byAbstractFlashMapManager.retrieveFlashMaps(jakarta.servlet.http.HttpServletRequest)andAbstractFlashMapManager.updateFlashMaps(java.util.List<org.springframework.web.servlet.FlashMap>, jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse),RequestContextUtils.getInputFlashMap(HttpServletRequest request) Return read-only "input" flash attributes from request before redirect.static LocaleResolverRequestContextUtils.getLocaleResolver(HttpServletRequest request) Return theLocaleResolverthat has been bound to the request by theDispatcherServlet.RequestContext.getModel()Return the model Map that this RequestContext encapsulates, if any.protected ObjectRequestContext.getModelObject(String modelName) Retrieve the model object for the given model name, either from the model or from the request attributes.RequestContext.getRequestDataValueProcessor()Return the RequestDataValueProcessor instance to use obtained from the WebApplicationContext under the name"requestDataValueProcessor".RequestContext.getResponseEncodedHtmlEscape()Return the default setting about use of response encoding for HTML escape setting, differentiating between no default specified and an explicit value.protected abstract Class<?>[]AbstractAnnotationConfigDispatcherServletInitializer.getRootConfigClasses()protected ApplicationContextInitializer<?>[]AbstractDispatcherServletInitializer.getServletApplicationContextInitializers()Specify application context initializers to be applied to the servlet-specific application context that theDispatcherServletis being created with.protected abstract Class<?>[]AbstractAnnotationConfigDispatcherServletInitializer.getServletConfigClasses()protected final ServletContextRequestContext.getServletContext()Return the underlying ServletContext.protected Filter[]AbstractDispatcherServletInitializer.getServletFilters()Specify filters to add and map to theDispatcherServlet.final String[]WebContentGenerator.getSupportedMethods()Return the HTTP methods that this content generator supports.static ThemeRequestContextUtils.getTheme(HttpServletRequest request) Deprecated.as of 6.0, with no direct replacementstatic ThemeResolverRequestContextUtils.getThemeResolver(HttpServletRequest request) Deprecated.as of 6.0, with no direct replacementstatic ThemeSourceRequestContextUtils.getThemeSource(HttpServletRequest request) Deprecated.as of 6.0, with no direct replacementRequestContext.getTimeZone()Return the current TimeZone (ornullif none derivable from the request).static TimeZoneRequestContextUtils.getTimeZone(HttpServletRequest request) Retrieve the current time zone from the given request, using theTimeZoneAwareLocaleContextin theLocaleResolverbound to the request by theDispatcherServlet(if available).BindStatus.getValue()Return the current value of the field, i.e.Class<?>BindStatus.getValueType()Get the 'Class' type of the field.final String[]WebContentGenerator.getVaryByRequestHeaders()Return the configured request header names for the "Vary" response header.ServletUriComponentsBuilder.removePathExtension()Remove any path extension from therequestURI.final FlashMapAbstractFlashMapManager.retrieveAndUpdate(HttpServletRequest request, HttpServletResponse response) AbstractFlashMapManager.retrieveFlashMaps(HttpServletRequest request) Retrieve saved FlashMap instances from the underlying storage.SessionFlashMapManager.retrieveFlashMaps(HttpServletRequest request) Retrieves saved FlashMap instances from the HTTP session, if any.Method parameters in org.springframework.web.servlet.support with annotations of type NullableModifier and TypeMethodDescriptionvoidRequestContext.changeTheme(Theme theme) Deprecated.as of 6.0, with no direct replacementstatic voidJstlUtils.exposeLocalizationContext(HttpServletRequest request, MessageSource messageSource) Exposes JSTL-specific request attributes specifying locale and resource bundle for JSTL's formatting and message tags, using Spring's locale and MessageSource.static WebApplicationContextRequestContextUtils.findWebApplicationContext(HttpServletRequest request, ServletContext servletContext) Look for the WebApplicationContext associated with the DispatcherServlet that has initiated request processing, and for the global context if none was found associated with the current request.static MessageSourceJstlUtils.getJstlAwareMessageSource(ServletContext servletContext, MessageSource messageSource) Checks JSTL's "jakarta.servlet.jsp.jstl.fmt.localizationContext" context-param and creates a corresponding child message source, with the provided Spring-defined MessageSource as parent.RequestContext.getMessage(String code, Object[] args) Retrieve the message for the given code, using the "defaultHtmlEscape" setting.RequestContext.getMessage(String code, Object[] args, boolean htmlEscape) Retrieve the message for the given code.RequestContext.getMessage(String code, Object[] args, String defaultMessage) Retrieve the message for the given code, using the "defaultHtmlEscape" setting.RequestContext.getMessage(String code, Object[] args, String defaultMessage, boolean htmlEscape) Retrieve the message for the given code.RequestContext.getMessage(String code, List<?> args) Retrieve the message for the given code, using the "defaultHtmlEscape" setting.RequestContext.getMessage(String code, List<?> args, String defaultMessage) Retrieve the message for the given code, using the "defaultHtmlEscape" setting.RequestContext.getThemeMessage(String code, Object[] args) Deprecated.as of 6.0, with no direct replacementRequestContext.getThemeMessage(String code, Object[] args, String defaultMessage) Deprecated.as of 6.0, with no direct replacementRequestContext.getThemeMessage(String code, List<?> args) Deprecated.as of 6.0, with no direct replacementRequestContext.getThemeMessage(String code, List<?> args, String defaultMessage) Deprecated.as of 6.0, with no direct replacementRequestDataValueProcessor.processFormFieldValue(HttpServletRequest request, String name, String value, String type) Invoked when a form field value is rendered.final voidWebContentGenerator.setCacheControl(CacheControl cacheControl) Set theCacheControlinstance to build the Cache-Control HTTP response header.final voidWebContentGenerator.setSupportedMethods(String... methods) Set the HTTP methods that this content generator should support.final voidWebContentGenerator.setVaryByRequestHeaders(String... varyByRequestHeaders) Configure one or more request header names (e.g.Constructor parameters in org.springframework.web.servlet.support with annotations of type NullableModifierConstructorDescriptionJspAwareRequestContext(PageContext pageContext, Map<String, Object> model) Create a new JspAwareRequestContext for the given page context, using the given model attributes for Errors retrieval.RequestContext(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext, Map<String, Object> model) Create a new RequestContext for the given request, using the given model attributes for Errors retrieval.RequestContext(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext, Map<String, Object> model) Create a new RequestContext for the given request, using the given model attributes for Errors retrieval.RequestContext(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext, Map<String, Object> model) Create a new RequestContext for the given request, using the given model attributes for Errors retrieval.RequestContext(HttpServletRequest request, ServletContext servletContext) Create a new RequestContext for the given request, using the request attributes for Errors retrieval.RequestContext(HttpServletRequest request, Map<String, Object> model) Create a new RequestContext for the given request, using the given model attributes for Errors retrieval. -
Uses of Nullable in org.springframework.web.servlet.tags
Methods in org.springframework.web.servlet.tags with annotations of type NullableModifier and TypeMethodDescriptionfinal PropertyEditorBindTag.getEditor()EditorAwareTag.getEditor()Retrieve the PropertyEditor for the property that this tag is currently bound to.final ErrorsBindErrorsTag.getErrors()Retrieve the Errors instance that this tag is currently bound to.final ErrorsBindTag.getErrors()Retrieve the Errors instance that this tag is currently bound to.Param.getName()Return the raw parameter name.NestedPathTag.getPath()Return the path that this tag applies to.final StringBindTag.getProperty()Retrieve the property that this tag is currently bound to, ornullif bound to an object rather than a specific property.Param.getValue()Return the raw parameter value.protected Object[]MessageTag.resolveArguments(Object arguments) Resolve the given arguments Object into an arguments array.Method parameters in org.springframework.web.servlet.tags with annotations of type NullableModifier and TypeMethodDescriptionvoidArgumentAware.addArgument(Object argument) Callback hook for nested spring:argument tags to pass their value to the parent tag.voidMessageTag.addArgument(Object argument) protected Object[]MessageTag.resolveArguments(Object arguments) Resolve the given arguments Object into an arguments array.voidSet the raw name of the parameter.voidSet the path that this tag should apply.voidSet the raw value of the parameter. -
Uses of Nullable in org.springframework.web.servlet.tags.form
Methods in org.springframework.web.servlet.tags.form with annotations of type NullableModifier and TypeMethodDescriptionprotected StringAbstractCheckedElementTag.autogenerateId()Return a unique ID for the bound name within the current PageContext.protected StringAbstractDataBoundFormElementTag.autogenerateId()Autogenerate the 'id' attribute value for this tag.protected ObjectEvaluate the supplied value for the supplied attribute name.protected StringFormTag.getAcceptCharset()Get the value of the 'acceptCharset' attribute.protected StringAbstractHtmlInputElementTag.getAccesskey()Get the value of the 'accesskey' attribute.protected StringFormTag.getAction()Get the value of the 'action' attribute.protected StringInputTag.getAlt()Get the value of the 'alt' attribute.protected StringFormTag.getAutocomplete()Get the value of the 'autocomplete' attribute.protected StringInputTag.getAutocomplete()Get the value of the 'autocomplete' attribute.protected final ObjectAbstractDataBoundFormElementTag.getBoundValue()Get the bound value.protected StringTextareaTag.getCols()Get the value of the 'cols' attribute.protected StringAbstractHtmlElementTag.getCssClass()Get the value of the 'class' attribute.protected StringAbstractHtmlElementTag.getCssErrorClass()The CSS class to use when the field bound to a particular tag has errors.protected StringAbstractHtmlElementTag.getCssStyle()Get the value of the 'style' attribute.AbstractMultiCheckedElementTag.getDelimiter()Return the delimiter to be used between each 'input type="radio"' tag.protected StringAbstractHtmlElementTag.getDir()Get the value of the 'dir' attribute.AbstractHtmlElementTag.getDynamicAttributes()Get the map of dynamic attributes.final PropertyEditorAbstractDataBoundFormElementTag.getEditor()Exposes thePropertyEditorforEditorAwareTag.protected StringFormTag.getEnctype()Get the value of the 'enctype' attribute.protected StringLabelTag.getFor()Get the value of the 'id' attribute.AbstractDataBoundFormElementTag.getId()Get the value of the 'id' attribute.protected StringAbstractMultiCheckedElementTag.getItemLabel()Get the value to be displayed as part of the 'input type="checkbox/radio"' tag.protected StringOptionsTag.getItemLabel()Get the name of the property mapped to the label (inner text) of the 'option' tag.protected StringSelectTag.getItemLabel()Get the value of the 'itemLabel' attribute.protected ObjectAbstractMultiCheckedElementTag.getItems()Get theCollection,Mapor array of objects used to generate the 'input type="checkbox/radio"' tags.protected ObjectOptionsTag.getItems()protected ObjectSelectTag.getItems()Get the value of the 'items' attribute.protected StringAbstractMultiCheckedElementTag.getItemValue()Get the name of the property mapped to the 'value' attribute of the 'input type="checkbox/radio"' tag.protected StringOptionsTag.getItemValue()Return the name of the property mapped to the 'value' attribute of the 'option' tag.protected StringSelectTag.getItemValue()Get the value of the 'itemValue' attribute.protected ObjectAbstractSingleCheckedElementTag.getLabel()Get the value of the 'label' attribute.protected StringOptionTag.getLabel()Get the text body of the rendered HTML<option>tag.protected StringAbstractHtmlElementTag.getLang()Get the value of the 'lang' attribute.protected StringInputTag.getMaxlength()Get the value of the 'maxlength' attribute.protected ObjectSelectTag.getMultiple()Get the value of the HTML 'multiple' attribute rendered on the final 'select' element.protected StringAbstractDataBoundFormElementTag.getName()Get the value for the HTML 'name' attribute.ButtonTag.getName()Set the value of the 'name' attribute.protected StringErrorsTag.getName()Get the value for the HTML 'name' attribute.protected StringFormTag.getName()Get the value of the 'name' attribute.protected StringLabelTag.getName()Overrides#getName()to always returnnull, because the 'name' attribute is not supported by the 'label' tag.protected StringAbstractDataBoundFormElementTag.getNestedPath()Get the value of the nested path that may have been exposed by theNestedPathTag.protected StringAbstractHtmlInputElementTag.getOnblur()Get the value of the 'onblur' attribute.protected StringAbstractHtmlInputElementTag.getOnchange()Get the value of the 'onchange' attribute.protected StringAbstractHtmlElementTag.getOnclick()Get the value of the 'onclick' attribute.protected StringAbstractHtmlElementTag.getOndblclick()Get the value of the 'ondblclick' attribute.protected StringAbstractHtmlInputElementTag.getOnfocus()Get the value of the 'onfocus' attribute.protected StringAbstractHtmlElementTag.getOnkeydown()Get the value of the 'onkeydown' attribute.protected StringAbstractHtmlElementTag.getOnkeypress()Get the value of the 'onkeypress' attribute.protected StringAbstractHtmlElementTag.getOnkeyup()Get the value of the 'onkeyup' attribute.protected StringAbstractHtmlElementTag.getOnmousedown()Get the value of the 'onmousedown' attribute.protected StringAbstractHtmlElementTag.getOnmousemove()Get the value of the 'onmousemove' attribute.protected StringAbstractHtmlElementTag.getOnmouseout()Get the value of the 'onmouseout' attribute.protected StringAbstractHtmlElementTag.getOnmouseover()Get the value of the 'onmouseover' attribute.protected StringAbstractHtmlElementTag.getOnmouseup()Get the value of the 'onmouseup' attribute.protected StringFormTag.getOnreset()Get the value of the 'onreset' attribute.protected StringInputTag.getOnselect()Get the value of the 'onselect' attribute.protected StringTextareaTag.getOnselect()Get the value of the 'onselect' attribute.protected StringFormTag.getOnsubmit()Get the value of the 'onsubmit' attribute.protected PropertyEditorAbstractDataBoundFormElementTag.getPropertyEditor()Get thePropertyEditor, if any, in use for value bound to this tag.protected StringTextareaTag.getRows()Get the value of the 'rows' attribute.protected StringFormTag.getServletRelativeAction()Get the servlet-relative value of the 'action' attribute.protected StringInputTag.getSize()Get the value of the 'size' attribute.protected StringSelectTag.getSize()Get the value of the 'size' attribute.protected StringAbstractHtmlElementTag.getTabindex()Get the value of the 'tabindex' attribute.FormTag.getTarget()Get the value of the 'target' attribute.protected StringAbstractHtmlElementTag.getTitle()Get the value of the 'title' attribute.protected ObjectAbstractSingleCheckedElementTag.getValue()Get the value of the 'value' attribute.ButtonTag.getValue()Get the value of the 'value' attribute.protected ObjectOptionTag.getValue()Get the 'value' attribute of the rendered HTML<option>tag.protected StringAbstractDataBoundFormElementTag.resolveId()Determine the 'id' attribute value for this tag, autogenerating one if none specified.Method parameters in org.springframework.web.servlet.tags.form with annotations of type NullableModifier and TypeMethodDescriptionprotected StringAbstractDataBoundFormElementTag.convertToDisplayString(Object value) Get a display String for the given value, converted by a PropertyEditor that the BindStatus may have registered for the value's Class.protected ObjectEvaluate the supplied value for the supplied attribute name.protected StringAbstractFormTag.getDisplayString(Object value) Get the display value of the suppliedObject, HTML escaped as required.protected StringAbstractFormTag.getDisplayString(Object value, PropertyEditor propertyEditor) Get the display value of the suppliedObject, HTML escaped as required.protected StringAbstractFormTag.getDisplayString(Object value, PropertyEditor propertyEditor) Get the display value of the suppliedObject, HTML escaped as required.protected final StringAbstractDataBoundFormElementTag.processFieldValue(String name, String value, String type) Process the given form field through aRequestDataValueProcessorinstance if one is configured or otherwise returns the same value.protected voidAbstractCheckedElementTag.renderFromValue(Object item, Object value, TagWriter tagWriter) Render the 'input(checkbox)' with the supplied value, marking the 'input' element as 'checked' if the supplied value matches the bound value.protected voidAbstractCheckedElementTag.renderFromValue(Object item, Object value, TagWriter tagWriter) Render the 'input(checkbox)' with the supplied value, marking the 'input' element as 'checked' if the supplied value matches the bound value.protected voidAbstractCheckedElementTag.renderFromValue(Object value, TagWriter tagWriter) Render the 'input(checkbox)' with the supplied value, marking the 'input' element as 'checked' if the supplied value matches the bound value.voidSet the value of the 'action' attribute.voidSet the value of the 'id' attribute.voidvoidFormTag.setServletRelativeAction(String servletRelativeAction) Set the value of the 'action' attribute through a value that is to be appended to the current servlet path.voidSet the value of the 'value' attribute.protected final voidAbstractFormTag.writeOptionalAttribute(TagWriter tagWriter, String attributeName, String value) Optionally writes the supplied value under the supplied attribute name into the suppliedTagWriter.voidTagWriter.writeOptionalAttributeValue(String attributeName, String attributeValue) Write an HTML attribute if the supplied value is notnullor zero length. -
Uses of Nullable in org.springframework.web.servlet.theme
Method parameters in org.springframework.web.servlet.theme with annotations of type NullableModifier and TypeMethodDescriptionvoidCookieThemeResolver.setThemeName(HttpServletRequest request, HttpServletResponse response, String themeName) Deprecated.voidCookieThemeResolver.setThemeName(HttpServletRequest request, HttpServletResponse response, String themeName) Deprecated.voidFixedThemeResolver.setThemeName(HttpServletRequest request, HttpServletResponse response, String themeName) Deprecated.voidFixedThemeResolver.setThemeName(HttpServletRequest request, HttpServletResponse response, String themeName) Deprecated.voidSessionThemeResolver.setThemeName(HttpServletRequest request, HttpServletResponse response, String themeName) Deprecated.voidSessionThemeResolver.setThemeName(HttpServletRequest request, HttpServletResponse response, String themeName) Deprecated. -
Uses of Nullable in org.springframework.web.servlet.view
Methods in org.springframework.web.servlet.view with annotations of type NullableModifier and TypeMethodDescriptionprotected ViewAbstractCachingViewResolver.createView(String viewName, Locale locale) Create the actual View object.AbstractView.getBeanName()Return the view's name.ContentNegotiatingViewResolver.getContentNegotiationManager()Return theContentNegotiationManagerto use to determine requested media types.AbstractView.getContentType()Return the content type for this view.protected StringUrlBasedViewResolver.getContentType()Return the content type for all views, if any.protected BooleanUrlBasedViewResolver.getExposeContextBeansAsAttributes()protected String[]UrlBasedViewResolver.getExposedContextBeanNames()protected BooleanUrlBasedViewResolver.getExposePathVariables()Return whether views resolved by this resolver should add path variables to the model or not.String[]RedirectView.getHosts()Return the configured application hosts.ContentNegotiatingViewResolver.getMediaTypes(HttpServletRequest request) Determines the list ofMediaTypefor the givenHttpServletRequest.String[]UrlBasedViewResolver.getRedirectHosts()Return the configured application hosts for redirect purposes.AbstractView.getRequestContextAttribute()Return the name of the RequestContext attribute, if any.protected StringUrlBasedViewResolver.getRequestContextAttribute()Return the name of the RequestContext attribute for all views, if any.protected RequestDispatcherInternalResourceView.getRequestDispatcher(HttpServletRequest request, String path) Obtain the RequestDispatcher to use for the forward/include.AbstractUrlBasedView.getUrl()Return the URL of the resource that this view wraps.protected Class<?>UrlBasedViewResolver.getViewClass()Return the view class to be used to create views.protected String[]UrlBasedViewResolver.getViewNames()Return the view names (or name patterns) that can be handled by thisViewResolver.protected abstract ViewSubclasses must implement this method, building a View object for the specified view.AbstractCachingViewResolver.resolveViewName(String viewName, Locale locale) BeanNameViewResolver.resolveViewName(String viewName, Locale locale) ContentNegotiatingViewResolver.resolveViewName(String viewName, Locale locale) ViewResolverComposite.resolveViewName(String viewName, Locale locale) protected StringDefaultRequestToViewNameTranslator.transformPath(String lookupPath) Transform the request URI (in the context of the webapp) stripping slashes and extensions, and replacing the separator as required.Method parameters in org.springframework.web.servlet.view with annotations of type NullableModifier and TypeMethodDescriptionAbstractView.createMergedOutputModel(Map<String, ?> model, HttpServletRequest request, HttpServletResponse response) Creates a combined output Map (nevernull) that includes dynamic values and static attributes.protected booleanRedirectView.isEligibleProperty(String key, Object value) Determine whether the given model element should be exposed as a query property.protected booleanRedirectView.isEligibleValue(Object value) Determine whether the given model element value is eligible for exposure.voidAbstractView.render(Map<String, ?> model, HttpServletRequest request, HttpServletResponse response) Prepares the view given the specified model, merging it with static attributes and a RequestContext attribute, if necessary.voidAbstractView.setAttributesCSV(String propString) Set static attributes as a CSV string.voidAbstractView.setAttributesMap(Map<String, ?> attributes) Set static attributes for this view from a Map.voidUrlBasedViewResolver.setAttributesMap(Map<String, ?> attributes) Set static attributes from a Map, for all views returned by this resolver.voidAbstractView.setBeanName(String beanName) Set the view's name.voidContentNegotiatingViewResolver.setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager) Set theContentNegotiationManagerto use to determine requested media types.voidAbstractView.setContentType(String contentType) Set the content type for this view.voidUrlBasedViewResolver.setContentType(String contentType) Set the content type for all views.voidUrlBasedViewResolver.setExposedContextBeanNames(String... exposedContextBeanNames) Specify the names of beans in the context which are supposed to be exposed.voidUrlBasedViewResolver.setExposePathVariables(Boolean exposePathVariables) Specify whether views resolved by this resolver should add path variables to the model or not.voidConfigure one or more hosts associated with the application.voidSet the prefix to prepend to generated view names.voidSet the prefix that gets prepended to view names when building a URL.voidUrlBasedViewResolver.setRedirectHosts(String... redirectHosts) Configure one or more hosts associated with the application.voidAbstractView.setRequestContextAttribute(String requestContextAttribute) Set the name of the RequestContext attribute for this view.voidUrlBasedViewResolver.setRequestContextAttribute(String requestContextAttribute) Set the name of the RequestContext attribute for all views.voidSet the suffix to append to generated view names.voidSet the suffix that gets appended to view names when building a URL.voidSet the URL of the resource that this view wraps.voidUrlBasedViewResolver.setViewClass(Class<?> viewClass) Set the view class that should be used to create views.voidUrlBasedViewResolver.setViewNames(String... viewNames) Set the view names (or name patterns) that can be handled by thisViewResolver. -
Uses of Nullable in org.springframework.web.servlet.view.freemarker
Methods in org.springframework.web.servlet.view.freemarker with annotations of type NullableModifier and TypeMethodDescriptionprotected freemarker.template.ConfigurationFreeMarkerView.getConfiguration()Return the FreeMarker configuration used by this view.protected StringFreeMarkerView.getEncoding()Return the encoding for the FreeMarker template.Method parameters in org.springframework.web.servlet.view.freemarker with annotations of type NullableModifier and TypeMethodDescriptionvoidFreeMarkerView.setConfiguration(freemarker.template.Configuration configuration) Set the FreeMarker Configuration to be used by this view.voidFreeMarkerView.setEncoding(String encoding) Set the encoding of the FreeMarker template file. -
Uses of Nullable in org.springframework.web.servlet.view.json
Methods in org.springframework.web.servlet.view.json with annotations of type NullableModifier and TypeMethodDescriptionMappingJackson2JsonView.getModelKeys()Return the attributes in the model that should be rendered by this view.Method parameters in org.springframework.web.servlet.view.json with annotations of type NullableModifier and TypeMethodDescriptionvoidMappingJackson2JsonView.setModelKeys(Set<String> modelKeys) Set the attributes in the model that should be rendered by this view. -
Uses of Nullable in org.springframework.web.servlet.view.script
Methods in org.springframework.web.servlet.view.script with annotations of type NullableModifier and TypeMethodDescriptionScriptTemplateConfig.getCharset()Return the charset used to read script and template files.ScriptTemplateConfigurer.getCharset()ScriptTemplateConfig.getContentType()Return the content type to use for the response.ScriptTemplateConfigurer.getContentType()Return the content type to use for the response.ScriptTemplateConfig.getEngine()Return theScriptEngineto use by the views.ScriptTemplateConfigurer.getEngine()ScriptTemplateConfig.getEngineName()Return the engine name that will be used to instantiate theScriptEngine.ScriptTemplateConfigurer.getEngineName()ScriptTemplateConfig.getEngineSupplier()Return the engine supplier that will be used to instantiate theScriptEngine.ScriptTemplateConfigurer.getEngineSupplier()ScriptTemplateConfig.getRenderFunction()Return the render function name (optional).ScriptTemplateConfigurer.getRenderFunction()ScriptTemplateConfig.getRenderObject()Return the object where the render function belongs (optional).ScriptTemplateConfigurer.getRenderObject()protected ResourceScriptTemplateView.getResource(String location) ScriptTemplateConfig.getResourceLoaderPath()Return the resource loader path(s) via a Spring resource location.ScriptTemplateConfigurer.getResourceLoaderPath()String[]ScriptTemplateConfig.getScripts()Return the scripts to be loaded by the script engine (library or user provided).String[]ScriptTemplateConfigurer.getScripts()ScriptTemplateConfig.isSharedEngine()Return whether to use a shared engine for all threads or whether to create thread-local engine instances for each thread.ScriptTemplateConfigurer.isSharedEngine()Method parameters in org.springframework.web.servlet.view.script with annotations of type NullableModifier and TypeMethodDescriptionvoidScriptTemplateConfigurer.setCharset(Charset charset) Set the charset used to read script and template files.voidScriptTemplateConfigurer.setContentType(String contentType) Set the content type to use for the response.voidScriptTemplateConfigurer.setEngine(ScriptEngine engine) Set theScriptEngineto use by the view.voidScriptTemplateConfigurer.setEngineName(String engineName) Set the engine name that will be used to instantiate theScriptEngine.voidScriptTemplateConfigurer.setEngineSupplier(Supplier<ScriptEngine> engineSupplier) Set theScriptEnginesupplier to use by the view, usually used withScriptTemplateConfigurer.setSharedEngine(Boolean)set tofalse.voidScriptTemplateConfigurer.setRenderFunction(String renderFunction) Set the render function name (optional).voidScriptTemplateConfigurer.setRenderObject(String renderObject) Set the object where the render function belongs (optional).voidScriptTemplateConfigurer.setResourceLoaderPath(String resourceLoaderPath) Set the resource loader path(s) via a Spring resource location.voidScriptTemplateConfigurer.setScripts(String... scriptNames) Set the scripts to be loaded by the script engine (library or user provided).voidScriptTemplateConfigurer.setSharedEngine(Boolean sharedEngine) When set tofalse, use thread-localScriptEngineinstances instead of one single shared instance. -
Uses of Nullable in org.springframework.web.servlet.view.xml
Methods in org.springframework.web.servlet.view.xml with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectMarshallingView.locateToBeMarshalled(Map<String, Object> model) Locate the object to be marshalled. -
Uses of Nullable in org.springframework.web.servlet.view.xslt
Methods in org.springframework.web.servlet.view.xslt with annotations of type NullableModifier and TypeMethodDescriptionprotected SourceXsltView.locateSource(Map<String, Object> model) Locate theSourceobject in the supplied model, converting objects as required.Method parameters in org.springframework.web.servlet.view.xslt with annotations of type NullableModifier and TypeMethodDescriptionprotected TransformerFactoryXsltView.newTransformerFactory(Class<? extends TransformerFactory> transformerFactoryClass) Instantiate a new TransformerFactory for this view.voidXsltView.setErrorListener(ErrorListener errorListener) Set an implementation of theErrorListenerinterface for custom handling of transformation errors and warnings. -
Uses of Nullable in org.springframework.web.socket
Methods in org.springframework.web.socket with annotations of type NullableModifier and TypeMethodDescriptionWebSocketSession.getAcceptedProtocol()Return the negotiated sub-protocol.Return the first header value for the given header name, if any.WebSocketSession.getLocalAddress()Return the address on which the request was received.WebSocketSession.getPrincipal()Return aPrincipalinstance containing the name of the authenticated user.CloseStatus.getReason()Return the reason, ornullif none.WebSocketSession.getRemoteAddress()Return the address of the remote client.WebSocketHttpHeaders.getSecWebSocketAccept()Returns the value of theSec-WebSocket-Acceptheader.WebSocketHttpHeaders.getSecWebSocketKey()Returns the value of theSec-WebSocket-Keyheader.WebSocketHttpHeaders.getSecWebSocketVersion()Returns the value of theSec-WebSocket-Versionheader.WebSocketSession.getUri()Return the URI used to open the WebSocket connection.Method parameters in org.springframework.web.socket with annotations of type NullableModifier and TypeMethodDescriptionvoidAdd the given, single header value under the given name.booleanbooleanbooleanbooleanvoidSet the given, single header value under the given name.voidWebSocketHttpHeaders.setSecWebSocketAccept(String secWebSocketAccept) Sets the (new) value of theSec-WebSocket-Acceptheader.voidWebSocketHttpHeaders.setSecWebSocketKey(String secWebSocketKey) Sets the (new) value of theSec-WebSocket-Keyheader.voidWebSocketHttpHeaders.setSecWebSocketVersion(String secWebSocketVersion) Sets the (new) value of theSec-WebSocket-Versionheader.Constructor parameters in org.springframework.web.socket with annotations of type NullableModifierConstructorDescriptionCloseStatus(int code, String reason) Create a newCloseStatusinstance.WebSocketExtension(String name, Map<String, String> parameters) Create a WebSocketExtension with the given name and parameters. -
Uses of Nullable in org.springframework.web.socket.adapter
Methods in org.springframework.web.socket.adapter with annotations of type NullableModifier and TypeMethodDescription<R> RAbstractWebSocketSession.getNativeSession(Class<R> requiredType) <T> TNativeWebSocketSession.getNativeSession(Class<T> requiredType) Return the underlying native WebSocketSession, if available.Method parameters in org.springframework.web.socket.adapter with annotations of type NullableModifier and TypeMethodDescription<R> RAbstractWebSocketSession.getNativeSession(Class<R> requiredType) <T> TNativeWebSocketSession.getNativeSession(Class<T> requiredType) Return the underlying native WebSocketSession, if available.Constructor parameters in org.springframework.web.socket.adapter with annotations of type NullableModifierConstructorDescriptionAbstractWebSocketSession(Map<String, Object> attributes) Create a new instance and associate the given attributes with it. -
Uses of Nullable in org.springframework.web.socket.adapter.jetty
Methods in org.springframework.web.socket.adapter.jetty with annotations of type NullableConstructor parameters in org.springframework.web.socket.adapter.jetty with annotations of type NullableModifierConstructorDescriptionJettyWebSocketSession(Map<String, Object> attributes, Principal user) Create a newJettyWebSocketSessioninstance associated with the given user. -
Uses of Nullable in org.springframework.web.socket.adapter.standard
Methods in org.springframework.web.socket.adapter.standard with annotations of type NullableModifier and TypeMethodDescriptionDecode the message into an object.Encode an object to a message.protected ApplicationContextConvertingEncoderDecoderSupport.getApplicationContext()Returns the activeApplicationContext.StandardWebSocketSession.getLocalAddress()StandardWebSocketSession.getRemoteAddress()StandardWebSocketSession.getUri()Constructor parameters in org.springframework.web.socket.adapter.standard with annotations of type NullableModifierConstructorDescriptionStandardWebSocketSession(HttpHeaders headers, Map<String, Object> attributes, InetSocketAddress localAddress, InetSocketAddress remoteAddress) Constructor for a standard WebSocket session.StandardWebSocketSession(HttpHeaders headers, Map<String, Object> attributes, InetSocketAddress localAddress, InetSocketAddress remoteAddress) Constructor for a standard WebSocket session.StandardWebSocketSession(HttpHeaders headers, Map<String, Object> attributes, InetSocketAddress localAddress, InetSocketAddress remoteAddress) Constructor for a standard WebSocket session.StandardWebSocketSession(HttpHeaders headers, Map<String, Object> attributes, InetSocketAddress localAddress, InetSocketAddress remoteAddress) Constructor for a standard WebSocket session.StandardWebSocketSession(HttpHeaders headers, Map<String, Object> attributes, InetSocketAddress localAddress, InetSocketAddress remoteAddress, Principal user) Constructor that associates a user with the WebSocket session.StandardWebSocketSession(HttpHeaders headers, Map<String, Object> attributes, InetSocketAddress localAddress, InetSocketAddress remoteAddress, Principal user) Constructor that associates a user with the WebSocket session.StandardWebSocketSession(HttpHeaders headers, Map<String, Object> attributes, InetSocketAddress localAddress, InetSocketAddress remoteAddress, Principal user) Constructor that associates a user with the WebSocket session.StandardWebSocketSession(HttpHeaders headers, Map<String, Object> attributes, InetSocketAddress localAddress, InetSocketAddress remoteAddress, Principal user) Constructor that associates a user with the WebSocket session.StandardWebSocketSession(HttpHeaders headers, Map<String, Object> attributes, InetSocketAddress localAddress, InetSocketAddress remoteAddress, Principal user) Constructor that associates a user with the WebSocket session. -
Uses of Nullable in org.springframework.web.socket.client
Methods in org.springframework.web.socket.client with annotations of type NullableModifier and TypeMethodDescriptionWebSocketConnectionManager.getOrigin()Return the configured origin.Method parameters in org.springframework.web.socket.client with annotations of type NullableModifier and TypeMethodDescriptiondefault ListenableFuture<WebSocketSession>WebSocketClient.doHandshake(WebSocketHandler webSocketHandler, WebSocketHttpHeaders headers, URI uri) Deprecated.as of 6.0, in favor ofWebSocketClient.execute(WebSocketHandler, WebSocketHttpHeaders, URI)AbstractWebSocketClient.execute(WebSocketHandler webSocketHandler, WebSocketHttpHeaders headers, URI uri) WebSocketClient.execute(WebSocketHandler webSocketHandler, WebSocketHttpHeaders headers, URI uri) Execute a handshake request to the given url and handle the resulting WebSocket session with the given handler.voidSet the origin to use. -
Uses of Nullable in org.springframework.web.socket.client.jetty
Methods in org.springframework.web.socket.client.jetty with annotations of type NullableModifier and TypeMethodDescriptionJettyWebSocketClient.getTaskExecutor()Deprecated, for removal: This API element is subject to removal in a future version.Return the configuredAsyncTaskExecutor.protected PrincipalJettyWebSocketClient.getUser()Deprecated, for removal: This API element is subject to removal in a future version.Return the user to make available throughWebSocketSession.getPrincipal().Method parameters in org.springframework.web.socket.client.jetty with annotations of type NullableModifier and TypeMethodDescriptionvoidJettyWebSocketClient.setTaskExecutor(AsyncTaskExecutor taskExecutor) Deprecated, for removal: This API element is subject to removal in a future version.Set anAsyncTaskExecutorto use when opening connections. -
Uses of Nullable in org.springframework.web.socket.client.standard
Methods in org.springframework.web.socket.client.standard with annotations of type NullableModifier and TypeMethodDescriptionStandardWebSocketClient.getTaskExecutor()Return the configuredAsyncTaskExecutor.Method parameters in org.springframework.web.socket.client.standard with annotations of type NullableModifier and TypeMethodDescriptionvoidStandardWebSocketClient.setTaskExecutor(AsyncTaskExecutor taskExecutor) Set anAsyncTaskExecutorto use when opening connections.voidStandardWebSocketClient.setUserProperties(Map<String, Object> userProperties) The standard Jakarta WebSocket API allows passing "user properties" to the server viauserProperties. -
Uses of Nullable in org.springframework.web.socket.config.annotation
Methods in org.springframework.web.socket.config.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected HandshakeHandlerAbstractWebSocketHandlerRegistration.getHandshakeHandler()protected IntegerWebSocketTransportRegistration.getMessageSizeLimit()Protected accessor for internal use.protected IntegerWebSocketTransportRegistration.getSendBufferSizeLimit()Protected accessor for internal use.protected IntegerWebSocketTransportRegistration.getSendTimeLimit()Protected accessor for internal use.protected SockJsServiceRegistrationAbstractWebSocketHandlerRegistration.getSockJsServiceRegistration()Expose theSockJsServiceRegistration-- if SockJS is enabled ornullotherwise -- so that it can be configured with a TaskScheduler if the application did not provide one.protected TaskSchedulerSockJsServiceRegistration.getTaskScheduler()Return the TaskScheduler, if configured.protected IntegerWebSocketTransportRegistration.getTimeToFirstMessage()Protected accessor for internal use.ServletWebSocketHandlerRegistry.getUrlPathHelper()protected UrlPathHelperWebMvcStompEndpointRegistry.getUrlPathHelper()Method parameters in org.springframework.web.socket.config.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected SimpUserRegistryWebSocketMessageBrokerConfigurationSupport.createLocalUserRegistry(Integer order) AbstractWebSocketHandlerRegistration.setHandshakeHandler(HandshakeHandler handshakeHandler) voidServletWebSocketHandlerRegistry.setUrlPathHelper(UrlPathHelper urlPathHelper) Set the UrlPathHelper to configure on theSimpleUrlHandlerMappingused to map handshake requests.voidWebMvcStompEndpointRegistry.setUrlPathHelper(UrlPathHelper urlPathHelper) Set the UrlPathHelper to configure on theHandlerMappingused to map handshake requests.WebSocketMessageBrokerConfigurationSupport.webSocketMessageBrokerStats(AbstractBrokerMessageHandler stompBrokerRelayMessageHandler, WebSocketHandler subProtocolWebSocketHandler, TaskExecutor inboundExecutor, TaskExecutor outboundExecutor, TaskScheduler scheduler) -
Uses of Nullable in org.springframework.web.socket.handler
Methods in org.springframework.web.socket.handler with annotations of type NullableConstructor parameters in org.springframework.web.socket.handler with annotations of type Nullable -
Uses of Nullable in org.springframework.web.socket.messaging
Methods in org.springframework.web.socket.messaging with annotations of type NullableModifier and TypeMethodDescriptionSubProtocolWebSocketHandler.getDefaultProtocolHandler()Return the default sub-protocol handler to use.StompSubProtocolHandler.getErrorHandler()Return the configured error handler.StompSubProtocolHandler.getHeaderInitializer()Return the configured header initializer.AbstractSubProtocolEvent.getUser()Return the user for the session associated with the event.Message<byte[]>StompSubProtocolErrorHandler.handleClientMessageProcessingError(Message<byte[]> clientMessage, Throwable ex) SubProtocolErrorHandler.handleClientMessageProcessingError(Message<P> clientMessage, Throwable ex) Handle errors thrown while processing client messages providing an opportunity to prepare the error message or to prevent one from being sent.Message<byte[]>StompSubProtocolErrorHandler.handleErrorMessageToClient(Message<byte[]> errorMessage) SubProtocolErrorHandler.handleErrorMessageToClient(Message<P> errorMessage) Handle errors sent from the server side to clients, e.g.StompSubProtocolHandler.resolveSessionId(Message<?> message) SubProtocolHandler.resolveSessionId(Message<?> message) Resolve the session id from the given message or returnnull.Method parameters in org.springframework.web.socket.messaging with annotations of type NullableModifier and TypeMethodDescriptionWebSocketStompClient.connect(String url, WebSocketHttpHeaders handshakeHeaders, StompHeaders connectHeaders, StompSessionHandler handler, Object... uriVariables) Deprecated.WebSocketStompClient.connect(String url, WebSocketHttpHeaders handshakeHeaders, StompHeaders connectHeaders, StompSessionHandler handler, Object... uriVariables) Deprecated.WebSocketStompClient.connect(String url, WebSocketHttpHeaders handshakeHeaders, StompSessionHandler handler, Object... uriVariables) Deprecated.WebSocketStompClient.connect(URI url, WebSocketHttpHeaders handshakeHeaders, StompHeaders connectHeaders, StompSessionHandler sessionHandler) Deprecated.WebSocketStompClient.connect(URI url, WebSocketHttpHeaders handshakeHeaders, StompHeaders connectHeaders, StompSessionHandler sessionHandler) Deprecated.WebSocketStompClient.connectAsync(String url, WebSocketHttpHeaders handshakeHeaders, StompHeaders connectHeaders, StompSessionHandler handler, Object... uriVariables) An overloaded version ofWebSocketStompClient.connect(String, StompSessionHandler, Object...)that also acceptsWebSocketHttpHeadersto use for the WebSocket handshake andStompHeadersfor the STOMP CONNECT frame.WebSocketStompClient.connectAsync(String url, WebSocketHttpHeaders handshakeHeaders, StompHeaders connectHeaders, StompSessionHandler handler, Object... uriVariables) An overloaded version ofWebSocketStompClient.connect(String, StompSessionHandler, Object...)that also acceptsWebSocketHttpHeadersto use for the WebSocket handshake andStompHeadersfor the STOMP CONNECT frame.WebSocketStompClient.connectAsync(String url, WebSocketHttpHeaders handshakeHeaders, StompSessionHandler handler, Object... uriVariables) An overloaded version ofWebSocketStompClient.connect(String, StompSessionHandler, Object...)that also acceptsWebSocketHttpHeadersto use for the WebSocket handshake.WebSocketStompClient.connectAsync(URI url, WebSocketHttpHeaders handshakeHeaders, StompHeaders connectHeaders, StompSessionHandler sessionHandler) An overloaded version ofWebSocketStompClient.connect(String, WebSocketHttpHeaders, StompSessionHandler, Object...)that accepts a fully preparedURI.WebSocketStompClient.connectAsync(URI url, WebSocketHttpHeaders handshakeHeaders, StompHeaders connectHeaders, StompSessionHandler sessionHandler) An overloaded version ofWebSocketStompClient.connect(String, WebSocketHttpHeaders, StompSessionHandler, Object...)that accepts a fully preparedURI.Message<byte[]>StompSubProtocolErrorHandler.handleClientMessageProcessingError(Message<byte[]> clientMessage, Throwable ex) SubProtocolErrorHandler.handleClientMessageProcessingError(Message<P> clientMessage, Throwable ex) Handle errors thrown while processing client messages providing an opportunity to prepare the error message or to prevent one from being sent.protected Message<byte[]>StompSubProtocolErrorHandler.handleInternal(StompHeaderAccessor errorHeaderAccessor, byte[] errorPayload, Throwable cause, StompHeaderAccessor clientHeaderAccessor) protected Message<byte[]>StompSubProtocolErrorHandler.handleInternal(StompHeaderAccessor errorHeaderAccessor, byte[] errorPayload, Throwable cause, StompHeaderAccessor clientHeaderAccessor) protected StompHeadersWebSocketStompClient.processConnectHeaders(StompHeaders connectHeaders) voidSubProtocolWebSocketHandler.setDefaultProtocolHandler(SubProtocolHandler defaultProtocolHandler) Set theSubProtocolHandlerto use when the client did not request a sub-protocol.voidStompSubProtocolHandler.setHeaderInitializer(MessageHeaderInitializer headerInitializer) Configure aMessageHeaderInitializerto apply to the headers of all messages created from decoded STOMP frames and other messages sent to the client inbound channel.voidWebSocketStompClient.setTaskScheduler(TaskScheduler taskScheduler) Configure a scheduler to use for heartbeats and for receipt tracking.booleanDefaultSimpUserRegistry.supportsSourceType(Class<?> sourceType) Constructor parameters in org.springframework.web.socket.messaging with annotations of type NullableModifierConstructorDescriptionprotectedAbstractSubProtocolEvent(Object source, Message<byte[]> message, Principal user) Create a new AbstractSubProtocolEvent.SessionConnectedEvent(Object source, Message<byte[]> message, Principal user) SessionConnectEvent(Object source, Message<byte[]> message, Principal user) SessionDisconnectEvent(Object source, Message<byte[]> message, String sessionId, CloseStatus closeStatus, Principal user) Create a new SessionDisconnectEvent.SessionSubscribeEvent(Object source, Message<byte[]> message, Principal user) SessionUnsubscribeEvent(Object source, Message<byte[]> message, Principal user) -
Uses of Nullable in org.springframework.web.socket.server
Method parameters in org.springframework.web.socket.server with annotations of type NullableModifier and TypeMethodDescriptionvoidHandshakeInterceptor.afterHandshake(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler wsHandler, Exception exception) Invoked after the handshake is done.voidRequestUpgradeStrategy.upgrade(ServerHttpRequest request, ServerHttpResponse response, String selectedProtocol, List<WebSocketExtension> selectedExtensions, Principal user, WebSocketHandler wsHandler, Map<String, Object> attributes) Perform runtime specific steps to complete the upgrade.voidRequestUpgradeStrategy.upgrade(ServerHttpRequest request, ServerHttpResponse response, String selectedProtocol, List<WebSocketExtension> selectedExtensions, Principal user, WebSocketHandler wsHandler, Map<String, Object> attributes) Perform runtime specific steps to complete the upgrade. -
Uses of Nullable in org.springframework.web.socket.server.jetty
Method parameters in org.springframework.web.socket.server.jetty with annotations of type NullableModifier and TypeMethodDescriptionvoidJettyRequestUpgradeStrategy.upgrade(ServerHttpRequest request, ServerHttpResponse response, String selectedProtocol, List<WebSocketExtension> selectedExtensions, Principal user, WebSocketHandler handler, Map<String, Object> attributes) voidJettyRequestUpgradeStrategy.upgrade(ServerHttpRequest request, ServerHttpResponse response, String selectedProtocol, List<WebSocketExtension> selectedExtensions, Principal user, WebSocketHandler handler, Map<String, Object> attributes) -
Uses of Nullable in org.springframework.web.socket.server.standard
Methods in org.springframework.web.socket.server.standard with annotations of type NullableModifier and TypeMethodDescriptionServletServerContainerFactoryBean.getAsyncSendTimeout()ServletServerContainerFactoryBean.getMaxBinaryMessageBufferSize()ServletServerContainerFactoryBean.getMaxSessionIdleTimeout()ServletServerContainerFactoryBean.getMaxTextMessageBufferSize()ServletServerContainerFactoryBean.getObject()protected ServerContainerServerEndpointExporter.getServerContainer()Return the JSR-356ServerContainerto use for endpoint registration.Method parameters in org.springframework.web.socket.server.standard with annotations of type NullableModifier and TypeMethodDescriptionvoidServerEndpointExporter.setServerContainer(ServerContainer serverContainer) Set the JSR-356ServerContainerto use for endpoint registration.voidAbstractStandardUpgradeStrategy.upgrade(ServerHttpRequest request, ServerHttpResponse response, String selectedProtocol, List<WebSocketExtension> selectedExtensions, Principal user, WebSocketHandler wsHandler, Map<String, Object> attrs) voidAbstractStandardUpgradeStrategy.upgrade(ServerHttpRequest request, ServerHttpResponse response, String selectedProtocol, List<WebSocketExtension> selectedExtensions, Principal user, WebSocketHandler wsHandler, Map<String, Object> attrs) protected abstract voidAbstractStandardUpgradeStrategy.upgradeInternal(ServerHttpRequest request, ServerHttpResponse response, String selectedProtocol, List<Extension> selectedExtensions, Endpoint endpoint) voidAbstractTyrusRequestUpgradeStrategy.upgradeInternal(ServerHttpRequest request, ServerHttpResponse response, String selectedProtocol, List<Extension> extensions, Endpoint endpoint) protected voidStandardWebSocketUpgradeStrategy.upgradeInternal(ServerHttpRequest request, ServerHttpResponse response, String selectedProtocol, List<Extension> selectedExtensions, Endpoint endpoint) -
Uses of Nullable in org.springframework.web.socket.server.support
Methods in org.springframework.web.socket.server.support with annotations of type NullableModifier and TypeMethodDescriptionprotected PrincipalAbstractHandshakeHandler.determineUser(ServerHttpRequest request, WebSocketHandler wsHandler, Map<String, Object> attributes) A method that can be used to associate a user with the WebSocket session in the process of being established.protected ObjectWebSocketHandlerMapping.getHandlerInternal(HttpServletRequest request) protected StringAbstractHandshakeHandler.selectProtocol(List<String> requestedProtocols, WebSocketHandler webSocketHandler) Perform the sub-protocol negotiation based on requested and supported sub-protocols.Method parameters in org.springframework.web.socket.server.support with annotations of type NullableModifier and TypeMethodDescriptionvoidHttpSessionHandshakeInterceptor.afterHandshake(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler wsHandler, Exception ex) voidOriginHandshakeInterceptor.afterHandshake(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler wsHandler, Exception exception) voidHandshakeInterceptorChain.applyAfterHandshake(ServerHttpRequest request, ServerHttpResponse response, Exception failure) voidWebSocketHttpRequestHandler.setHandshakeInterceptors(List<HandshakeInterceptor> interceptors) Configure one or more WebSocket handshake request interceptors.Constructor parameters in org.springframework.web.socket.server.support with annotations of type NullableModifierConstructorDescriptionHandshakeInterceptorChain(List<HandshakeInterceptor> interceptors, WebSocketHandler wsHandler) -
Uses of Nullable in org.springframework.web.socket.sockjs
Methods in org.springframework.web.socket.sockjs with annotations of type NullableModifier and TypeMethodDescriptionSockJsException.getSockJsSessionId()Return the SockJS session id.Method parameters in org.springframework.web.socket.sockjs with annotations of type NullableModifier and TypeMethodDescriptionvoidSockJsService.handleRequest(ServerHttpRequest request, ServerHttpResponse response, String sockJsPath, WebSocketHandler handler) Process a SockJS HTTP request.Constructor parameters in org.springframework.web.socket.sockjs with annotations of type NullableModifierConstructorDescriptionSockJsException(String message, String sessionId, Throwable cause) Constructor for SockJsException.SockJsException(String message, String sessionId, Throwable cause) Constructor for SockJsException.SockJsException(String message, Throwable cause) Constructor for SockJsException.SockJsTransportFailureException(String message, String sessionId, Throwable cause) Constructor for SockJsTransportFailureException.SockJsTransportFailureException(String message, Throwable cause) Constructor for SockJsTransportFailureException. -
Uses of Nullable in org.springframework.web.socket.sockjs.client
Methods in org.springframework.web.socket.sockjs.client with annotations of type NullableModifier and TypeMethodDescriptionString[]SockJsClient.getHttpHeaderNames()The configured HTTP header names to be copied from the handshake headers and also included in other HTTP requests.<T> TWebSocketClientSockJsSession.getNativeSession(Class<T> requiredType) protected PrincipalSockJsClient.getUser()Return the user to associate with the SockJS session and make available viaWebSocketSession.getPrincipal().TransportRequest.getUser()Return the user associated with the request, if any.Method parameters in org.springframework.web.socket.sockjs.client with annotations of type NullableModifier and TypeMethodDescriptionvoidAbstractClientSockJsSession.afterTransportClosed(CloseStatus closeStatus) SockJsClient.execute(WebSocketHandler handler, WebSocketHttpHeaders headers, URI url) AbstractXhrTransport.executeInfoRequest(URI infoUrl, HttpHeaders headers) InfoReceiver.executeInfoRequest(URI infoUrl, HttpHeaders headers) Perform an HTTP request to the SockJS "Info" URL.protected ResponseEntity<String>JettyXhrTransport.executeRequest(URI url, org.eclipse.jetty.http.HttpMethod method, HttpHeaders headers, String body) protected ResponseEntity<String>UndertowXhrTransport.executeRequest(URI url, io.undertow.util.HttpString method, HttpHeaders headers, String body) <T> TWebSocketClientSockJsSession.getNativeSession(Class<T> requiredType) voidSockJsClient.setHttpHeaderNames(String... httpHeaderNames) The names of HTTP headers that should be copied from the handshake headers of each call toWebSocketClient.doHandshake(WebSocketHandler, WebSocketHttpHeaders, URI)and also used with other HTTP requests issued as part of that SockJS connection, e.g. -
Uses of Nullable in org.springframework.web.socket.sockjs.frame
Methods in org.springframework.web.socket.sockjs.frame with annotations of type NullableModifier and TypeMethodDescriptionString[]String[]Decode the given SockJS message frame.String[]Jackson2SockJsMessageCodec.decodeInputStream(InputStream content) String[]SockJsMessageCodec.decodeInputStream(InputStream content) Decode the given SockJS message frame.SockJsFrame.getFrameData()Return data contained in a SockJS "message" and "close" frames.Method parameters in org.springframework.web.socket.sockjs.frame with annotations of type NullableModifier and TypeMethodDescriptionstatic SockJsFrameSockJsFrame.closeFrame(int code, String reason) boolean -
Uses of Nullable in org.springframework.web.socket.sockjs.support
Methods in org.springframework.web.socket.sockjs.support with annotations of type NullableModifier and TypeMethodDescriptionAbstractSockJsService.getCorsConfiguration(HttpServletRequest request) SockJsHttpRequestHandler.getCorsConfiguration(HttpServletRequest request) Method parameters in org.springframework.web.socket.sockjs.support with annotations of type NullableModifier and TypeMethodDescriptionfinal voidAbstractSockJsService.handleRequest(ServerHttpRequest request, ServerHttpResponse response, String sockJsPath, WebSocketHandler wsHandler) This method determines the SockJS path and handles SockJS static URLs. -
Uses of Nullable in org.springframework.web.socket.sockjs.transport
Methods in org.springframework.web.socket.sockjs.transport with annotations of type NullableMethod parameters in org.springframework.web.socket.sockjs.transport with annotations of type NullableModifier and TypeMethodDescriptionvoidTransportHandlingSockJsService.setHandshakeInterceptors(List<HandshakeInterceptor> interceptors) Configure one or more WebSocket handshake request interceptors. -
Uses of Nullable in org.springframework.web.socket.sockjs.transport.handler
Methods in org.springframework.web.socket.sockjs.transport.handler with annotations of type NullableModifier and TypeMethodDescriptionprotected final StringAbstractHttpSendingTransportHandler.getCallbackParam(ServerHttpRequest request) protected abstract String[]AbstractHttpReceivingTransportHandler.readMessages(ServerHttpRequest request) protected String[]XhrReceivingTransportHandler.readMessages(ServerHttpRequest request) -
Uses of Nullable in org.springframework.web.socket.sockjs.transport.session
Methods in org.springframework.web.socket.sockjs.transport.session with annotations of type NullableModifier and TypeMethodDescriptionAbstractHttpSockJsSession.getAcceptedProtocol()Return the selected sub-protocol to use.AbstractHttpSockJsSession.getLocalAddress()<T> TWebSocketServerSockJsSession.getNativeSession(Class<T> requiredType) AbstractHttpSockJsSession.getPrincipal()AbstractHttpSockJsSession.getRemoteAddress()WebSocketServerSockJsSession.getUri()Method parameters in org.springframework.web.socket.sockjs.transport.session with annotations of type NullableModifier and TypeMethodDescription<T> TWebSocketServerSockJsSession.getNativeSession(Class<T> requiredType) voidAbstractHttpSockJsSession.setAcceptedProtocol(String protocol) Unlike WebSocket where sub-protocol negotiation is part of the initial handshake, in HTTP transports the same negotiation must be emulated and the selected protocol set through this setter.Constructor parameters in org.springframework.web.socket.sockjs.transport.session with annotations of type NullableModifierConstructorDescriptionAbstractSockJsSession(String id, SockJsServiceConfig config, WebSocketHandler handler, Map<String, Object> attributes) Create a new instance.WebSocketServerSockJsSession(String id, SockJsServiceConfig config, WebSocketHandler handler, Map<String, Object> attributes) -
Uses of Nullable in org.springframework.web.util
Methods in org.springframework.web.util with annotations of type NullableModifier and TypeMethodDescriptionstatic StringUriUtils.extractFileExtension(String path) Extract the file extension from the given URI path.static StringWebUtils.findParameterValue(ServletRequest request, String name) Obtain a named parameter from the given request parameters.static StringWebUtils.findParameterValue(Map<String, ?> parameters, String name) Obtain a named parameter from the given request parameters.static CookieWebUtils.getCookie(HttpServletRequest request, String name) Retrieve the first cookie with the given name.CookieGenerator.getCookieDomain()Deprecated.Return the domain for cookies created by this generator, if any.CookieGenerator.getCookieMaxAge()Deprecated.Return the maximum age for cookies created by this generator.CookieGenerator.getCookieName()Deprecated.Return the given name for cookies created by this generator.static BooleanWebUtils.getDefaultHtmlEscape(ServletContext servletContext) Return whether default HTML escaping is enabled for the web application, i.e.final StringUriComponents.getFragment()Return the fragment.abstract StringUriComponents.getHost()Return the host.static <T> TWebUtils.getNativeRequest(ServletRequest request, Class<T> requiredType) Return an appropriate request object of the specified type, if available, unwrapping the given request as far as necessary.static <T> TWebUtils.getNativeResponse(ServletResponse response, Class<T> requiredType) Return an appropriate response object of the specified type, if available, unwrapping the given response as far as necessary.abstract StringUriComponents.getPath()Return the path.abstract StringUriComponents.getQuery()Return the query.static BooleanWebUtils.getResponseEncodedHtmlEscape(ServletContext servletContext) Return whether response encoding should be used when HTML escaping characters, thus only escaping XML markup significant characters with UTF-* encodings.final StringUriComponents.getScheme()Return the scheme.abstract StringUriComponents.getSchemeSpecificPart()Return the scheme specific part.static ObjectWebUtils.getSessionAttribute(HttpServletRequest request, String name) Check the given request for a session attribute of the given name.static StringWebUtils.getSessionId(HttpServletRequest request) Determine the session id of the given request, if any.abstract StringUriComponents.getUserInfo()Return the user info.Get the value for the given URI variable name.static InetSocketAddressUriComponentsBuilder.parseForwardedFor(HttpRequest request, InetSocketAddress remoteAddress) Parse the first "Forwarded: for=..." or "X-Forwarded-For" header value to anInetSocketAddressrepresenting the address of the client.Method parameters in org.springframework.web.util with annotations of type NullableModifier and TypeMethodDescriptionstatic voidWebUtils.exposeErrorRequestAttributes(HttpServletRequest request, Throwable ex, String servletName) Expose the Servlet spec's error attributes asHttpServletRequestattributes under the keys defined in the Servlet 2.3 specification, for error pages that are rendered directly rather than through the Servlet container's error page resolution:jakarta.servlet.error.status_code,jakarta.servlet.error.exception_type,jakarta.servlet.error.message,jakarta.servlet.error.exception,jakarta.servlet.error.request_uri,jakarta.servlet.error.servlet_name.Set the URI fragment.static BooleanWebUtils.getDefaultHtmlEscape(ServletContext servletContext) Return whether default HTML escaping is enabled for the web application, i.e.UrlPathHelper.getLookupPathForRequest(HttpServletRequest request, String name) Deprecated.as of 5.3 in favor of usingUrlPathHelper.resolveAndCacheLookupPath(HttpServletRequest)andUrlPathHelper.getResolvedLookupPath(ServletRequest).static <T> TWebUtils.getNativeRequest(ServletRequest request, Class<T> requiredType) Return an appropriate request object of the specified type, if available, unwrapping the given request as far as necessary.static <T> TWebUtils.getNativeResponse(ServletResponse response, Class<T> requiredType) Return an appropriate response object of the specified type, if available, unwrapping the given response as far as necessary.WebUtils.getParametersStartingWith(ServletRequest request, String prefix) Return a map containing all parameters with the given prefix.static BooleanWebUtils.getResponseEncodedHtmlEscape(ServletContext servletContext) Return whether response encoding should be used when HTML escaping characters, thus only escaping XML markup significant characters with UTF-* encodings.Get the value for the given URI variable name.Set the URI host which may contain URI template variables, and may also benullto clear the host of this builder.booleanIndicate whether the given URI matches this template.static InetSocketAddressUriComponentsBuilder.parseForwardedFor(HttpRequest request, InetSocketAddress remoteAddress) Parse the first "Forwarded: for=..." or "X-Forwarded-For" header value to anInetSocketAddressrepresenting the address of the client.Set the URI port.UriBuilder.queryParam(String name, Collection<?> values) Variant ofUriBuilder.queryParam(String, Object...)with a Collection.UriComponentsBuilder.queryParam(String name, Collection<?> values) UriComponentsBuilder.queryParams(MultiValueMap<String, String> params) Add multiple query parameters and values.UriBuilder.replacePath(String path) Override the current path.UriComponentsBuilder.replacePath(String path) UriBuilder.replaceQuery(String query) Clear existing query parameters and then delegate toUriBuilder.query(String).UriComponentsBuilder.replaceQuery(String query) UriBuilder.replaceQueryParam(String name, Collection<?> values) Variant ofUriBuilder.replaceQueryParam(String, Object...)with a Collection.UriComponentsBuilder.replaceQueryParam(String name, Collection<?> values) UriComponentsBuilder.replaceQueryParams(MultiValueMap<String, String> params) Set the query parameter values after removing all existing ones.Set the URI scheme which may contain URI template variables, and may also benullto clear the scheme of this builder.voidCookieGenerator.setCookieDomain(String cookieDomain) Deprecated.Use the given domain for cookies created by this generator.voidCookieGenerator.setCookieMaxAge(Integer cookieMaxAge) Deprecated.Use the given maximum age (in seconds) for cookies created by this generator.voidCookieGenerator.setCookieName(String cookieName) Deprecated.Use the given name for cookies created by this generator.voidDefaultUriBuilderFactory.setDefaultUriVariables(Map<String, ?> defaultUriVariables) Provide default URI variable values to use when expanding URI templates with a Map of variables.static voidServletRequestPathUtils.setParsedRequestPath(RequestPath requestPath, ServletRequest request) Set the cached, parsedRequestPathto the given value.static voidWebUtils.setSessionAttribute(HttpServletRequest request, String name, Object value) Set the session attribute with the given name to the given value.Set the URI user info which may contain URI template variables, and may also benullto clear the user info of this builder.Constructor parameters in org.springframework.web.util with annotations of type NullableModifierConstructorDescriptionNestedServletException(String msg, Throwable cause) Deprecated.Construct aNestedServletExceptionwith the specified detail message and nested exception.NestedServletException(String msg, Throwable cause) Deprecated.Construct aNestedServletExceptionwith the specified detail message and nested exception.protectedUriComponents(String scheme, String fragment) protectedUriComponents(String scheme, String fragment) -
Uses of Nullable in org.springframework.web.util.pattern
Methods in org.springframework.web.util.pattern with annotations of type NullableModifier and TypeMethodDescriptionPathPattern.matchAndExtract(PathContainer pathContainer) Match this pattern to the given URI path and return extracted URI template variables as well as path parameters (matrix variables).PathPatternRouteMatcher.matchAndExtract(String pattern, RouteMatcher.Route route) PathPattern.matchStartOfPath(PathContainer pathContainer) Match the beginning of the given path and return the remaining portion not covered by this pattern.Method parameters in org.springframework.web.util.pattern with annotations of type NullableModifier and TypeMethodDescriptionintPathPattern.compareTo(PathPattern otherPattern) Compare this pattern with a supplied pattern: return -1,0,+1 if this pattern is more specific, the same or less specific than the supplied pattern.boolean
RootBeanDefinition.setTargetType(ResolvableType)call