Skip navigation links
Spring Framework

Spring Framework 5.3.25 API

This is the public API documentation for the Spring Framework.

See: Description

Packages 
Package Description
org.aopalliance.aop
The core AOP Alliance advice marker.
org.aopalliance.intercept
The AOP Alliance reflective interception abstraction.
org.apache.commons.logging
Spring's variant of the Commons Logging API: with special support for Log4J 2, SLF4J and java.util.logging.
org.apache.commons.logging.impl
Spring's variant of the Commons Logging API: with special support for Log4J 2, SLF4J and java.util.logging.
org.springframework.aop
Core Spring AOP interfaces, built on AOP Alliance AOP interoperability interfaces.
org.springframework.aop.aspectj
AspectJ integration package.
org.springframework.aop.aspectj.annotation
Classes enabling AspectJ 5 @Annotated classes to be used in Spring AOP.
org.springframework.aop.aspectj.autoproxy
Base classes enabling auto-proxying based on AspectJ.
org.springframework.aop.config
Support package for declarative AOP configuration, with XML schema being the primary configuration format.
org.springframework.aop.framework
Package containing Spring's basic AOP infrastructure, compliant with the AOP Alliance interfaces.
org.springframework.aop.framework.adapter
SPI package allowing Spring AOP framework to handle arbitrary advice types.
org.springframework.aop.framework.autoproxy
Bean post-processors for use in ApplicationContexts to simplify AOP usage by automatically creating AOP proxies without the need to use a ProxyFactoryBean.
org.springframework.aop.framework.autoproxy.target  
org.springframework.aop.interceptor
Provides miscellaneous interceptor implementations.
org.springframework.aop.scope
Support for AOP-based scoping of target objects, with configurable backend.
org.springframework.aop.support
Convenience classes for using Spring's AOP API.
org.springframework.aop.support.annotation
Annotation support for AOP pointcuts.
org.springframework.aop.target  
org.springframework.aop.target.dynamic  
org.springframework.asm
Spring's repackaging of ASM 9.x (with Spring-specific patches; for internal use only).
org.springframework.beans
This package contains interfaces and classes for manipulating Java beans.
org.springframework.beans.annotation
Support package for beans-style handling of annotations.
org.springframework.beans.factory
The core package implementing Spring's lightweight Inversion of Control (IoC) container.
org.springframework.beans.factory.annotation
Support package for annotation-driven bean configuration.
org.springframework.beans.factory.aspectj  
org.springframework.beans.factory.config
SPI interfaces and configuration-related convenience classes for bean factories.
org.springframework.beans.factory.groovy
Support package for Groovy-based bean definitions.
org.springframework.beans.factory.parsing
Support infrastructure for bean definition parsing.
org.springframework.beans.factory.serviceloader
Support package for the Java ServiceLoader facility.
org.springframework.beans.factory.support
Classes supporting the org.springframework.beans.factory package.
org.springframework.beans.factory.wiring
Mechanism to determine bean wiring metadata from a bean instance.
org.springframework.beans.factory.xml
Contains an abstract XML-based BeanFactory implementation, including a standard "spring-beans" XSD.
org.springframework.beans.propertyeditors
Properties editors used to convert from String values to object types such as java.util.Properties.
org.springframework.beans.support
Classes supporting the org.springframework.beans package, such as utility classes for sorting and holding lists of beans.
org.springframework.cache
Spring's generic cache abstraction.
org.springframework.cache.annotation
Annotations and supporting classes for declarative cache management.
org.springframework.cache.aspectj  
org.springframework.cache.caffeine
Support classes for the open source cache in Caffeine library, allowing to set up Caffeine caches within Spring's cache abstraction.
org.springframework.cache.concurrent
Implementation package for java.util.concurrent based caches.
org.springframework.cache.config
Support package for declarative caching configuration, with XML schema being the primary configuration format.
org.springframework.cache.ehcache
Support classes for the open source cache EhCache 2.x, allowing to set up an EhCache CacheManager and Caches as beans in a Spring context.
org.springframework.cache.interceptor
AOP-based solution for declarative caching demarcation.
org.springframework.cache.jcache
Implementation package for JSR-107 (javax.cache aka "JCache") based caches.
org.springframework.cache.jcache.config
Support package for declarative JSR-107 caching configuration.
org.springframework.cache.jcache.interceptor
AOP-based solution for declarative caching demarcation using JSR-107 annotations.
org.springframework.cache.support
Support classes for the org.springframework.cache package.
org.springframework.cache.transaction
Transaction-aware decorators for the org.springframework.cache package.
org.springframework.cglib
Spring's repackaging of CGLIB 3.3 (with Spring-specific patches; for internal use only).
org.springframework.cglib.beans
Spring's repackaging of the CGLIB beans package (for internal use only).
org.springframework.cglib.core
Spring's repackaging of the CGLIB core package (for internal use only).
org.springframework.cglib.proxy
Spring's repackaging of the CGLIB proxy package (for internal use only).
org.springframework.context
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.
org.springframework.context.annotation
Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.
org.springframework.context.annotation.aspectj  
org.springframework.context.config
Support package for advanced application context configuration, with XML schema being the primary configuration format.
org.springframework.context.event
Support classes for application events, like standard context events.
org.springframework.context.expression
Expression parsing support within a Spring application context.
org.springframework.context.i18n
Abstraction for determining the current Locale, plus global holder that exposes a thread-bound Locale.
org.springframework.context.index
Support package for reading and managing the components index.
org.springframework.context.index.processor  
org.springframework.context.support
Classes supporting the org.springframework.context package, such as abstract base classes for ApplicationContext implementations and a MessageSource implementation.
org.springframework.context.weaving
Load-time weaving support for a Spring application context, building on Spring's LoadTimeWeaver abstraction.
org.springframework.core
Provides basic classes for exception handling and version detection, and other core helpers that are not specific to any part of the framework.
org.springframework.core.annotation
Core support package for annotations, meta-annotations, and merged annotations with attribute overrides.
org.springframework.core.codec
Encoder and Decoder abstractions to convert between a reactive stream of bytes and Java objects.
org.springframework.core.convert
Type conversion system API.
org.springframework.core.convert.converter
SPI to implement Converters for the type conversion system.
org.springframework.core.convert.support
Default implementation of the type conversion system.
org.springframework.core.env
Spring's environment abstraction consisting of bean definition profile and hierarchical property source support.
org.springframework.core.io
Generic abstraction for (file-based) resources, used throughout the framework.
org.springframework.core.io.buffer
Generic abstraction for working with byte buffer implementations.
org.springframework.core.io.support
Support classes for Spring's resource abstraction.
org.springframework.core.log
Useful delegates for Spring's logging conventions.
org.springframework.core.metrics
Support package for recording metrics during application startup.
org.springframework.core.metrics.jfr
Support package for recording startup metrics using Java Flight Recorder.
org.springframework.core.serializer
Root package for Spring's serializer interfaces and implementations.
org.springframework.core.serializer.support
Support classes for Spring's serializer abstraction.
org.springframework.core.style
Support for styling values as Strings, with ToStringCreator as central class.
org.springframework.core.task
This package defines Spring's core TaskExecutor abstraction, and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.
org.springframework.core.task.support
Support classes for Spring's TaskExecutor abstraction.
org.springframework.core.type
Core support package for type introspection.
org.springframework.core.type.classreading
Support classes for reading annotation and class-level metadata.
org.springframework.core.type.filter
Core support package for type filtering (e.g.
org.springframework.dao
Exception hierarchy enabling sophisticated error handling independent of the data access approach in use.
org.springframework.dao.annotation
Annotation support for DAOs.
org.springframework.dao.support
Support classes for DAO implementations, providing miscellaneous utility methods.
org.springframework.ejb.access
This package contains classes that allow easy access to EJBs.
org.springframework.ejb.config
Support package for EJB/Java EE-related configuration, with XML schema being the primary configuration format.
org.springframework.expression
Core abstractions behind the Spring Expression Language.
org.springframework.expression.common
Common utility classes behind the Spring Expression Language.
org.springframework.expression.spel
SpEL's central implementation package.
org.springframework.expression.spel.ast
SpEL's abstract syntax tree.
org.springframework.expression.spel.standard
SpEL's standard parser implementation.
org.springframework.expression.spel.support
SpEL's default implementations for various core abstractions.
org.springframework.format
An API for defining Formatters to format field model values for display in a UI.
org.springframework.format.annotation
Annotations for declaratively configuring field formatting rules.
org.springframework.format.datetime
Formatters for java.util.Date properties.
org.springframework.format.datetime.joda
Integration with Joda-Time for formatting Joda date and time types as well as standard JDK Date types.
org.springframework.format.datetime.standard
Integration with the JSR-310 java.time package in JDK 8.
org.springframework.format.number
Formatters for java.lang.Number properties.
org.springframework.format.number.money
Integration with the JSR-354 javax.money package.
org.springframework.format.support
Support classes for the formatting package, providing common implementations as well as adapters.
org.springframework.http
Contains a basic abstraction over client/server-side HTTP.
org.springframework.http.client
Contains an abstraction over client-side HTTP.
org.springframework.http.client.reactive
Abstractions for reactive HTTP client support including ClientHttpRequest and ClientHttpResponse as well as a ClientHttpConnector.
org.springframework.http.client.support
This package provides generic HTTP support classes, to be used by higher-level classes like RestTemplate.
org.springframework.http.codec
Provides implementations of Encoder and Decoder for web use.
org.springframework.http.codec.cbor  
org.springframework.http.codec.json
JSON encoder and decoder support.
org.springframework.http.codec.multipart
Multipart support.
org.springframework.http.codec.protobuf
Provides an encoder and a decoder for Google Protocol Buffers.
org.springframework.http.codec.support
Provides implementations of ClientCodecConfigurer and ServerCodecConfigurer based on the converter implementations from org.springframework.http.codec.json and co.
org.springframework.http.codec.xml
XML encoder and decoder support.
org.springframework.http.converter
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
org.springframework.http.converter.cbor
Provides an HttpMessageConverter for the CBOR data format.
org.springframework.http.converter.feed
Provides HttpMessageConverter implementations for handling Atom and RSS feeds.
org.springframework.http.converter.json
Provides HttpMessageConverter implementations for handling JSON.
org.springframework.http.converter.protobuf
Provides an HttpMessageConverter implementation for handling Google Protocol Buffers.
org.springframework.http.converter.smile
Provides an HttpMessageConverter for the Smile data format ("binary JSON").
org.springframework.http.converter.support
Provides a comprehensive HttpMessageConverter variant for form handling.
org.springframework.http.converter.xml
Provides HttpMessageConverter implementations for handling XML.
org.springframework.http.server
Contains an abstraction over server-side HTTP.
org.springframework.http.server.reactive
Abstractions for reactive HTTP server support including a ServerHttpRequest and ServerHttpResponse along with an HttpHandler for processing.
org.springframework.instrument  
org.springframework.instrument.classloading
Support package for load time weaving based on class loaders, as required by JPA providers (but not JPA-specific).
org.springframework.instrument.classloading.glassfish
Support for class instrumentation on GlassFish.
org.springframework.instrument.classloading.jboss
Support for class instrumentation on JBoss AS 6 and 7.
org.springframework.instrument.classloading.tomcat
Support for class instrumentation on Tomcat.
org.springframework.instrument.classloading.weblogic
Support for class instrumentation on BEA WebLogic 10+.
org.springframework.instrument.classloading.websphere
Support for class instrumentation on IBM WebSphere Application Server 7+.
org.springframework.jca.cci
This package contains Spring's support for the Common Client Interface (CCI), as defined by the J2EE Connector Architecture.
org.springframework.jca.cci.connection
Provides a utility class for easy ConnectionFactory access, a PlatformTransactionManager for local CCI transactions, and various simple ConnectionFactory proxies/adapters.
org.springframework.jca.cci.core
Provides the core JCA CCI support, based on CciTemplate and its associated callback interfaces.
org.springframework.jca.cci.core.support
Classes supporting the org.springframework.jca.cci.core package.
org.springframework.jca.cci.object
The classes in this package represent EIS operations as threadsafe, reusable objects.
org.springframework.jca.context
Integration package that allows for deploying a Spring application context as a JCA 1.7 compliant RAR file.
org.springframework.jca.endpoint
This package provides a facility for generic JCA message endpoint management.
org.springframework.jca.support
Provides generic support classes for JCA usage within Spring, mainly for local setup of a JCA ResourceAdapter and/or ConnectionFactory.
org.springframework.jca.work
Convenience classes for scheduling based on the JCA WorkManager facility, as supported within ResourceAdapters.
org.springframework.jdbc
The classes in this package make JDBC easier to use and reduce the likelihood of common errors.
org.springframework.jdbc.config
Defines the Spring JDBC configuration namespace.
org.springframework.jdbc.core
Provides the core JDBC framework, based on JdbcTemplate and its associated callback interfaces and helper objects.
org.springframework.jdbc.core.metadata
Context metadata abstraction for the configuration and execution of table inserts and stored procedure calls.
org.springframework.jdbc.core.namedparam
JdbcTemplate variant with named parameter support.
org.springframework.jdbc.core.simple
Simplification layer for table inserts and stored procedure calls.
org.springframework.jdbc.core.support
Classes supporting the org.springframework.jdbc.core package.
org.springframework.jdbc.datasource
Provides a utility class for easy DataSource access, a PlatformTransactionManager for a single DataSource, and various simple DataSource implementations.
org.springframework.jdbc.datasource.embedded
Provides extensible support for creating embedded database instances.
org.springframework.jdbc.datasource.init
Provides extensible support for initializing databases through scripts.
org.springframework.jdbc.datasource.lookup
Provides a strategy for looking up JDBC DataSources by name.
org.springframework.jdbc.object
The classes in this package represent RDBMS queries, updates, and stored procedures as threadsafe, reusable objects.
org.springframework.jdbc.support
Support classes for the JDBC framework, used by the classes in the jdbc.core and jdbc.object packages.
org.springframework.jdbc.support.incrementer
Provides a support framework for incrementing database table values via sequences, with implementations for various databases.
org.springframework.jdbc.support.lob
Provides a strategy interface for Large OBject handling, as well as a customizable default implementation.
org.springframework.jdbc.support.rowset
Provides a convenient holder for disconnected result sets.
org.springframework.jdbc.support.xml
Abstraction for handling fields of SQLXML data type.
org.springframework.jms
This package contains integration classes for JMS, allowing for Spring-style JMS access.
org.springframework.jms.annotation
Annotations and support classes for declarative JMS listener endpoints.
org.springframework.jms.config
Support package for declarative messaging configuration, with Java configuration and XML schema support.
org.springframework.jms.connection
Provides a PlatformTransactionManager implementation for a single JMS ConnectionFactory, and a SingleConnectionFactory adapter.
org.springframework.jms.core
Core package of the JMS support.
org.springframework.jms.core.support
Classes supporting the org.springframework.jms.core package.
org.springframework.jms.listener
This package contains the base message listener container facility.
org.springframework.jms.listener.adapter
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.
org.springframework.jms.listener.endpoint
This package provides JCA-based endpoint management for JMS message listeners.
org.springframework.jms.remoting
Remoting classes for transparent Java-to-Java remoting via a JMS provider.
org.springframework.jms.support
This package provides generic JMS support classes, to be used by higher-level classes like JmsTemplate.
org.springframework.jms.support.converter
Provides a MessageConverter abstraction to convert between Java objects and JMS messages.
org.springframework.jms.support.destination
Support classes for Spring's JMS framework.
org.springframework.jmx
This package contains Spring's JMX support, which includes registration of Spring-managed beans as JMX MBeans as well as access to remote JMX MBeans.
org.springframework.jmx.access
Provides support for accessing remote MBean resources.
org.springframework.jmx.export
This package provides declarative creation and registration of Spring-managed beans as JMX MBeans.
org.springframework.jmx.export.annotation
Annotations for MBean exposure.
org.springframework.jmx.export.assembler
Provides a strategy for MBeanInfo assembly.
org.springframework.jmx.export.metadata
Provides generic JMX metadata classes and basic support for reading JMX metadata in a provider-agnostic manner.
org.springframework.jmx.export.naming
Provides a strategy for ObjectName creation.
org.springframework.jmx.export.notification
Provides supporting infrastructure to allow Spring-created MBeans to send JMX notifications.
org.springframework.jmx.support
Contains support classes for connecting to local and remote MBeanServers and for exposing an MBeanServer to remote clients.
org.springframework.jndi
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.
org.springframework.jndi.support
Support classes for JNDI usage, including a JNDI-based BeanFactory implementation.
org.springframework.lang
Common annotations with language-level semantics: nullability as well as JDK API indications.
org.springframework.mail
Spring's generic mail infrastructure.
org.springframework.mail.javamail
JavaMail support for Spring's mail infrastructure.
org.springframework.messaging
Support for working with messaging APIs and protocols.
org.springframework.messaging.converter
Provides support for message conversion.
org.springframework.messaging.core
Defines interfaces and implementation classes for messaging templates.
org.springframework.messaging.handler
Basic abstractions for working with message handler methods.
org.springframework.messaging.handler.annotation
Annotations and support classes for handling messages.
org.springframework.messaging.handler.annotation.reactive
Support classes for working with annotated message-handling methods with non-blocking, reactive contracts.
org.springframework.messaging.handler.annotation.support
Support classes for working with annotated message-handling methods.
org.springframework.messaging.handler.invocation
Common infrastructure for invoking message handler methods.
org.springframework.messaging.handler.invocation.reactive
Common infrastructure for invoking message handler methods with non-blocking, and reactive contracts.
org.springframework.messaging.rsocket
Support for the RSocket protocol.
org.springframework.messaging.rsocket.annotation
Annotations and support classes for handling RSocket streams.
org.springframework.messaging.rsocket.annotation.support
Support classes for working with annotated RSocket stream handling methods.
org.springframework.messaging.simp
Generic support for Simple Messaging Protocols including protocols such as STOMP.
org.springframework.messaging.simp.annotation
Annotations and for handling messages from SImple Messaging Protocols such as STOMP.
org.springframework.messaging.simp.annotation.support
Support classes for handling messages from simple messaging protocols (like STOMP).
org.springframework.messaging.simp.broker
Provides a "simple" message broker implementation along with an abstract base class and other supporting types such as a registry for subscriptions.
org.springframework.messaging.simp.config
Configuration support for WebSocket messaging using higher level messaging protocols.
org.springframework.messaging.simp.stomp
Generic support for simple messaging protocols (like STOMP).
org.springframework.messaging.simp.user
Support for handling messages to "user" destinations (i.e.
org.springframework.messaging.support
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.
org.springframework.messaging.tcp
Contains abstractions and implementation classes for establishing TCP connections via TcpOperations, handling messages via TcpConnectionHandler, as well as sending messages via TcpConnection.
org.springframework.messaging.tcp.reactor
Contains support for TCP messaging based on Reactor.
org.springframework.mock.env
This package contains mock implementations of the Environment and PropertySource abstractions introduced in Spring 3.1.
org.springframework.mock.http
Mock implementations of client/server-side HTTP abstractions.
org.springframework.mock.http.client
Mock implementations of client-side HTTP abstractions.
org.springframework.mock.http.client.reactive
Mock implementations of reactive HTTP client contracts.
org.springframework.mock.http.server.reactive
Mock implementations of reactive HTTP server contracts.
org.springframework.mock.jndi
Deprecated as of Spring Framework 5.2 in favor of complete solutions from third parties such as Simple-JNDI.
org.springframework.mock.web
A comprehensive set of Servlet API 4.0 mock objects, targeted at usage with Spring's Web MVC framework.
org.springframework.mock.web.reactive.function.server
Mock objects for the functional web framework.
org.springframework.mock.web.server
Mock implementations of Spring's reactive server web API abstractions.
org.springframework.objenesis
Spring's repackaging of Objenesis 3.2 (with SpringObjenesis entry point; for internal use only).
org.springframework.orm
Root package for Spring's O/R Mapping integration classes.
org.springframework.orm.hibernate5
Package providing integration of Hibernate 5.x with Spring concepts.
org.springframework.orm.hibernate5.support
Classes supporting the org.springframework.orm.hibernate5 package.
org.springframework.orm.jpa
Package providing integration of JPA (Java Persistence API) with Spring concepts.
org.springframework.orm.jpa.persistenceunit
Internal support for managing JPA persistence units.
org.springframework.orm.jpa.support
Classes supporting the org.springframework.orm.jpa package.
org.springframework.orm.jpa.vendor
Support classes for adapting to specific JPA vendors.
org.springframework.oxm
Root package for Spring's O/X Mapping integration classes.
org.springframework.oxm.config
Provides an namespace handler for the Spring Object/XML namespace.
org.springframework.oxm.jaxb
Package providing integration of JAXB with Spring's O/X Mapping support.
org.springframework.oxm.jibx
Package providing integration of JiBX with Spring's O/X Mapping support.
org.springframework.oxm.mime
Contains (un)marshallers optimized to store binary data in MIME attachments.
org.springframework.oxm.support
Provides generic support classes for using Spring's O/X Mapping integration within various scenario's.
org.springframework.oxm.xstream
Package providing integration of XStream with Spring's O/X Mapping support.
org.springframework.r2dbc
The classes in this package make R2DBC easier to use and reduce the likelihood of common errors.
org.springframework.r2dbc.connection
Provides a utility class for easy ConnectionFactory access, a ReactiveTransactionManager for a single ConnectionFactory, and various simple ConnectionFactory implementations.
org.springframework.r2dbc.connection.init
Provides extensible support for initializing databases through scripts.
org.springframework.r2dbc.connection.lookup
Provides a strategy for looking up R2DBC ConnectionFactories by name.
org.springframework.r2dbc.core
Core domain types around DatabaseClient.
org.springframework.r2dbc.core.binding
Classes providing an abstraction over SQL bind markers.
org.springframework.remoting
Exception hierarchy for Spring's remoting infrastructure, independent of any specific remote method invocation system.
org.springframework.remoting.caucho
This package provides remoting classes for Caucho's Hessian protocol: a proxy factory for accessing Hessian services, and an exporter for making beans available to Hessian clients.
org.springframework.remoting.httpinvoker
Remoting classes for transparent Java-to-Java remoting via HTTP invokers.
org.springframework.remoting.jaxws
Remoting classes for Web Services via JAX-WS (the successor of JAX-RPC), as included in Java 6 and Java EE 5.
org.springframework.remoting.rmi
Remoting classes for conventional RMI and transparent remoting via RMI invokers.
org.springframework.remoting.soap
SOAP-specific exceptions and support classes for Spring's remoting subsystem.
org.springframework.remoting.support
Generic support classes for remoting implementations.
org.springframework.scheduling
General exceptions for Spring's scheduling support, independent of any specific scheduling system.
org.springframework.scheduling.annotation
Annotation support for asynchronous method execution.
org.springframework.scheduling.aspectj  
org.springframework.scheduling.commonj
Convenience classes for scheduling based on the CommonJ WorkManager/TimerManager facility, as supported by IBM WebSphere 6.0+ and BEA WebLogic 9.0+.
org.springframework.scheduling.concurrent
Scheduling convenience classes for the java.util.concurrent and javax.enterprise.concurrent packages, allowing to set up a ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring context.
org.springframework.scheduling.config
Support package for declarative scheduling configuration, with XML schema being the primary configuration format.
org.springframework.scheduling.quartz
Support classes for the open source scheduler Quartz, allowing to set up Quartz Schedulers, JobDetails and Triggers as beans in a Spring context.
org.springframework.scheduling.support
Generic support classes for scheduling.
org.springframework.scripting
Core interfaces for Spring's scripting support.
org.springframework.scripting.bsh
Package providing integration of BeanShell (and BeanShell2) into Spring's scripting infrastructure.
org.springframework.scripting.config
Support package for Spring's dynamic language machinery, with XML schema being the primary configuration format.
org.springframework.scripting.groovy
Package providing integration of Groovy into Spring's scripting infrastructure.
org.springframework.scripting.support
Support classes for Spring's scripting package.
org.springframework.stereotype
Annotations denoting the roles of types or methods in the overall architecture (at a conceptual, rather than implementation, level).
org.springframework.test.annotation
Support classes for annotation-driven tests.
org.springframework.test.context
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.
org.springframework.test.context.cache
Support for context caching within the Spring TestContext Framework.
org.springframework.test.context.event
Test event support classes for the Spring TestContext Framework.
org.springframework.test.context.event.annotation
Test execution event annotations for the Spring TestContext Framework.
org.springframework.test.context.jdbc
JDBC support classes for the Spring TestContext Framework, including support for declarative SQL script execution via @Sql.
org.springframework.test.context.junit.jupiter
Core support for integrating the Spring TestContext Framework with the JUnit Jupiter extension model in JUnit 5.
org.springframework.test.context.junit.jupiter.web
Web support for integrating the Spring TestContext Framework with the JUnit Jupiter extension model in JUnit 5.
org.springframework.test.context.junit4
Support classes for integrating the Spring TestContext Framework with JUnit 4.12 or higher.
org.springframework.test.context.junit4.rules
Custom JUnit 4 Rules used in the Spring TestContext Framework.
org.springframework.test.context.junit4.statements
Custom JUnit 4 Statements used in the Spring TestContext Framework.
org.springframework.test.context.support
Support classes for the Spring TestContext Framework.
org.springframework.test.context.testng
Support classes for integrating the Spring TestContext Framework with TestNG.
org.springframework.test.context.transaction
Transactional support classes for the Spring TestContext Framework.
org.springframework.test.context.util
Common utilities used within the Spring TestContext Framework.
org.springframework.test.context.web
Web support classes for the Spring TestContext Framework.
org.springframework.test.jdbc
Support classes for tests based on JDBC.
org.springframework.test.util
General utility classes for use in unit and integration tests.
org.springframework.test.web
Helper classes for unit tests based on Spring's web support.
org.springframework.test.web.client
Contains client-side REST testing support.
org.springframework.test.web.client.match
Contains built-in RequestMatcher implementations.
org.springframework.test.web.client.response
Contains built-in ResponseCreator implementations.
org.springframework.test.web.reactive.server
Support for testing Spring WebFlux server endpoints via WebTestClient.
org.springframework.test.web.servlet
Contains server-side support for testing Spring MVC applications.
org.springframework.test.web.servlet.client
Support for testing Spring MVC applications via WebTestClient with MockMvc for server request handling.
org.springframework.test.web.servlet.htmlunit
Server-side support for testing Spring MVC applications with MockMvc and HtmlUnit.
org.springframework.test.web.servlet.htmlunit.webdriver
Server-side support for testing Spring MVC applications with MockMvc and the Selenium HtmlUnitDriver.
org.springframework.test.web.servlet.request
Contains built-in RequestBuilder implementations.
org.springframework.test.web.servlet.result
Contains built-in ResultMatcher and ResultHandler implementations.
org.springframework.test.web.servlet.setup
Contains built-in MockMvcBuilder implementations.
org.springframework.transaction
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.
org.springframework.transaction.annotation
Spring's support for annotation-based transaction demarcation.
org.springframework.transaction.aspectj  
org.springframework.transaction.config
Support package for declarative transaction configuration, with XML schema being the primary configuration format.
org.springframework.transaction.event
Spring's support for listening to transaction events.
org.springframework.transaction.interceptor
AOP-based solution for declarative transaction demarcation.
org.springframework.transaction.jta
Transaction SPI implementation for JTA.
org.springframework.transaction.reactive
Support classes for reactive transaction management.
org.springframework.transaction.support
Support classes for the org.springframework.transaction package.
org.springframework.ui
Generic support for UI layer concepts.
org.springframework.ui.context
Contains classes defining the application context subinterface for UI applications.
org.springframework.ui.context.support
Classes supporting the org.springframework.ui.context package.
org.springframework.ui.freemarker
Support classes for setting up FreeMarker within a Spring application context.
org.springframework.util
Miscellaneous utility classes, such as utilities for working with strings, classes, collections, reflection, etc.
org.springframework.util.backoff
A generic back-off abstraction.
org.springframework.util.comparator
Useful generic java.util.Comparator implementations, such as an invertible comparator and a compound comparator.
org.springframework.util.concurrent
Useful generic java.util.concurrent.Future extensions.
org.springframework.util.function
Useful generic java.util.function helper classes.
org.springframework.util.unit
Useful unit data types.
org.springframework.util.xml
Miscellaneous utility classes for XML parsing and transformation, such as error handlers that log warnings via Commons Logging.
org.springframework.validation
Provides data binding and validation functionality, for usage in business and/or UI layers.
org.springframework.validation.annotation
Support classes for annotation-based constraint evaluation, e.g.
org.springframework.validation.beanvalidation
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.
org.springframework.validation.support
Support classes for handling validation results.
org.springframework.web
Common, generic interfaces that define minimal boundary points between Spring's web infrastructure and other framework modules.
org.springframework.web.accept
This package contains classes used to determine the requested the media types in a request.
org.springframework.web.bind
Provides web-specific data binding functionality.
org.springframework.web.bind.annotation
Annotations for binding requests to controllers and handler methods as well as for binding request parameters to method arguments.
org.springframework.web.bind.support
Support classes for web data binding.
org.springframework.web.client
Core package of the client-side web support.
org.springframework.web.client.support
Classes supporting the org.springframework.web.client package.
org.springframework.web.context
Contains a variant of the application context interface for web applications, and the ContextLoaderListener that bootstraps a root web application context.
org.springframework.web.context.annotation
Provides convenience annotations for web scopes.
org.springframework.web.context.request
Support for generic request context holding, in particular for scoping of application objects per HTTP request or HTTP session.
org.springframework.web.context.request.async
Support for asynchronous request processing.
org.springframework.web.context.support
Classes supporting the org.springframework.web.context package, such as WebApplicationContext implementations and various utility classes.
org.springframework.web.cors
Support for CORS (Cross-Origin Resource Sharing), based on a common CorsProcessor strategy.
org.springframework.web.cors.reactive
Reactive support for CORS (Cross-Origin Resource Sharing), based on a common CorsProcessor strategy.
org.springframework.web.filter
Provides generic filter base classes allowing for bean-style configuration.
org.springframework.web.filter.reactive
WebFilter implementations for use in reactive web applications.
org.springframework.web.jsf
Support classes for integrating a JSF web layer with a Spring service layer which is hosted in a Spring root WebApplicationContext.
org.springframework.web.jsf.el
ELResolvers for integrating a JSF web layer with a Spring service layer which is hosted in a Spring root WebApplicationContext.
org.springframework.web.method
Common infrastructure for handler method processing, as used by Spring MVC's org.springframework.web.servlet.mvc.method package.
org.springframework.web.method.annotation
Support classes for annotation-based handler method processing.
org.springframework.web.method.support
Generic support classes for handler method processing.
org.springframework.web.multipart
Multipart resolution framework for handling file uploads.
org.springframework.web.multipart.commons
MultipartResolver implementation for Apache Commons FileUpload.
org.springframework.web.multipart.support
Support classes for the multipart resolution framework.
org.springframework.web.reactive
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.
org.springframework.web.reactive.accept
RequestedContentTypeResolver strategy and implementations to resolve the requested content type for a given request.
org.springframework.web.reactive.config
Spring WebFlux configuration infrastructure.
org.springframework.web.reactive.function
Provides a foundation for both the reactive client and server subpackages.
org.springframework.web.reactive.function.client
Provides a reactive WebClient that builds on top of the org.springframework.http.client.reactive reactive HTTP adapter layer.
org.springframework.web.reactive.function.client.support
Classes supporting the org.springframework.web.reactive.function.client package.
org.springframework.web.reactive.function.server
Provides the types that make up Spring's functional web framework for Reactive environments.
org.springframework.web.reactive.function.server.support
Classes supporting the org.springframework.web.reactive.function.server package.
org.springframework.web.reactive.handler
Provides HandlerMapping implementations including abstract base classes.
org.springframework.web.reactive.resource
Support classes for serving static resources.
org.springframework.web.reactive.result
Support for various programming model styles including the invocation of different types of handlers, e.g.
org.springframework.web.reactive.result.condition
RequestCondition and implementations for matching requests based on different criteria.
org.springframework.web.reactive.result.method
Infrastructure for handler method processing.
org.springframework.web.reactive.result.method.annotation
Infrastructure for annotation-based handler method processing.
org.springframework.web.reactive.result.view
Support for result handling through view resolution.
org.springframework.web.reactive.result.view.freemarker
Support classes for the integration of FreeMarker as Spring web view technology.
org.springframework.web.reactive.result.view.script
Support classes for views based on the JSR-223 script engine abstraction (as included in Java 6+), e.g.
org.springframework.web.reactive.socket
Abstractions and support classes for reactive WebSocket interactions.
org.springframework.web.reactive.socket.adapter
Classes adapting Spring's Reactive WebSocket API to and from WebSocket runtimes.
org.springframework.web.reactive.socket.client
Client support for WebSocket interactions.
org.springframework.web.reactive.socket.server
Server support for WebSocket interactions.
org.springframework.web.reactive.socket.server.support
Server-side support classes for WebSocket requests.
org.springframework.web.reactive.socket.server.upgrade
Holds implementations of RequestUpgradeStrategy.
org.springframework.web.server
Core interfaces and classes for Spring's generic, reactive web support.
org.springframework.web.server.adapter
Implementations to adapt to the underlying org.springframework.http.client.reactive reactive HTTP adapter and HttpHandler.
org.springframework.web.server.handler
Provides common WebHandler implementations and a WebHandlerDecorator.
org.springframework.web.server.i18n
Locale related support classes.
org.springframework.web.server.session
Auxiliary interfaces and implementation classes for WebSession support.
org.springframework.web.servlet
Provides servlets that integrate with the application context infrastructure, and the core interfaces and classes for the Spring web MVC framework.
org.springframework.web.servlet.config
Defines the XML configuration namespace for Spring MVC.
org.springframework.web.servlet.config.annotation
Annotation-based setup for Spring MVC.
org.springframework.web.servlet.function
Provides the types that make up Spring's functional web framework for Servlet environments.
org.springframework.web.servlet.function.support
Classes supporting the org.springframework.web.servlet.function package.
org.springframework.web.servlet.handler
Provides standard HandlerMapping implementations, including abstract base classes for custom implementations.
org.springframework.web.servlet.i18n
Locale support classes for Spring's web MVC framework.
org.springframework.web.servlet.mvc
Standard controller implementations for the Servlet MVC framework that comes with Spring.
org.springframework.web.servlet.mvc.annotation
Support package for annotation-based Servlet MVC controllers.
org.springframework.web.servlet.mvc.condition
Common MVC logic for matching incoming requests based on conditions.
org.springframework.web.servlet.mvc.method
Servlet-based infrastructure for handler method processing, building on the org.springframework.web.method package.
org.springframework.web.servlet.mvc.method.annotation
MVC infrastructure for annotation-based handler method processing, building on the org.springframework.web.method.annotation package.
org.springframework.web.servlet.mvc.support
Support package for MVC controllers.
org.springframework.web.servlet.resource
Support classes for serving static resources.
org.springframework.web.servlet.support
Support classes for Spring's web MVC framework.
org.springframework.web.servlet.tags
This package contains Spring's JSP standard tag library for JSP 2.0+.
org.springframework.web.servlet.tags.form
Spring's form tag library for JSP views in Spring's Web MVC framework.
org.springframework.web.servlet.theme
Theme support classes for Spring's web MVC framework.
org.springframework.web.servlet.view
Provides standard View and ViewResolver implementations, including abstract base classes for custom implementations.
org.springframework.web.servlet.view.document
Support classes for document generation, providing View implementations for PDF and Excel.
org.springframework.web.servlet.view.feed
Support classes for feed generation, providing View implementations for Atom and RSS.
org.springframework.web.servlet.view.freemarker
Support classes for the integration of FreeMarker as Spring web view technology.
org.springframework.web.servlet.view.groovy
Support classes for the integration of Groovy Templates as Spring web view technology.
org.springframework.web.servlet.view.json
Support classes for providing a View implementation based on JSON serialization.
org.springframework.web.servlet.view.script
Support classes for views based on the JSR-223 script engine abstraction (as included in Java 6+), e.g.
org.springframework.web.servlet.view.tiles3
Support classes for the integration of Tiles 3 (the standalone version of Tiles) as Spring web view technology.
org.springframework.web.servlet.view.xml
Support classes for providing a View implementation based on XML Marshalling.
org.springframework.web.servlet.view.xslt
Support classes for XSLT, providing a View implementation for XSLT stylesheets.
org.springframework.web.socket
Common abstractions and Spring configuration support for WebSocket applications.
org.springframework.web.socket.adapter
Classes adapting Spring's WebSocket API to and from WebSocket providers.
org.springframework.web.socket.adapter.jetty
Adapter classes for the Jetty WebSocket API.
org.springframework.web.socket.adapter.standard
Adapter classes for the standard Java WebSocket API.
org.springframework.web.socket.client
Client-side abstractions for WebSocket applications.
org.springframework.web.socket.client.jetty
Client-side support for the Jetty WebSocket API.
org.springframework.web.socket.client.standard
Client-side classes for use with standard Java WebSocket endpoints.
org.springframework.web.socket.config
Configuration support for WebSocket request handling.
org.springframework.web.socket.config.annotation
Support for annotation-based WebSocket setup in configuration classes.
org.springframework.web.socket.handler
Convenient WebSocketHandler implementations and decorators.
org.springframework.web.socket.messaging
WebSocket integration for Spring's messaging module.
org.springframework.web.socket.server
Server-side abstractions for WebSocket interactions.
org.springframework.web.socket.server.jetty
Server-side support for the Jetty 9+ WebSocket API.
org.springframework.web.socket.server.standard
Server-side classes for use with standard JSR-356 WebSocket endpoints.
org.springframework.web.socket.server.support
Server-side support classes including container-specific strategies for upgrading a request.
org.springframework.web.socket.sockjs
Top-level SockJS types.
org.springframework.web.socket.sockjs.client
SockJS client implementation of WebSocketClient.
org.springframework.web.socket.sockjs.frame
Support classes for creating SockJS frames including the encoding and decoding of SockJS message frames.
org.springframework.web.socket.sockjs.support
Support classes for SockJS including an AbstractSockJsService implementation.
org.springframework.web.socket.sockjs.transport
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.
org.springframework.web.socket.sockjs.transport.handler
TransportHandler implementation classes as well as a concrete SockJsService.
org.springframework.web.socket.sockjs.transport.session
SockJS specific implementations of WebSocketSession.
org.springframework.web.util
Miscellaneous web utility classes, such as HTML escaping and cookie handling.
org.springframework.web.util.pattern
Dedicated support for matching HTTP request paths.

This is the public API documentation for the Spring Framework.

Skip navigation links
Spring Framework