Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
M
- MailAuthenticationException - Exception in org.springframework.mail
-
Exception thrown on failed authentication.
- MailAuthenticationException(String) - Constructor for exception org.springframework.mail.MailAuthenticationException
-
Constructor for MailAuthenticationException.
- MailAuthenticationException(String, Throwable) - Constructor for exception org.springframework.mail.MailAuthenticationException
-
Constructor for MailAuthenticationException.
- MailAuthenticationException(Throwable) - Constructor for exception org.springframework.mail.MailAuthenticationException
-
Constructor for MailAuthenticationException.
- MailException - Exception in org.springframework.mail
-
Base class for all mail exceptions.
- MailException(String) - Constructor for exception org.springframework.mail.MailException
-
Constructor for MailException.
- MailException(String, Throwable) - Constructor for exception org.springframework.mail.MailException
-
Constructor for MailException.
- MailMessage - Interface in org.springframework.mail
-
This is a common interface for mail messages, allowing a user to set key values required in assembling a mail message, without needing to know if the underlying message is a simple text message or a more sophisticated MIME message.
- MailParseException - Exception in org.springframework.mail
-
Exception thrown if illegal message properties are encountered.
- MailParseException(String) - Constructor for exception org.springframework.mail.MailParseException
-
Constructor for MailParseException.
- MailParseException(String, Throwable) - Constructor for exception org.springframework.mail.MailParseException
-
Constructor for MailParseException.
- MailParseException(Throwable) - Constructor for exception org.springframework.mail.MailParseException
-
Constructor for MailParseException.
- MailPreparationException - Exception in org.springframework.mail
-
Exception to be thrown by user code if a mail cannot be prepared properly, for example when a FreeMarker template cannot be rendered for the mail text.
- MailPreparationException(String) - Constructor for exception org.springframework.mail.MailPreparationException
-
Constructor for MailPreparationException.
- MailPreparationException(String, Throwable) - Constructor for exception org.springframework.mail.MailPreparationException
-
Constructor for MailPreparationException.
- MailPreparationException(Throwable) - Constructor for exception org.springframework.mail.MailPreparationException
- MailSender - Interface in org.springframework.mail
-
This interface defines a strategy for sending simple mails.
- MailSendException - Exception in org.springframework.mail
-
Exception thrown when a mail sending error is encountered.
- MailSendException(String) - Constructor for exception org.springframework.mail.MailSendException
-
Constructor for MailSendException.
- MailSendException(String, Throwable) - Constructor for exception org.springframework.mail.MailSendException
-
Constructor for MailSendException.
- MailSendException(String, Throwable, Map<Object, Exception>) - Constructor for exception org.springframework.mail.MailSendException
-
Constructor for registration of failed messages, with the messages that failed as keys, and the thrown exceptions as values.
- MailSendException(Map<Object, Exception>) - Constructor for exception org.springframework.mail.MailSendException
-
Constructor for registration of failed messages, with the messages that failed as keys, and the thrown exceptions as values.
- make_label() - Method in class org.springframework.cglib.core.CodeEmitter
- make_local() - Method in class org.springframework.cglib.core.CodeEmitter
- make_local(Type) - Method in class org.springframework.cglib.core.CodeEmitter
- makeAccessible(Constructor<?>) - Static method in class org.springframework.util.ReflectionUtils
-
Make the given constructor accessible, explicitly setting it accessible if necessary.
- makeAccessible(Field) - Static method in class org.springframework.util.ReflectionUtils
-
Make the given field accessible, explicitly setting it accessible if necessary.
- makeAccessible(Method) - Static method in class org.springframework.util.ReflectionUtils
-
Make the given method accessible, explicitly setting it accessible if necessary.
- makeAdvisorChainAspectJCapableIfNecessary(List<Advisor>) - Static method in class org.springframework.aop.aspectj.AspectJProxyUtils
-
Add special advisors if necessary to work with a proxy chain that contains AspectJ advisors: concretely,
ExposeInvocationInterceptor
at the beginning of the list. - makeObject() - Method in class org.springframework.aop.target.CommonsPool2TargetSource
- ManagedArray - Class in org.springframework.beans.factory.support
-
Tag collection class used to hold managed array elements, which may include runtime bean references (to be resolved into bean objects).
- ManagedArray(String, int) - Constructor for class org.springframework.beans.factory.support.ManagedArray
-
Create a new managed array placeholder.
- ManagedAttribute - Class in org.springframework.jmx.export.metadata
-
Metadata that indicates to expose a given bean property as JMX attribute.
- ManagedAttribute - Annotation Interface in org.springframework.jmx.export.annotation
-
Method-level annotation that indicates to expose a given bean property as a JMX attribute, corresponding to the
ManagedAttribute
. - ManagedAttribute() - Constructor for class org.springframework.jmx.export.metadata.ManagedAttribute
- ManagedClassNameFilter - Interface in org.springframework.orm.jpa.persistenceunit
-
Strategy interface to filter the list of persistent managed types to include in the persistence unit.
- ManagedList<E> - Class in org.springframework.beans.factory.support
-
Tag collection class used to hold managed List elements, which may include runtime bean references (to be resolved into bean objects).
- ManagedList() - Constructor for class org.springframework.beans.factory.support.ManagedList
- ManagedList(int) - Constructor for class org.springframework.beans.factory.support.ManagedList
- ManagedMap<K,
V> - Class in org.springframework.beans.factory.support -
Tag collection class used to hold managed Map values, which may include runtime bean references (to be resolved into bean objects).
- ManagedMap() - Constructor for class org.springframework.beans.factory.support.ManagedMap
- ManagedMap(int) - Constructor for class org.springframework.beans.factory.support.ManagedMap
- ManagedMetric - Class in org.springframework.jmx.export.metadata
-
Metadata that indicates to expose a given bean property as a JMX attribute, with additional descriptor properties that indicate that the attribute is a metric.
- ManagedMetric - Annotation Interface in org.springframework.jmx.export.annotation
-
Method-level annotation that indicates to expose a given bean property as a JMX attribute, with added descriptor properties to indicate that it is a metric.
- ManagedMetric() - Constructor for class org.springframework.jmx.export.metadata.ManagedMetric
- ManagedNotification - Class in org.springframework.jmx.export.metadata
-
Metadata that indicates a JMX notification emitted by a bean.
- ManagedNotification - Annotation Interface in org.springframework.jmx.export.annotation
-
Type-level annotation that indicates a JMX notification emitted by a bean.
- ManagedNotification() - Constructor for class org.springframework.jmx.export.metadata.ManagedNotification
- ManagedNotifications - Annotation Interface in org.springframework.jmx.export.annotation
-
Type-level annotation used as a container for one or more
@ManagedNotification
declarations. - ManagedOperation - Class in org.springframework.jmx.export.metadata
-
Metadata that indicates to expose a given method as JMX operation.
- ManagedOperation - Annotation Interface in org.springframework.jmx.export.annotation
-
Method-level annotation that indicates to expose a given method as a JMX operation, corresponding to the
ManagedOperation
attribute. - ManagedOperation() - Constructor for class org.springframework.jmx.export.metadata.ManagedOperation
- ManagedOperationParameter - Class in org.springframework.jmx.export.metadata
-
Metadata about JMX operation parameters.
- ManagedOperationParameter - Annotation Interface in org.springframework.jmx.export.annotation
-
Method-level annotation used to provide metadata about operation parameters, corresponding to a
ManagedOperationParameter
attribute. - ManagedOperationParameter() - Constructor for class org.springframework.jmx.export.metadata.ManagedOperationParameter
- ManagedOperationParameters - Annotation Interface in org.springframework.jmx.export.annotation
-
Method-level annotation used as a container for one or more
@ManagedOperationParameter
declarations. - ManagedProperties - Class in org.springframework.beans.factory.support
-
Tag class which represents a Spring-managed
Properties
instance that supports merging of parent/child definitions. - ManagedProperties() - Constructor for class org.springframework.beans.factory.support.ManagedProperties
- ManagedResource - Class in org.springframework.jmx.export.metadata
-
Metadata indicating that instances of an annotated class are to be registered with a JMX server.
- ManagedResource - Annotation Interface in org.springframework.jmx.export.annotation
-
Class-level annotation that indicates to register instances of a class with a JMX server, corresponding to the
ManagedResource
attribute. - ManagedResource() - Constructor for class org.springframework.jmx.export.metadata.ManagedResource
- ManagedSet<E> - Class in org.springframework.beans.factory.support
-
Tag collection class used to hold managed Set values, which may include runtime bean references (to be resolved into bean objects).
- ManagedSet() - Constructor for class org.springframework.beans.factory.support.ManagedSet
- ManagedSet(int) - Constructor for class org.springframework.beans.factory.support.ManagedSet
- ManagedTaskBuilder() - Constructor for class org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.ManagedTaskBuilder
- ManagedTransactionAdapter - Class in org.springframework.transaction.jta
-
Adapter for a managed JTA Transaction handle, taking a JTA
TransactionManager
reference and creating a JTATransaction
handle for it. - ManagedTransactionAdapter(TransactionManager) - Constructor for class org.springframework.transaction.jta.ManagedTransactionAdapter
-
Create a new ManagedTransactionAdapter for the given TransactionManager.
- MANDATORY - Enum constant in enum class org.springframework.transaction.annotation.Propagation
-
Support a current transaction, throw an exception if none exists.
- manyTimes() - Static method in class org.springframework.test.web.client.ExpectedCount
-
Many times (range of 1..Integer.MAX_VALUE).
- map - Variable in class org.springframework.cglib.core.internal.LoadingCache
- map(Class<?>, TypeDescriptor, TypeDescriptor) - Static method in class org.springframework.core.convert.TypeDescriptor
-
Create a new type descriptor from a
Map
type. - map(BiFunction<Row, RowMetadata, R>) - Method in interface org.springframework.r2dbc.core.DatabaseClient.GenericExecuteSpec
-
Configure a result mapping
function
and enter the execution stage. - map(Function<? super Readable, R>) - Method in interface org.springframework.r2dbc.core.DatabaseClient.GenericExecuteSpec
-
Configure a result mapping
function
and enter the execution stage. - MAP - Enum constant in enum class org.springframework.jms.support.converter.MessageType
-
A
MapMessage
. - MAP_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- MapAccessor - Class in org.springframework.context.expression
-
EL property accessor that knows how to traverse the keys of a standard
Map
. - MapAccessor() - Constructor for class org.springframework.context.expression.MapAccessor
- MapBindingResult - Class in org.springframework.validation
-
Map-based implementation of the BindingResult interface, supporting registration and evaluation of binding errors on Map attributes.
- MapBindingResult(Map<?, ?>, String) - Constructor for class org.springframework.validation.MapBindingResult
-
Create a new MapBindingResult instance.
- MapConnectionFactoryLookup - Class in org.springframework.r2dbc.connection.lookup
-
Simple
ConnectionFactoryLookup
implementation that relies on a map for doing lookups. - MapConnectionFactoryLookup() - Constructor for class org.springframework.r2dbc.connection.lookup.MapConnectionFactoryLookup
-
Create a new instance of the
MapConnectionFactoryLookup
class. - MapConnectionFactoryLookup(String, ConnectionFactory) - Constructor for class org.springframework.r2dbc.connection.lookup.MapConnectionFactoryLookup
-
Create a new instance of the
MapConnectionFactoryLookup
class. - MapConnectionFactoryLookup(Map<String, ConnectionFactory>) - Constructor for class org.springframework.r2dbc.connection.lookup.MapConnectionFactoryLookup
-
Create a new instance of the
MapConnectionFactoryLookup
class. - MapDataSourceLookup - Class in org.springframework.jdbc.datasource.lookup
-
Simple
DataSourceLookup
implementation that relies on a map for doing lookups. - MapDataSourceLookup() - Constructor for class org.springframework.jdbc.datasource.lookup.MapDataSourceLookup
-
Create a new instance of the
MapDataSourceLookup
class. - MapDataSourceLookup(String, DataSource) - Constructor for class org.springframework.jdbc.datasource.lookup.MapDataSourceLookup
-
Create a new instance of the
MapDataSourceLookup
class. - MapDataSourceLookup(Map<String, DataSource>) - Constructor for class org.springframework.jdbc.datasource.lookup.MapDataSourceLookup
-
Create a new instance of the
MapDataSourceLookup
class. - MapDelegate() - Constructor for class org.springframework.aot.generate.ValueCodeGeneratorDelegates.MapDelegate
- mapEntryKeys(Comparator<K>) - Static method in class org.springframework.core.convert.converter.ConvertingComparator
- mapEntryValues(Comparator<V>) - Static method in class org.springframework.core.convert.converter.ConvertingComparator
- MapFactoryBean - Class in org.springframework.beans.factory.config
-
Simple factory for shared Map instances.
- MapFactoryBean() - Constructor for class org.springframework.beans.factory.config.MapFactoryBean
- MapMethodProcessor - Class in org.springframework.web.method.annotation
- MapMethodProcessor() - Constructor for class org.springframework.web.method.annotation.MapMethodProcessor
- MappedInterceptor - Class in org.springframework.web.servlet.handler
-
Wraps a
HandlerInterceptor
and uses URL patterns to determine whether it applies to a given request. - MappedInterceptor(String[], String[], WebRequestInterceptor) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
-
Variant of
MappedInterceptor(String[], String[], HandlerInterceptor, PathPatternParser)
with aWebRequestInterceptor
as the target. - MappedInterceptor(String[], String[], HandlerInterceptor) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
-
Variant of
MappedInterceptor(String[], String[], HandlerInterceptor, PathPatternParser)
without a provided parser. - MappedInterceptor(String[], String[], HandlerInterceptor, PathPatternParser) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
-
Create an instance with the given include and exclude patterns along with the target interceptor for the mappings.
- MappedInterceptor(String[], WebRequestInterceptor) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
-
Variant of
MappedInterceptor(String[], String[], HandlerInterceptor, PathPatternParser)
with aWebRequestInterceptor
as the target. - MappedInterceptor(String[], HandlerInterceptor) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
-
Variant of
MappedInterceptor(String[], String[], HandlerInterceptor, PathPatternParser)
with include patterns only. - mappedInterceptors(String[], HandlerInterceptor...) - Method in interface org.springframework.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Add interceptors for specific patterns.
- mappedInterceptors(String[], HandlerInterceptor...) - Method in interface org.springframework.test.web.servlet.client.MockMvcWebTestClient.RouterFunctionSpec
-
Add interceptors for specific patterns.
- mappedName - Variable in class org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.LookupElement
- mappedNames(PropertyDescriptor) - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Determine the mapped names for the given property.
- mappedObjectNames - Variable in class org.springframework.jmx.support.NotificationListenerHolder
- Mapping - Annotation Interface in org.springframework.web.bind.annotation
-
Meta annotation that indicates a web mapping annotation.
- MappingJackson2CborHttpMessageConverter - Class in org.springframework.http.converter.cbor
-
Implementation of
HttpMessageConverter
that can read and write the CBOR data format using the dedicated Jackson 2.x extension. - MappingJackson2CborHttpMessageConverter() - Constructor for class org.springframework.http.converter.cbor.MappingJackson2CborHttpMessageConverter
-
Construct a new
MappingJackson2CborHttpMessageConverter
using the default configuration provided byJackson2ObjectMapperBuilder
. - MappingJackson2CborHttpMessageConverter(ObjectMapper) - Constructor for class org.springframework.http.converter.cbor.MappingJackson2CborHttpMessageConverter
-
Construct a new
MappingJackson2CborHttpMessageConverter
with a customObjectMapper
(must be configured with aCBORFactory
instance). - MappingJackson2HttpMessageConverter - Class in org.springframework.http.converter.json
-
Implementation of
HttpMessageConverter
that can read and write JSON using Jackson 2.x'sObjectMapper
. - MappingJackson2HttpMessageConverter() - Constructor for class org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
-
Construct a new
MappingJackson2HttpMessageConverter
using default configuration provided byJackson2ObjectMapperBuilder
. - MappingJackson2HttpMessageConverter(ObjectMapper) - Constructor for class org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
-
Construct a new
MappingJackson2HttpMessageConverter
with a customObjectMapper
. - MappingJackson2JsonView - Class in org.springframework.web.servlet.view.json
-
Spring MVC
View
that renders JSON content by serializing the model for the current request using Jackson 2'sObjectMapper
. - MappingJackson2JsonView() - Constructor for class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Construct a new
MappingJackson2JsonView
using default configuration provided byJackson2ObjectMapperBuilder
and setting the content type toapplication/json
. - MappingJackson2JsonView(ObjectMapper) - Constructor for class org.springframework.web.servlet.view.json.MappingJackson2JsonView
-
Construct a new
MappingJackson2JsonView
using the providedObjectMapper
and setting the content type toapplication/json
. - MappingJackson2MessageConverter - Class in org.springframework.jms.support.converter
-
Message converter that uses Jackson 2.x to convert messages to and from JSON.
- MappingJackson2MessageConverter - Class in org.springframework.messaging.converter
-
A Jackson 2 based
MessageConverter
implementation. - MappingJackson2MessageConverter() - Constructor for class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Construct a
MappingJackson2MessageConverter
with a defaultObjectMapper
. - MappingJackson2MessageConverter() - Constructor for class org.springframework.messaging.converter.MappingJackson2MessageConverter
-
Construct a
MappingJackson2MessageConverter
with a defaultObjectMapper
, supporting theapplication/json
MIME type withUTF-8
character set. - MappingJackson2MessageConverter(ObjectMapper) - Constructor for class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Construct a
MappingJackson2MessageConverter
with a customObjectMapper
. - MappingJackson2MessageConverter(ObjectMapper) - Constructor for class org.springframework.messaging.converter.MappingJackson2MessageConverter
-
Construct a
MappingJackson2MessageConverter
with a customObjectMapper
, supporting theapplication/json
MIME type withUTF-8
character set. - MappingJackson2MessageConverter(ObjectMapper, MimeType...) - Constructor for class org.springframework.messaging.converter.MappingJackson2MessageConverter
-
Construct a
MappingJackson2MessageConverter
with a customObjectMapper
, supporting one or more custom MIME types. - MappingJackson2MessageConverter(MimeType...) - Constructor for class org.springframework.messaging.converter.MappingJackson2MessageConverter
-
Construct a
MappingJackson2MessageConverter
with a defaultObjectMapper
, supporting one or more custom MIME types. - MappingJackson2SmileHttpMessageConverter - Class in org.springframework.http.converter.smile
-
Implementation of
HttpMessageConverter
that can read and write Smile data format ("binary JSON") using the dedicated Jackson 2.x extension. - MappingJackson2SmileHttpMessageConverter() - Constructor for class org.springframework.http.converter.smile.MappingJackson2SmileHttpMessageConverter
-
Construct a new
MappingJackson2SmileHttpMessageConverter
using default configuration provided byJackson2ObjectMapperBuilder
. - MappingJackson2SmileHttpMessageConverter(ObjectMapper) - Constructor for class org.springframework.http.converter.smile.MappingJackson2SmileHttpMessageConverter
-
Construct a new
MappingJackson2SmileHttpMessageConverter
with a customObjectMapper
(must be configured with aSmileFactory
instance). - MappingJackson2XmlHttpMessageConverter - Class in org.springframework.http.converter.xml
-
Implementation of
HttpMessageConverter
that can read and write XML using Jackson 2.x extension component for reading and writing XML encoded data. - MappingJackson2XmlHttpMessageConverter() - Constructor for class org.springframework.http.converter.xml.MappingJackson2XmlHttpMessageConverter
-
Construct a new
MappingJackson2XmlHttpMessageConverter
using default configuration provided byJackson2ObjectMapperBuilder
. - MappingJackson2XmlHttpMessageConverter(ObjectMapper) - Constructor for class org.springframework.http.converter.xml.MappingJackson2XmlHttpMessageConverter
-
Construct a new
MappingJackson2XmlHttpMessageConverter
with a customObjectMapper
(must be aXmlMapper
instance). - MappingJackson2XmlView - Class in org.springframework.web.servlet.view.xml
-
Spring MVC
View
that renders XML content by serializing the model for the current request using Jackson 2'sXmlMapper
. - MappingJackson2XmlView() - Constructor for class org.springframework.web.servlet.view.xml.MappingJackson2XmlView
-
Construct a new
MappingJackson2XmlView
using default configuration provided byJackson2ObjectMapperBuilder
and setting the content type toapplication/xml
. - MappingJackson2XmlView(XmlMapper) - Constructor for class org.springframework.web.servlet.view.xml.MappingJackson2XmlView
-
Construct a new
MappingJackson2XmlView
using the providedXmlMapper
and setting the content type toapplication/xml
. - MappingJackson2YamlHttpMessageConverter - Class in org.springframework.http.converter.yaml
-
Implementation of
HttpMessageConverter
that can read and write the YAML data format using the dedicated Jackson 2.x extension. - MappingJackson2YamlHttpMessageConverter() - Constructor for class org.springframework.http.converter.yaml.MappingJackson2YamlHttpMessageConverter
-
Construct a new
MappingJackson2YamlHttpMessageConverter
using the default configuration provided byJackson2ObjectMapperBuilder
. - MappingJackson2YamlHttpMessageConverter(ObjectMapper) - Constructor for class org.springframework.http.converter.yaml.MappingJackson2YamlHttpMessageConverter
-
Construct a new
MappingJackson2YamlHttpMessageConverter
with a customObjectMapper
(must be configured with aYAMLFactory
instance). - MappingJacksonInputMessage - Class in org.springframework.http.converter.json
-
HttpInputMessage
that can eventually stores a Jackson view that will be used to deserialize the message. - MappingJacksonInputMessage(InputStream, HttpHeaders) - Constructor for class org.springframework.http.converter.json.MappingJacksonInputMessage
- MappingJacksonInputMessage(InputStream, HttpHeaders, Class<?>) - Constructor for class org.springframework.http.converter.json.MappingJacksonInputMessage
- MappingJacksonValue - Class in org.springframework.http.converter.json
-
A simple holder for the POJO to serialize via
MappingJackson2HttpMessageConverter
along with further serialization instructions to be passed in to the converter. - MappingJacksonValue(Object) - Constructor for class org.springframework.http.converter.json.MappingJacksonValue
-
Create a new instance wrapping the given POJO to be serialized.
- MappingMediaTypeFileExtensionResolver - Class in org.springframework.web.accept
-
An implementation of
MediaTypeFileExtensionResolver
that maintains lookups between file extensions and MediaTypes in both directions. - MappingMediaTypeFileExtensionResolver(Map<String, MediaType>) - Constructor for class org.springframework.web.accept.MappingMediaTypeFileExtensionResolver
-
Create an instance with the given map of file extensions and media types.
- mappingName(String) - Method in interface org.springframework.web.reactive.result.method.RequestMappingInfo.Builder
-
Set the mapping name.
- mappingName(String) - Method in interface org.springframework.web.servlet.mvc.method.RequestMappingInfo.Builder
-
Set the mapping name.
- mappingsLogger - Variable in class org.springframework.web.reactive.handler.AbstractHandlerMapping
-
Dedicated "hidden" logger for request mappings.
- mappingsLogger - Variable in class org.springframework.web.servlet.handler.AbstractHandlerMapping
-
Dedicated "hidden" logger for request mappings.
- MappingSqlQuery<T> - Class in org.springframework.jdbc.object
-
Reusable query in which concrete subclasses must implement the abstract mapRow(ResultSet, int) method to convert each row of the JDBC ResultSet into an object.
- MappingSqlQuery() - Constructor for class org.springframework.jdbc.object.MappingSqlQuery
-
Constructor that allows use as a JavaBean.
- MappingSqlQuery(DataSource, String) - Constructor for class org.springframework.jdbc.object.MappingSqlQuery
-
Convenient constructor with DataSource and SQL string.
- MappingSqlQueryWithParameters<T> - Class in org.springframework.jdbc.object
-
Reusable RDBMS query in which concrete subclasses must implement the abstract mapRow(ResultSet, int) method to map each row of the JDBC ResultSet into an object.
- MappingSqlQueryWithParameters() - Constructor for class org.springframework.jdbc.object.MappingSqlQueryWithParameters
-
Constructor to allow use as a JavaBean.
- MappingSqlQueryWithParameters(DataSource, String) - Constructor for class org.springframework.jdbc.object.MappingSqlQueryWithParameters
-
Convenient constructor with DataSource and SQL string.
- MappingSqlQueryWithParameters.RowMapperImpl - Class in org.springframework.jdbc.object
-
Implementation of RowMapper that calls the enclosing class's
mapRow
method for each row. - mapProperties(Class<R>) - Method in interface org.springframework.r2dbc.core.DatabaseClient.GenericExecuteSpec
-
Configure a row mapper for the given mapped class and enter the execution stage.
- MapPropertySource - Class in org.springframework.core.env
-
PropertySource
that reads keys and values from aMap
object. - MapPropertySource(String, Map<String, Object>) - Constructor for class org.springframework.core.env.MapPropertySource
-
Create a new
MapPropertySource
with the given name andMap
. - mapRow(ResultSet, int) - Method in class org.springframework.jdbc.core.BeanPropertyRowMapper
-
Extract the values for all columns in the current row.
- mapRow(ResultSet, int) - Method in class org.springframework.jdbc.core.ColumnMapRowMapper
- mapRow(ResultSet, int) - Method in interface org.springframework.jdbc.core.RowMapper
-
Implementations must implement this method to map each row of data in the
ResultSet
. - mapRow(ResultSet, int) - Method in class org.springframework.jdbc.core.SimplePropertyRowMapper
- mapRow(ResultSet, int) - Method in class org.springframework.jdbc.core.SingleColumnRowMapper
-
Extract a value for the single column in the current row.
- mapRow(ResultSet, int) - Method in class org.springframework.jdbc.object.MappingSqlQuery
-
Subclasses must implement this method to convert each row of the ResultSet into an object of the result type.
- mapRow(ResultSet, int) - Method in class org.springframework.jdbc.object.MappingSqlQueryWithParameters.RowMapperImpl
- mapRow(ResultSet, int) - Method in class org.springframework.jdbc.object.SqlFunction
-
This implementation of this method extracts a single value from the single row returned by the function.
- mapRow(ResultSet, int) - Method in class org.springframework.jdbc.object.UpdatableSqlQuery.RowMapperImpl
- mapRow(ResultSet, int, Object[], Map<?, ?>) - Method in class org.springframework.jdbc.object.MappingSqlQuery
-
This method is implemented to invoke the simpler mapRow template method, ignoring parameters.
- mapRow(ResultSet, int, Object[], Map<?, ?>) - Method in class org.springframework.jdbc.object.MappingSqlQueryWithParameters
-
Subclasses must implement this method to convert each row of the ResultSet into an object of the result type.
- MapSqlParameterSource - Class in org.springframework.jdbc.core.namedparam
-
SqlParameterSource
implementation that holds a given Map of parameters. - MapSqlParameterSource() - Constructor for class org.springframework.jdbc.core.namedparam.MapSqlParameterSource
-
Create an empty MapSqlParameterSource, with values to be added via
addValue
. - MapSqlParameterSource(String, Object) - Constructor for class org.springframework.jdbc.core.namedparam.MapSqlParameterSource
-
Create a new MapSqlParameterSource, with one value comprised of the supplied arguments.
- MapSqlParameterSource(Map<String, ?>) - Constructor for class org.springframework.jdbc.core.namedparam.MapSqlParameterSource
-
Create a new MapSqlParameterSource based on a Map.
- mapToBytesMessage(Object, Session, ObjectWriter) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Map the given object to a
BytesMessage
. - mapToMessage(Object, Session, ObjectWriter, MessageType) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Template method that allows for custom message mapping.
- mapToTextMessage(Object, Session, ObjectWriter) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
-
Map the given object to a
TextMessage
. - mapValue(Class<R>) - Method in interface org.springframework.r2dbc.core.DatabaseClient.GenericExecuteSpec
-
Configure a mapping for values in the first column and enter the execution stage.
- MariaDBSequenceMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that retrieves the next value of a given MariaDB sequence. - MariaDBSequenceMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.MariaDBSequenceMaxValueIncrementer
-
Default constructor for bean property style usage.
- MariaDBSequenceMaxValueIncrementer(DataSource, String) - Constructor for class org.springframework.jdbc.support.incrementer.MariaDBSequenceMaxValueIncrementer
-
Convenience constructor.
- mark(Label) - Method in class org.springframework.cglib.core.CodeEmitter
- markApplicationContextDirty(DirtiesContext.HierarchyMode) - Method in class org.springframework.test.context.support.DefaultTestContext
-
Mark the application context associated with this test context as dirty (i.e., by removing it from the context cache and closing it).
- markApplicationContextDirty(DirtiesContext.HierarchyMode) - Method in interface org.springframework.test.context.TestContext
-
Call this method to signal that the application context associated with this test context is dirty and should be removed from the context cache.
- markAsPostProcessed() - Method in class org.springframework.beans.factory.support.RootBeanDefinition
-
Mark this bean definition as post-processed, i.e.
- markBeanAsCreated(String) - Method in class org.springframework.beans.factory.support.AbstractBeanFactory
-
Mark the specified bean as already created (or about to be created).
- marshal(Object, HierarchicalStreamWriter, MarshallingContext) - Method in class org.springframework.oxm.xstream.CatchAllConverter
- marshal(Object, Result) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
- marshal(Object, Result) - Method in interface org.springframework.oxm.Marshaller
-
Marshal the object graph with the given root into the provided
Result
. - marshal(Object, Result) - Method in class org.springframework.oxm.support.AbstractMarshaller
-
Marshals the object graph with the given root into the provided
javax.xml.transform.Result
. - marshal(Object, Result, MimeContainer) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
- marshal(Object, Result, MimeContainer) - Method in interface org.springframework.oxm.mime.MimeMarshaller
-
Marshals the object graph with the given root into the provided
Result
, writing binary data to aMimeContainer
. - marshalDomNode(Object, Node) - Method in class org.springframework.oxm.support.AbstractMarshaller
-
Abstract template method for marshalling the given object graph to a DOM
Node
. - marshalDomNode(Object, Node) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
- marshalDomResult(Object, DOMResult) - Method in class org.springframework.oxm.support.AbstractMarshaller
-
Template method for handling
DOMResult
s. - Marshaller - Interface in org.springframework.oxm
-
Defines the contract for Object XML Mapping Marshallers.
- MarshallingException - Exception in org.springframework.oxm
-
Base class for exception thrown when a marshalling or unmarshalling error occurs.
- MarshallingException(String) - Constructor for exception org.springframework.oxm.MarshallingException
-
Construct a
MarshallingException
with the specified detail message. - MarshallingException(String, Throwable) - Constructor for exception org.springframework.oxm.MarshallingException
-
Construct a
MarshallingException
with the specified detail message and nested exception. - MarshallingFailureException - Exception in org.springframework.oxm
-
Exception thrown on marshalling failure.
- MarshallingFailureException(String) - Constructor for exception org.springframework.oxm.MarshallingFailureException
-
Construct a
MarshallingFailureException
with the specified detail message. - MarshallingFailureException(String, Throwable) - Constructor for exception org.springframework.oxm.MarshallingFailureException
-
Construct a
MarshallingFailureException
with the specified detail message and nested exception. - MarshallingHttpMessageConverter - Class in org.springframework.http.converter.xml
-
Implementation of
HttpMessageConverter
that can read and write XML using Spring'sMarshaller
andUnmarshaller
abstractions. - MarshallingHttpMessageConverter() - Constructor for class org.springframework.http.converter.xml.MarshallingHttpMessageConverter
- MarshallingHttpMessageConverter(Marshaller) - Constructor for class org.springframework.http.converter.xml.MarshallingHttpMessageConverter
-
Construct a new
MarshallingMessageConverter
with the givenMarshaller
set. - MarshallingHttpMessageConverter(Marshaller, Unmarshaller) - Constructor for class org.springframework.http.converter.xml.MarshallingHttpMessageConverter
-
Construct a new
MarshallingMessageConverter
with the givenMarshaller
andUnmarshaller
. - MarshallingMessageConverter - Class in org.springframework.jms.support.converter
- MarshallingMessageConverter - Class in org.springframework.messaging.converter
-
Implementation of
MessageConverter
that can read and write XML using Spring'sMarshaller
andUnmarshaller
abstractions. - MarshallingMessageConverter() - Constructor for class org.springframework.jms.support.converter.MarshallingMessageConverter
- MarshallingMessageConverter() - Constructor for class org.springframework.messaging.converter.MarshallingMessageConverter
-
Default construct allowing for
MarshallingMessageConverter.setMarshaller(Marshaller)
and/orMarshallingMessageConverter.setUnmarshaller(Unmarshaller)
to be invoked separately. - MarshallingMessageConverter(Marshaller) - Constructor for class org.springframework.jms.support.converter.MarshallingMessageConverter
-
Construct a new
MarshallingMessageConverter
with the givenMarshaller
set. - MarshallingMessageConverter(Marshaller) - Constructor for class org.springframework.messaging.converter.MarshallingMessageConverter
-
Constructor with
Marshaller
. - MarshallingMessageConverter(Marshaller, Unmarshaller) - Constructor for class org.springframework.jms.support.converter.MarshallingMessageConverter
-
Construct a new
MarshallingMessageConverter
with the given Marshaller and Unmarshaller. - MarshallingMessageConverter(MimeType...) - Constructor for class org.springframework.messaging.converter.MarshallingMessageConverter
-
Constructor with a given list of MIME types to support.
- MarshallingSource - Class in org.springframework.oxm.support
-
Source
implementation that uses aMarshaller
.Can be constructed with aMarshaller
and an object to be marshalled. - MarshallingSource(Marshaller, Object) - Constructor for class org.springframework.oxm.support.MarshallingSource
-
Create a new
MarshallingSource
with the given marshaller and content. - MarshallingView - Class in org.springframework.web.servlet.view.xml
-
Spring-MVC
View
that allows for response context to be rendered as the result of marshalling by aMarshaller
. - MarshallingView() - Constructor for class org.springframework.web.servlet.view.xml.MarshallingView
-
Construct a new
MarshallingView
with noMarshaller
set. - MarshallingView(Marshaller) - Constructor for class org.springframework.web.servlet.view.xml.MarshallingView
-
Constructs a new
MarshallingView
with the givenMarshaller
set. - marshalOutputStream(Object, OutputStream) - Method in class org.springframework.oxm.support.AbstractMarshaller
-
Abstract template method for marshalling the given object graph to a
OutputStream
. - marshalOutputStream(Object, OutputStream) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
- marshalOutputStream(Object, OutputStream, DataHolder) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
- marshalSaxHandlers(Object, ContentHandler, LexicalHandler) - Method in class org.springframework.oxm.support.AbstractMarshaller
-
Abstract template method for marshalling the given object graph to a SAX
ContentHandler
. - marshalSaxHandlers(Object, ContentHandler, LexicalHandler) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
- marshalSaxResult(Object, SAXResult) - Method in class org.springframework.oxm.support.AbstractMarshaller
-
Template method for handling
SAXResult
s. - marshalStaxResult(Object, Result) - Method in class org.springframework.oxm.support.AbstractMarshaller
-
Template method for handling
StaxResult
s. - marshalStreamResult(Object, StreamResult) - Method in class org.springframework.oxm.support.AbstractMarshaller
-
Template method for handling
StreamResult
s. - marshalToBytesMessage(Object, Session, Marshaller) - Method in class org.springframework.jms.support.converter.MarshallingMessageConverter
-
Marshal the given object to a
BytesMessage
. - marshalToMessage(Object, Session, Marshaller, MessageType) - Method in class org.springframework.jms.support.converter.MarshallingMessageConverter
-
Template method that allows for custom message marshalling.
- marshalToTextMessage(Object, Session, Marshaller) - Method in class org.springframework.jms.support.converter.MarshallingMessageConverter
-
Marshal the given object to a
TextMessage
. - marshalWriter(Object, Writer) - Method in class org.springframework.oxm.support.AbstractMarshaller
-
Abstract template method for marshalling the given object graph to a
Writer
. - marshalWriter(Object, Writer) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
- marshalWriter(Object, Writer, DataHolder) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
- marshalXmlEventWriter(Object, XMLEventWriter) - Method in class org.springframework.oxm.support.AbstractMarshaller
-
Abstract template method for marshalling the given object to a StAX
XMLEventWriter
. - marshalXmlEventWriter(Object, XMLEventWriter) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
- marshalXmlStreamWriter(Object, XMLStreamWriter) - Method in class org.springframework.oxm.support.AbstractMarshaller
-
Abstract template method for marshalling the given object to a StAX
XMLStreamWriter
. - marshalXmlStreamWriter(Object, XMLStreamWriter) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
- match() - Static method in class org.springframework.test.json.JsonComparison
-
Factory method to create a new
JsonComparison
when the JSON strings match. - match(HttpServletRequest, String) - Method in class org.springframework.web.servlet.function.support.RouterFunctionMapping
- match(HttpServletRequest, String) - Method in class org.springframework.web.servlet.handler.AbstractUrlHandlerMapping
- match(HttpServletRequest, String) - Method in interface org.springframework.web.servlet.handler.MatchableHandlerMapping
-
Determine whether the request matches the given pattern.
- match(HttpServletRequest, String) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
- match(Class<? extends Throwable>, Class<? extends Throwable>) - Method in class org.springframework.util.ExceptionTypeFilter
- match(String) - Method in class org.springframework.web.util.UriTemplate
-
Match the given URI to a map of variable values based on this template.
- match(String, String) - Method in class org.springframework.util.AntPathMatcher
- match(String, String) - Method in interface org.springframework.util.PathMatcher
-
Match the given
path
against the givenpattern
, according to this PathMatcher's matching strategy. - match(String, RouteMatcher.Route) - Method in interface org.springframework.util.RouteMatcher
-
Match the given route against the given pattern.
- match(String, RouteMatcher.Route) - Method in class org.springframework.util.SimpleRouteMatcher
- match(String, RouteMatcher.Route) - Method in class org.springframework.web.util.pattern.PathPatternRouteMatcher
- match(RuntimeHints) - Method in class org.springframework.aot.test.agent.RuntimeHintsInvocationsAssert
-
Verifies that each recorded invocation match at least once hint in the provided
RuntimeHints
. - match(DataBuffer) - Method in interface org.springframework.core.io.buffer.DataBufferUtils.Matcher
-
Find the first matching delimiter and return the index of the last byte of the delimiter, or
-1
if not found. - match(ClassMetadata) - Method in class org.springframework.core.type.filter.AbstractClassTestingTypeFilter
-
Determine a match based on the given ClassMetadata object.
- match(ClassMetadata) - Method in class org.springframework.core.type.filter.RegexPatternTypeFilter
- match(MetadataReader, MetadataReaderFactory) - Method in class org.springframework.core.type.filter.AbstractClassTestingTypeFilter
- match(MetadataReader, MetadataReaderFactory) - Method in class org.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter
- match(MetadataReader, MetadataReaderFactory) - Method in class org.springframework.core.type.filter.AspectJTypeFilter
- match(MetadataReader, MetadataReaderFactory) - Method in interface org.springframework.core.type.filter.TypeFilter
-
Determine whether this filter matches for the class described by the given metadata.
- match(ClientHttpRequest) - Method in class org.springframework.test.web.client.DefaultRequestExpectation
- match(ClientHttpRequest) - Method in interface org.springframework.test.web.client.RequestMatcher
-
Match the given request against specific expectations.
- match(SimpSubscription) - Method in interface org.springframework.messaging.simp.user.SimpSubscriptionMatcher
-
Match the given subscription.
- match(MvcResult) - Method in interface org.springframework.test.web.servlet.ResultMatcher
-
Assert the result of an executed request.
- match(T) - Method in class org.springframework.util.InstanceFilter
-
Determine if the specified
instance
matches this filter. - match(T, Collection<? extends T>) - Method in class org.springframework.util.InstanceFilter
-
Determine if the specified
instance
matches one of the candidates. - match(T, T) - Method in class org.springframework.util.InstanceFilter
-
Determine if the specified
instance
is equal to the specifiedcandidate
. - MATCH - Enum constant in enum class org.springframework.test.json.JsonComparison.Result
-
The JSON strings match when considering the comparison rules.
- MatchableHandlerMapping - Interface in org.springframework.web.servlet.handler
-
Additional interface that a
HandlerMapping
can implement to expose a request matching API aligned with its internal request matching configuration and implementation. - matchAll(ResultMatcher...) - Static method in interface org.springframework.test.web.servlet.ResultMatcher
-
Deprecated.
- MatchAlwaysTransactionAttributeSource - Class in org.springframework.transaction.interceptor
-
Very simple implementation of TransactionAttributeSource which will always return the same TransactionAttribute for all methods fed to it.
- MatchAlwaysTransactionAttributeSource() - Constructor for class org.springframework.transaction.interceptor.MatchAlwaysTransactionAttributeSource
- matchAndExtract(String, RouteMatcher.Route) - Method in interface org.springframework.util.RouteMatcher
-
Match the pattern to the route and extract template variables.
- matchAndExtract(String, RouteMatcher.Route) - Method in class org.springframework.util.SimpleRouteMatcher
- matchAndExtract(String, RouteMatcher.Route) - Method in class org.springframework.web.util.pattern.PathPatternRouteMatcher
- matchAndExtract(PathContainer) - Method in class org.springframework.web.util.pattern.PathPattern
-
Match this pattern to the given URI path and return extracted URI template variables as well as path parameters (matrix variables).
- matchClassName(String) - Method in class org.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter
-
Override this to match on type name.
- matchClassName(String) - Method in class org.springframework.core.type.filter.AssignableTypeFilter
- matcher(byte[]) - Static method in class org.springframework.core.io.buffer.DataBufferUtils
-
Return a
DataBufferUtils.Matcher
for the given delimiter. - matcher(byte[]...) - Static method in class org.springframework.core.io.buffer.DataBufferUtils
-
Return a
DataBufferUtils.Matcher
for the given delimiters. - matches(HttpServletRequest) - Method in class org.springframework.web.servlet.handler.HandlerMappingIntrospector.CachedResult
- matches(HttpServletRequest) - Method in class org.springframework.web.servlet.handler.MappedInterceptor
-
Check whether this interceptor is mapped to the request.
- matches(Annotation) - Method in interface org.springframework.core.annotation.AnnotationFilter
-
Test if the given annotation matches the filter.
- matches(Class<?>) - Method in class org.springframework.aop.aspectj.AspectJExpressionPointcut
- matches(Class<?>) - Method in class org.springframework.aop.aspectj.TypePatternClassFilter
-
Should the pointcut apply to the given interface or target class?
- matches(Class<?>) - Method in interface org.springframework.aop.ClassFilter
-
Should the pointcut apply to the given interface or target class?
- matches(Class<?>) - Method in class org.springframework.aop.support.annotation.AnnotationClassFilter
- matches(Class<?>) - Method in class org.springframework.aop.support.ControlFlowPointcut
-
Subclasses can override this for greater filtering (and performance).
- matches(Class<?>) - Method in class org.springframework.aop.support.DefaultIntroductionAdvisor
- matches(Class<?>) - Method in class org.springframework.aop.support.RootClassFilter
- matches(Class<?>) - Method in interface org.springframework.core.annotation.AnnotationFilter
-
Test if the given type matches the filter.
- matches(Field) - Method in interface org.springframework.util.ReflectionUtils.FieldFilter
-
Determine whether the given field matches.
- matches(Method) - Method in class org.springframework.beans.factory.support.LookupOverride
-
Match the specified method by
Method
reference or method name. - matches(Method) - Method in class org.springframework.beans.factory.support.MethodOverride
-
Subclasses must override this to indicate whether they match the given method.
- matches(Method) - Method in class org.springframework.beans.factory.support.ReplaceOverride
- matches(Method) - Method in interface org.springframework.util.ReflectionUtils.MethodFilter
-
Determine whether the given method matches.
- matches(Method, Class<?>) - Method in class org.springframework.aop.aspectj.AspectJExpressionPointcut
- matches(Method, Class<?>) - Method in interface org.springframework.aop.MethodMatcher
-
Perform static checking to determine whether the given method matches.
- matches(Method, Class<?>) - Method in class org.springframework.aop.support.AbstractRegexpMethodPointcut
-
Try to match the regular expression against the fully qualified name of the target class as well as against the method's declaring class, plus the name of the method.
- matches(Method, Class<?>) - Method in class org.springframework.aop.support.annotation.AnnotationMethodMatcher
- matches(Method, Class<?>) - Method in class org.springframework.aop.support.ControlFlowPointcut
-
Subclasses can override this if it's possible to filter out some candidate classes.
- matches(Method, Class<?>) - Method in class org.springframework.aop.support.DynamicMethodMatcher
-
Can override to add preconditions for dynamic matching.
- matches(Method, Class<?>) - Method in class org.springframework.aop.support.NameMatchMethodPointcut
- matches(Method, Class<?>, boolean) - Method in class org.springframework.aop.aspectj.AspectJExpressionPointcut
- matches(Method, Class<?>, boolean) - Method in interface org.springframework.aop.IntroductionAwareMethodMatcher
-
Perform static checking whether the given method matches.
- matches(Method, Class<?>, Object...) - Method in class org.springframework.aop.aspectj.AspectJExpressionPointcut
- matches(Method, Class<?>, Object...) - Method in interface org.springframework.aop.MethodMatcher
-
Check whether there is a runtime (dynamic) match for this method, which must have matched statically.
- matches(Method, Class<?>, Object...) - Method in class org.springframework.aop.support.ControlFlowPointcut
- matches(Method, Class<?>, Object...) - Method in class org.springframework.aop.support.StaticMethodMatcher
- matches(String) - Method in interface org.springframework.core.annotation.AnnotationFilter
-
Test if the given type name matches the filter.
- matches(String) - Method in class org.springframework.http.HttpMethod
-
Determine whether this
HttpMethod
matches the given method value. - matches(String) - Method in interface org.springframework.orm.jpa.persistenceunit.ManagedClassNameFilter
-
Test if the given class name matches the filter.
- matches(String) - Method in class org.springframework.web.util.UriTemplate
-
Indicate whether the given URI matches this template.
- matches(String, int) - Method in class org.springframework.aop.support.AbstractRegexpMethodPointcut
-
Does the pattern at the given index match the given String?
- matches(String, int) - Method in class org.springframework.aop.support.JdkRegexpMethodPointcut
- matches(String, PathMatcher) - Method in class org.springframework.web.servlet.handler.MappedInterceptor
-
Deprecated.as of 5.3 in favor of
MappedInterceptor.matches(HttpServletRequest)
- matches(Predicate<String>) - Method in interface org.springframework.core.env.Profiles
-
Test if this
Profiles
instance matches against the given predicate. - matches(Properties) - Method in interface org.springframework.beans.factory.config.YamlProcessor.DocumentMatcher
-
Test if the given properties match.
- matches(WebRequest) - Method in class org.springframework.test.web.servlet.htmlunit.HostRequestMatcher
- matches(WebRequest) - Method in class org.springframework.test.web.servlet.htmlunit.UrlRegexRequestMatcher
- matches(WebRequest) - Method in interface org.springframework.test.web.servlet.htmlunit.WebRequestMatcher
-
Whether this matcher matches on the supplied web request.
- matches(MethodMatcher, Method, Class<?>, boolean) - Static method in class org.springframework.aop.support.MethodMatchers
-
Apply the given MethodMatcher to the given Method, supporting an
IntroductionAwareMethodMatcher
(if applicable). - matches(Pointcut, Method, Class<?>, Object...) - Static method in class org.springframework.aop.support.Pointcuts
-
Perform the least expensive check for a pointcut match.
- matches(RuntimeHints) - Method in class org.springframework.aot.agent.RecordedInvocation
-
Whether the given hints cover the current invocation.
- matches(ConditionContext, AnnotatedTypeMetadata) - Method in interface org.springframework.context.annotation.Condition
-
Determine if the condition matches.
- matches(TypeDescriptor, TypeDescriptor) - Method in interface org.springframework.core.convert.converter.ConditionalConverter
-
Should the conversion from
sourceType
totargetType
currently under consideration be selected? - matches(PathContainer) - Method in class org.springframework.web.util.pattern.PathPattern
-
Whether this pattern matches the given path.
- matches(ResultMatcher) - Method in class org.springframework.test.web.servlet.assertj.MvcTestResultAssert
-
Verify that the actual MVC result matches the given
ResultMatcher
. - matchesAntPattern(String) - Method in class org.springframework.test.web.UriAssert
-
Verify that the actual URI matches the given Ant-style
uriPattern
. - matchesBeanName(String, String) - Method in class org.springframework.beans.factory.support.DefaultListableBeanFactory
-
Determine whether the given candidate name matches the bean name or the aliases stored in this bean definition.
- matchesCharacter(String, char) - Static method in class org.springframework.util.StringUtils
-
Test if the given
String
matches the given single character. - matchesExclusion(String, int) - Method in class org.springframework.aop.support.AbstractRegexpMethodPointcut
-
Does the exclusion pattern at the given index match the given String?
- matchesExclusion(String, int) - Method in class org.springframework.aop.support.JdkRegexpMethodPointcut
- matchesName(String) - Method in class org.springframework.beans.factory.config.BeanDefinitionHolder
-
Determine whether the given candidate name matches the bean name or the aliases stored in this bean definition.
- matchesPattern(String) - Method in class org.springframework.aop.support.AbstractRegexpMethodPointcut
-
Match the specified candidate against the configured patterns.
- matchesProfiles(String...) - Method in interface org.springframework.core.env.Environment
-
Determine whether one of the given profile expressions matches the active profiles — or in the case of no explicit active profiles, whether one of the given profile expressions matches the default profiles.
- matchesProperty(String, String) - Static method in class org.springframework.beans.PropertyAccessorUtils
-
Determine whether the given registered path matches the given property path, either indicating the property itself or an indexed element of the property.
- matchesTypeName(Class<?>, String) - Static method in class org.springframework.util.ClassUtils
-
Check whether the given class matches the user-specified type name.
- MATCHING_PATTERN_ATTRIBUTE - Static variable in class org.springframework.web.reactive.function.server.RouterFunctions
-
Name of the
attribute
that contains the matching pattern, as anPathPattern
. - MATCHING_PATTERN_ATTRIBUTE - Static variable in class org.springframework.web.servlet.function.RouterFunctions
-
Name of the request attribute that contains the matching pattern, as a
PathPattern
. - matchInParameterValuesWithCallParameters(Object[]) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
- matchInParameterValuesWithCallParameters(Map<String, ?>) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Match input parameter values with the parameters declared to be used in the call.
- matchInParameterValuesWithCallParameters(Map<String, ?>) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Match the provided in parameter values with registered parameters and parameters defined via meta-data processing.
- matchInParameterValuesWithCallParameters(SqlParameterSource) - Method in class org.springframework.jdbc.core.metadata.CallMetaDataContext
-
Match input parameter values with the parameters declared to be used in the call.
- matchInParameterValuesWithCallParameters(SqlParameterSource) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcCall
-
Match the provided in parameter values with registered parameters and parameters defined via meta-data processing.
- matchInParameterValuesWithInsertColumns(Map<String, ?>) - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Match the provided column names and values with the list of columns used.
- matchInParameterValuesWithInsertColumns(Map<String, ?>) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Match the provided in parameter values with registered parameters and parameters defined via meta-data processing.
- matchInParameterValuesWithInsertColumns(SqlParameterSource) - Method in class org.springframework.jdbc.core.metadata.TableMetaDataContext
-
Match the provided column names and values with the list of columns used.
- matchInParameterValuesWithInsertColumns(SqlParameterSource) - Method in class org.springframework.jdbc.core.simple.AbstractJdbcInsert
-
Match the provided in parameter values with registered parameters and parameters defined via meta-data processing.
- matchInterface(String) - Method in class org.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter
-
Override this to match on interface type name.
- matchInterface(String) - Method in class org.springframework.core.type.filter.AnnotationTypeFilter
- matchInterface(String) - Method in class org.springframework.core.type.filter.AssignableTypeFilter
- matchRequest(ClientHttpRequest) - Method in class org.springframework.test.web.client.AbstractRequestExpectationManager
-
As of 5.0.3 subclasses should implement this method instead of
#validateRequestInternal(ClientHttpRequest)
in order to match the request to an expectation, leaving the call to create the response as a separate step (to be invoked by this class). - matchRequest(ClientHttpRequest) - Method in class org.springframework.test.web.client.SimpleRequestExpectationManager
- matchRequest(ClientHttpRequest) - Method in class org.springframework.test.web.client.UnorderedRequestExpectationManager
- matchSelf(MetadataReader) - Method in class org.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter
-
Override this to match self characteristics alone.
- matchSelf(MetadataReader) - Method in class org.springframework.core.type.filter.AnnotationTypeFilter
- matchStart(String, String) - Method in class org.springframework.util.AntPathMatcher
- matchStart(String, String) - Method in interface org.springframework.util.PathMatcher
-
Match the given
path
against the corresponding part of the givenpattern
, according to this PathMatcher's matching strategy. - matchStartOfPath(PathContainer) - Method in class org.springframework.web.util.pattern.PathPattern
-
Match the beginning of the given path and return the remaining portion not covered by this pattern.
- matchStrings(String, Map<String, String>) - Method in class org.springframework.util.AntPathMatcher.AntPathStringMatcher
-
Main entry point.
- matchSuperClass(String) - Method in class org.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter
-
Override this to match on supertype name.
- matchSuperClass(String) - Method in class org.springframework.core.type.filter.AnnotationTypeFilter
- matchSuperClass(String) - Method in class org.springframework.core.type.filter.AssignableTypeFilter
- matchTargetType(String) - Method in class org.springframework.core.type.filter.AssignableTypeFilter
- math(int, Type) - Method in class org.springframework.cglib.core.CodeEmitter
- MATRIX_VARIABLES_ATTRIBUTE - Static variable in interface org.springframework.web.reactive.HandlerMapping
-
Name of the
attribute
that contains a map with URI variable names and a corresponding MultiValueMap of URI matrix variables for each. - MATRIX_VARIABLES_ATTRIBUTE - Static variable in interface org.springframework.web.servlet.HandlerMapping
-
Name of the
HttpServletRequest
attribute that contains a map with URI variable names and a corresponding MultiValueMap of URI matrix variables for each. - matrixVariable(MatrixVariable, ParameterValidationResult) - Method in interface org.springframework.web.method.annotation.HandlerMethodValidationException.Visitor
-
Handle results for
@MatrixVariable
method parameters. - MatrixVariable - Annotation Interface in org.springframework.web.bind.annotation
-
Annotation which indicates that a method parameter should be bound to a name-value pair within a path segment.
- MatrixVariableMapMethodArgumentResolver - Class in org.springframework.web.reactive.result.method.annotation
-
Resolves arguments of type
Map
annotated with@MatrixVariable
where the annotation does not specify a name. - MatrixVariableMapMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
Resolves arguments of type
Map
annotated with@MatrixVariable
where the annotation does not specify a name. - MatrixVariableMapMethodArgumentResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.MatrixVariableMapMethodArgumentResolver
- MatrixVariableMapMethodArgumentResolver(ReactiveAdapterRegistry) - Constructor for class org.springframework.web.reactive.result.method.annotation.MatrixVariableMapMethodArgumentResolver
- MatrixVariableMethodArgumentResolver - Class in org.springframework.web.reactive.result.method.annotation
-
Resolves arguments annotated with
@MatrixVariable
. - MatrixVariableMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
-
Resolves arguments annotated with
@MatrixVariable
. - MatrixVariableMethodArgumentResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.MatrixVariableMethodArgumentResolver
- MatrixVariableMethodArgumentResolver(ConfigurableBeanFactory, ReactiveAdapterRegistry) - Constructor for class org.springframework.web.reactive.result.method.annotation.MatrixVariableMethodArgumentResolver
- max(int) - Static method in class org.springframework.test.web.client.ExpectedCount
-
At most
max
number of times. - MAX_ARRAY_ELEMENTS_THRESHOLD_EXCEEDED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MAX_CONCATENATED_STRING_LENGTH_EXCEEDED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MAX_CONTEXT_CACHE_SIZE_PROPERTY_NAME - Static variable in interface org.springframework.test.context.cache.ContextCache
-
System property used to configure the maximum size of the
ContextCache
as a positive integer: "spring.test.context.cache.maxSize". - MAX_EXPRESSION_LENGTH_EXCEEDED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MAX_FORWARDS - Static variable in class org.springframework.http.HttpHeaders
-
The HTTP
Max-Forwards
header field name. - MAX_REGEX_LENGTH_EXCEEDED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MAX_REPEATED_TEXT_SIZE_EXCEEDED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MAX_SPEL_EXPRESSION_LENGTH_PROPERTY_NAME - Static variable in class org.springframework.context.expression.StandardBeanExpressionResolver
-
System property to configure the maximum length for SpEL expressions: "spring.context.expression.maxLength".
- maxAge() - Element in annotation interface org.springframework.web.bind.annotation.CrossOrigin
-
The maximum age (in seconds) of the cache duration for preflight responses.
- maxAge(long) - Method in interface org.springframework.http.ResponseCookie.ResponseCookieBuilder
-
Variant of
ResponseCookie.ResponseCookieBuilder.maxAge(Duration)
accepting a value in seconds. - maxAge(long) - Method in class org.springframework.web.reactive.config.CorsRegistration
-
Configure how long in seconds the response from a pre-flight request can be cached by clients.
- maxAge(long) - Method in class org.springframework.web.servlet.config.annotation.CorsRegistration
-
Configure how long in seconds the response from a pre-flight request can be cached by clients.
- maxAge(long, TimeUnit) - Static method in class org.springframework.http.CacheControl
-
Add a "max-age=" directive.
- maxAge(String, int) - Method in class org.springframework.test.web.servlet.result.CookieResultMatchers
-
Assert a cookie's maxAge.
- maxAge(String, Duration) - Method in class org.springframework.test.web.reactive.server.CookieAssertions
-
Assert a cookie's "Max-Age" attribute.
- maxAge(String, Matcher<? super Integer>) - Method in class org.springframework.test.web.servlet.result.CookieResultMatchers
-
Assert a cookie's maxAge with a Hamcrest
Matcher
. - maxAge(String, Matcher<? super Long>) - Method in class org.springframework.test.web.reactive.server.CookieAssertions
-
Assert a cookie's "Max-Age" attribute with a Hamcrest
Matcher
. - maxAge(Duration) - Static method in class org.springframework.http.CacheControl
-
Add a "max-age=" directive.
- maxAge(Duration) - Method in interface org.springframework.http.ResponseCookie.ResponseCookieBuilder
-
Set the cookie "Max-Age" attribute.
- maxInMemorySize() - Method in interface org.springframework.http.codec.CodecConfigurer.DefaultCodecConfig
-
Get the configured limit on the number of bytes that can be buffered whenever the input stream needs to be aggregated.
- maxInMemorySize(int) - Method in interface org.springframework.http.codec.CodecConfigurer.DefaultCodecs
-
Configure a limit on the number of bytes that can be buffered whenever the input stream needs to be aggregated.
- MAXLENGTH_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.InputTag
- maxPoolSize(int) - Method in class org.springframework.messaging.simp.config.TaskExecutorRegistration
-
Set the max pool size of the ThreadPoolExecutor.
- MaxUploadSizeExceededException - Exception in org.springframework.web.multipart
-
MultipartException subclass thrown when an upload exceeds the maximum upload size allowed.
- MaxUploadSizeExceededException(long) - Constructor for exception org.springframework.web.multipart.MaxUploadSizeExceededException
-
Constructor for MaxUploadSizeExceededException.
- MaxUploadSizeExceededException(long, Throwable) - Constructor for exception org.springframework.web.multipart.MaxUploadSizeExceededException
-
Constructor for MaxUploadSizeExceededException.
- MBeanClientInterceptor - Class in org.springframework.jmx.access
-
MethodInterceptor
that routes calls to an MBean running on the suppliedMBeanServerConnection
. - MBeanClientInterceptor() - Constructor for class org.springframework.jmx.access.MBeanClientInterceptor
- MBeanConnectFailureException - Exception in org.springframework.jmx.access
-
Thrown when an invocation failed because of an I/O problem on the MBeanServerConnection.
- MBeanConnectFailureException(String, Throwable) - Constructor for exception org.springframework.jmx.access.MBeanConnectFailureException
-
Create a new
MBeanConnectFailureException
with the specified error message and root cause. - MBeanExportConfiguration - Class in org.springframework.context.annotation
-
@Configuration
class that registers aAnnotationMBeanExporter
bean. - MBeanExportConfiguration() - Constructor for class org.springframework.context.annotation.MBeanExportConfiguration
- mbeanExporter() - Method in class org.springframework.context.annotation.MBeanExportConfiguration
- MBeanExporter - Class in org.springframework.jmx.export
-
JMX exporter that allows for exposing any Spring-managed bean to a JMX
MBeanServer
, without the need to define any JMX-specific information in the bean classes. - MBeanExporter() - Constructor for class org.springframework.jmx.export.MBeanExporter
- MBeanExporterListener - Interface in org.springframework.jmx.export
-
A listener that allows application code to be notified when an MBean is registered and unregistered via an
MBeanExporter
. - MBeanExportException - Exception in org.springframework.jmx.export
-
Exception thrown in case of failure when exporting an MBean.
- MBeanExportException(String) - Constructor for exception org.springframework.jmx.export.MBeanExportException
-
Create a new
MBeanExportException
with the specified error message. - MBeanExportException(String, Throwable) - Constructor for exception org.springframework.jmx.export.MBeanExportException
-
Create a new
MBeanExportException
with the specified error message and root cause. - MBeanExportOperations - Interface in org.springframework.jmx.export
-
Interface that defines the set of MBean export operations that are intended to be accessed by application developers during application runtime.
- MBeanInfoAssembler - Interface in org.springframework.jmx.export.assembler
-
Interface to be implemented by all classes that can create management interface metadata for a managed resource.
- MBeanInfoRetrievalException - Exception in org.springframework.jmx.access
-
Thrown if an exception is encountered when trying to retrieve MBean metadata.
- MBeanInfoRetrievalException(String) - Constructor for exception org.springframework.jmx.access.MBeanInfoRetrievalException
-
Create a new
MBeanInfoRetrievalException
with the specified error message. - MBeanInfoRetrievalException(String, Throwable) - Constructor for exception org.springframework.jmx.access.MBeanInfoRetrievalException
-
Create a new
MBeanInfoRetrievalException
with the specified error message and root cause. - MBeanProxyFactoryBean - Class in org.springframework.jmx.access
-
Creates a proxy to a managed resource running either locally or remotely.
- MBeanProxyFactoryBean() - Constructor for class org.springframework.jmx.access.MBeanProxyFactoryBean
- mbeanRegistered(ObjectName) - Method in interface org.springframework.jmx.export.MBeanExporterListener
-
Called by
MBeanExporter
after an MBean has been successfully registered with anMBeanServer
. - MBeanRegistrationSupport - Class in org.springframework.jmx.support
-
Provides supporting infrastructure for registering MBeans with an
MBeanServer
. - MBeanRegistrationSupport() - Constructor for class org.springframework.jmx.support.MBeanRegistrationSupport
- MBeanServerConnectionFactoryBean - Class in org.springframework.jmx.support
-
FactoryBean
that creates a JMX 1.2MBeanServerConnection
to a remoteMBeanServer
exposed via aJMXServerConnector
. - MBeanServerConnectionFactoryBean() - Constructor for class org.springframework.jmx.support.MBeanServerConnectionFactoryBean
- MBeanServerFactoryBean - Class in org.springframework.jmx.support
-
FactoryBean
that obtains aMBeanServer
reference through the standard JMX 1.2MBeanServerFactory
API. - MBeanServerFactoryBean() - Constructor for class org.springframework.jmx.support.MBeanServerFactoryBean
- MBeanServerNotFoundException - Exception in org.springframework.jmx
-
Exception thrown when we cannot locate an instance of an
MBeanServer
, or when more than one instance is found. - MBeanServerNotFoundException(String) - Constructor for exception org.springframework.jmx.MBeanServerNotFoundException
-
Create a new
MBeanServerNotFoundException
with the supplied error message. - MBeanServerNotFoundException(String, Throwable) - Constructor for exception org.springframework.jmx.MBeanServerNotFoundException
-
Create a new
MBeanServerNotFoundException
with the specified error message and root cause. - mbeanUnregistered(ObjectName) - Method in interface org.springframework.jmx.export.MBeanExporterListener
-
Called by
MBeanExporter
after an MBean has been successfully unregistered from anMBeanServer
. - md5Digest(byte[]) - Static method in class org.springframework.util.DigestUtils
-
Calculate the MD5 digest of the given bytes.
- md5Digest(InputStream) - Static method in class org.springframework.util.DigestUtils
-
Calculate the MD5 digest of the given stream.
- md5DigestAsHex(byte[]) - Static method in class org.springframework.util.DigestUtils
-
Return a hexadecimal string representation of the MD5 digest of the given bytes.
- md5DigestAsHex(InputStream) - Static method in class org.springframework.util.DigestUtils
-
Return a hexadecimal string representation of the MD5 digest of the given stream.
- MEDIA_TYPE_ALL_LIST - Static variable in interface org.springframework.web.accept.ContentNegotiationStrategy
-
A singleton list with
MediaType.ALL
that is returned fromContentNegotiationStrategy.resolveMediaTypes(org.springframework.web.context.request.NativeWebRequest)
when no specific media types are requested. - MEDIA_TYPE_ALL_LIST - Static variable in interface org.springframework.web.reactive.accept.RequestedContentTypeResolver
-
A singleton list with
MediaType.ALL
that is returned fromRequestedContentTypeResolver.resolveMediaTypes(org.springframework.web.server.ServerWebExchange)
when no specific media types are requested. - mediaType(String, MediaType) - Method in class org.springframework.web.reactive.accept.RequestedContentTypeResolverBuilder.ParameterResolverConfigurer
-
Configure a mapping between a lookup key (extracted from a query parameter value) and a corresponding
MediaType
. - mediaType(String, MediaType) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
-
Add a mapping from a key, extracted from a path extension or a query parameter, to a MediaType.
- mediaType(Map<String, MediaType>) - Method in class org.springframework.web.reactive.accept.RequestedContentTypeResolverBuilder.ParameterResolverConfigurer
- MediaType - Class in org.springframework.http
-
A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. - MediaType(String) - Constructor for class org.springframework.http.MediaType
-
Create a new
MediaType
for the given primary type. - MediaType(String, String) - Constructor for class org.springframework.http.MediaType
-
Create a new
MediaType
for the given primary type and subtype. - MediaType(String, String, double) - Constructor for class org.springframework.http.MediaType
-
Create a new
MediaType
for the given type, subtype, and quality value. - MediaType(String, String, Charset) - Constructor for class org.springframework.http.MediaType
-
Create a new
MediaType
for the given type, subtype, and character set. - MediaType(String, String, Map<String, String>) - Constructor for class org.springframework.http.MediaType
-
Create a new
MediaType
for the given type, subtype, and parameters. - MediaType(MediaType, Charset) - Constructor for class org.springframework.http.MediaType
-
Copy-constructor that copies the type, subtype and parameters of the given
MediaType
, and allows to set the specified character set. - MediaType(MediaType, Map<String, String>) - Constructor for class org.springframework.http.MediaType
-
Copy-constructor that copies the type and subtype of the given
MediaType
, and allows for different parameters. - MediaType(MimeType) - Constructor for class org.springframework.http.MediaType
-
Create a new
MediaType
for the givenMimeType
. - MediaTypeAssert - Class in org.springframework.test.http
-
AssertJ
assertions
that can be applied to aMediaType
. - MediaTypeAssert(String) - Constructor for class org.springframework.test.http.MediaTypeAssert
- MediaTypeAssert(MediaType) - Constructor for class org.springframework.test.http.MediaTypeAssert
- MediaTypeEditor - Class in org.springframework.http
- MediaTypeEditor() - Constructor for class org.springframework.http.MediaTypeEditor
- MediaTypeExpression - Interface in org.springframework.web.reactive.result.condition
-
A contract for media type expressions (e.g.
- MediaTypeExpression - Interface in org.springframework.web.servlet.mvc.condition
-
A contract for media type expressions (e.g.
- MediaTypeFactory - Class in org.springframework.http
- MediaTypeFileExtensionResolver - Interface in org.springframework.web.accept
-
Strategy to resolve a
MediaType
to a list of file extensions — for example, to resolve "application/json" to "json". - mediaTypes(Map<String, MediaType>) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
- MEGABYTES - Enum constant in enum class org.springframework.util.unit.DataUnit
-
Megabytes, represented by suffix
MB
. - member - Variable in class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
- member - Variable in class org.springframework.cglib.reflect.FastMember
- memberCategories() - Element in annotation interface org.springframework.aot.hint.annotation.RegisterReflection
-
Specify the member categories to enable.
- memberCategories() - Method in record class org.springframework.aot.hint.annotation.RegisterReflectionReflectiveProcessor.ReflectionRegistration
-
Returns the value of the
memberCategories
record component. - MemberCategory - Enum Class in org.springframework.aot.hint
-
Predefined
Member
categories. - MemberHint - Class in org.springframework.aot.hint
-
Base hint that describes the need for reflection on a
Member
. - MemberHint(String) - Constructor for class org.springframework.aot.hint.MemberHint
- merge(Object) - Method in class org.springframework.beans.factory.support.ManagedList
- merge(Object) - Method in class org.springframework.beans.factory.support.ManagedMap
- merge(Object) - Method in class org.springframework.beans.factory.support.ManagedProperties
- merge(Object) - Method in class org.springframework.beans.factory.support.ManagedSet
- merge(Object) - Method in interface org.springframework.beans.Mergeable
-
Merge the current value set with that of the supplied object.
- merge(Object) - Method in class org.springframework.test.web.servlet.request.AbstractMockHttpServletRequestBuilder
-
Merges the properties of the "parent" RequestBuilder accepting values only if not already set in "this" instance.
- merge(Object) - Method in class org.springframework.test.web.servlet.request.AbstractMockMultipartHttpServletRequestBuilder
- merge(String, T) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Copy the state of the given object onto the persistent object with the same identifier.
- merge(String, T) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- merge(Map<String, Object>, String, Object) - Static method in class org.springframework.core.codec.Hints
-
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(Map<String, Object>, Map<String, Object>) - Static method in class org.springframework.core.codec.Hints
-
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(ConfigurableEnvironment) - Method in class org.springframework.core.env.AbstractEnvironment
- merge(ConfigurableEnvironment) - Method in interface org.springframework.core.env.ConfigurableEnvironment
-
Append the given parent environment's active profiles, default profiles and property sources to this (child) environment's respective collections of each.
- merge(Bindings, Bindings) - Static method in class org.springframework.r2dbc.core.binding.Bindings
- merge(T) - Method in interface org.springframework.orm.hibernate5.HibernateOperations
-
Copy the state of the given object onto the persistent object with the same identifier.
- merge(T) - Method in class org.springframework.orm.hibernate5.HibernateTemplate
- MERGE - Enum constant in enum class org.springframework.test.context.jdbc.SqlMergeMode.MergeMode
-
Indicates that method-level
@Sql
declarations should be merged with class-level@Sql
declarations, with class-level SQL scripts and statements executed before method-level scripts and statements. - MERGE_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- MERGE_WITH_DEFAULTS - Enum constant in enum class org.springframework.test.context.ContextCustomizerFactories.MergeMode
-
Indicates that locally declared factories should be merged with the default factories.
- MERGE_WITH_DEFAULTS - Enum constant in enum class org.springframework.test.context.TestExecutionListeners.MergeMode
-
Indicates that locally declared listeners should be merged with the default listeners.
- Mergeable - Interface in org.springframework.beans
-
Interface representing an object whose value set can be merged with that of a parent object.
- mergeArrayIntoCollection(Object, Collection<E>) - Static method in class org.springframework.util.CollectionUtils
-
Merge the given array into the given Collection.
- mergeAttributes(Map<String, ?>) - Method in class org.springframework.ui.ConcurrentModel
-
Copy all attributes in the supplied
Map
into thisMap
, with existing objects of the same name taking precedence (i.e. - mergeAttributes(Map<String, ?>) - Method in class org.springframework.ui.ExtendedModelMap
- mergeAttributes(Map<String, ?>) - Method in interface org.springframework.ui.Model
-
Copy all attributes in the supplied
Map
into thisMap
, with existing objects of the same name taking precedence (i.e. - mergeAttributes(Map<String, ?>) - Method in class org.springframework.ui.ModelMap
-
Copy all attributes in the supplied
Map
into thisMap
, with existing objects of the same name taking precedence (i.e. - mergeAttributes(Map<String, ?>) - Method in class org.springframework.web.method.support.ModelAndViewContainer
-
Copy attributes in the supplied
Map
with existing objects of the same name taking precedence (i.e. - mergeAttributes(Map<String, ?>) - Method in interface org.springframework.web.servlet.mvc.support.RedirectAttributes
- mergeAttributes(Map<String, ?>) - Method in class org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap
-
Copy all attributes in the supplied
Map
into thisMap
, with existing objects of the same name taking precedence (i.e. - mergeAttributes(Model) - Method in class org.springframework.web.reactive.result.view.Fragment
-
Merge attributes from the request model if not already present.
- MergedAnnotation<A extends Annotation> - Interface in org.springframework.core.annotation
-
A single merged annotation returned from a
MergedAnnotations
collection. - MergedAnnotation.Adapt - Enum Class in org.springframework.core.annotation
-
Adaptations that can be applied to attribute values when creating Maps or
AnnotationAttributes
. - MergedAnnotationCollectors - Class in org.springframework.core.annotation
-
Collector
implementations that provide various reduction operations forMergedAnnotation
instances. - MergedAnnotationPredicates - Class in org.springframework.core.annotation
-
Predicate implementations that provide various test operations for
MergedAnnotations
. - MergedAnnotations - Interface in org.springframework.core.annotation
- MergedAnnotations.Search - Class in org.springframework.core.annotation
-
Fluent API for configuring the search algorithm used in the
MergedAnnotations
model and performing a search. - MergedAnnotations.SearchStrategy - Enum Class in org.springframework.core.annotation
-
Search strategies supported by
MergedAnnotations.search(SearchStrategy)
as well asMergedAnnotations.from(AnnotatedElement, SearchStrategy)
and variants of that method. - MergedAnnotationSelector<A extends Annotation> - Interface in org.springframework.core.annotation
-
Strategy interface used to select between two
MergedAnnotation
instances. - MergedAnnotationSelectors - Class in org.springframework.core.annotation
-
MergedAnnotationSelector
implementations that provide various options forMergedAnnotation
instances. - MergedBeanDefinitionPostProcessor - Interface in org.springframework.beans.factory.support
-
Post-processor callback interface for merged bean definitions at runtime.
- MergedContextConfiguration - Class in org.springframework.test.context
-
MergedContextConfiguration
encapsulates the merged context configuration declared on a test class and all of its superclasses and enclosing classes via@ContextConfiguration
,@ActiveProfiles
, and@TestPropertySource
. - MergedContextConfiguration(Class<?>, String[], Class<?>[], String[], ContextLoader) - Constructor for class org.springframework.test.context.MergedContextConfiguration
-
Create a new
MergedContextConfiguration
instance for the supplied parameters. - MergedContextConfiguration(Class<?>, String[], Class<?>[], Set<Class<? extends ApplicationContextInitializer<?>>>, String[], String[], String[], Set<ContextCustomizer>, ContextLoader, CacheAwareContextLoaderDelegate, MergedContextConfiguration) - Constructor for class org.springframework.test.context.MergedContextConfiguration
- MergedContextConfiguration(Class<?>, String[], Class<?>[], Set<Class<? extends ApplicationContextInitializer<?>>>, String[], String[], String[], ContextLoader, CacheAwareContextLoaderDelegate, MergedContextConfiguration) - Constructor for class org.springframework.test.context.MergedContextConfiguration
- MergedContextConfiguration(Class<?>, String[], Class<?>[], Set<Class<? extends ApplicationContextInitializer<?>>>, String[], List<PropertySourceDescriptor>, String[], Set<ContextCustomizer>, ContextLoader, CacheAwareContextLoaderDelegate, MergedContextConfiguration) - Constructor for class org.springframework.test.context.MergedContextConfiguration
-
Create a new
MergedContextConfiguration
instance for the supplied parameters. - MergedContextConfiguration(Class<?>, String[], Class<?>[], Set<Class<? extends ApplicationContextInitializer<?>>>, String[], ContextLoader) - Constructor for class org.springframework.test.context.MergedContextConfiguration
-
Create a new
MergedContextConfiguration
instance for the supplied parameters. - MergedContextConfiguration(Class<?>, String[], Class<?>[], Set<Class<? extends ApplicationContextInitializer<?>>>, String[], ContextLoader, CacheAwareContextLoaderDelegate, MergedContextConfiguration) - Constructor for class org.springframework.test.context.MergedContextConfiguration
-
Create a new
MergedContextConfiguration
instance for the supplied parameters. - MergedContextConfiguration(MergedContextConfiguration) - Constructor for class org.springframework.test.context.MergedContextConfiguration
-
Create a new
MergedContextConfiguration
instance by copying all fields from the suppliedMergedContextConfiguration
. - mergeMode() - Element in annotation interface org.springframework.test.context.ContextCustomizerFactories
-
The merge mode to use when
@ContextCustomizerFactories
is declared on a class that does not inherit factories from a superclass or enclosing class. - mergeMode() - Element in annotation interface org.springframework.test.context.TestExecutionListeners
-
The merge mode to use when
@TestExecutionListeners
is declared on a class that does not inherit listeners from a superclass or enclosing class. - mergePdfDocument(Map<String, Object>, PdfStamper, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.web.servlet.view.document.AbstractPdfStamperView
-
Subclasses must implement this method to merge the PDF form with the given model data.
- mergeProperties() - Method in class org.springframework.core.io.support.PropertiesLoaderSupport
-
Return a merged Properties instance containing both the loaded properties and properties set on this FactoryBean.
- mergeProperties(List<ReloadableResourceBundleMessageSource.PropertiesHolder>) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
-
Merge the given properties holders into a single holder.
- mergePropertiesIntoMap(Properties, Map<K, V>) - Static method in class org.springframework.util.CollectionUtils
-
Merge the given Properties instance into the given Map, copying all properties (key-value pairs) over.
- mergeRequestConfig(RequestConfig) - Method in class org.springframework.http.client.HttpComponentsClientHttpRequestFactory
-
Merge the given
HttpClient
-levelRequestConfig
with the factory-level configuration, if necessary. - mergeSort(int) - Method in class org.springframework.cglib.util.ParallelSorter
- mergeSort(int, int) - Method in class org.springframework.cglib.util.ParallelSorter
- mergeSort(int, int, int) - Method in class org.springframework.cglib.util.ParallelSorter
-
Sort the arrays using an in-place merge sort.
- mergeSort(int, int, int, Comparator) - Method in class org.springframework.cglib.util.ParallelSorter
-
Sort the arrays using an in-place merge sort.
- mergeSort(int, Comparator) - Method in class org.springframework.cglib.util.ParallelSorter
-
Sort the arrays using an in-place merge sort.
- Message<T> - Interface in org.springframework.messaging
-
A generic message representation with headers and body.
- MESSAGE - Enum constant in enum class org.springframework.messaging.simp.SimpMessageType
- MESSAGE - Enum constant in enum class org.springframework.messaging.simp.stomp.StompCommand
- MESSAGE - Enum constant in enum class org.springframework.web.socket.sockjs.frame.SockJsFrameType
- MESSAGE - Static variable in class org.springframework.messaging.simp.SimpMessageTypeMessageCondition
- MESSAGE_ID - Static variable in interface org.springframework.jms.support.JmsHeaders
-
Unique identifier for a message.
- MESSAGE_ID - Static variable in class org.springframework.messaging.simp.stomp.StompHeaders
- MESSAGE_ROUTE - Static variable in class org.springframework.http.server.PathContainer.Options
-
Options for a message route.
- MESSAGE_SOURCE_BEAN_NAME - Static variable in class org.springframework.context.support.AbstractApplicationContext
-
The name of the
MessageSource
bean in the context. - MESSAGE_TYPE_HEADER - Static variable in class org.springframework.messaging.simp.SimpMessageHeaderAccessor
- MessageBrokerRegistry - Class in org.springframework.messaging.simp.config
-
A registry for configuring message broker options.
- MessageBrokerRegistry(SubscribableChannel, MessageChannel) - Constructor for class org.springframework.messaging.simp.config.MessageBrokerRegistry
- messageBrokerTaskScheduler() - Method in class org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration
- MessageBuilder<T> - Class in org.springframework.messaging.support
- MessageChannel - Interface in org.springframework.messaging
-
Defines methods for sending messages.
- MessageCodeFormatter - Interface in org.springframework.validation
-
A strategy interface for formatting message codes.
- MessageCodesResolver - Interface in org.springframework.validation
-
Strategy interface for building message codes from validation error codes.
- MessageCondition<T> - Interface in org.springframework.messaging.handler
-
Contract for mapping conditions to messages.
- MessageConversionException - Exception in org.springframework.jms.support.converter
-
Thrown by
MessageConverter
implementations when the conversion of an object to/from aMessage
fails. - MessageConversionException - Exception in org.springframework.messaging.converter
-
An exception raised by
MessageConverter
implementations. - MessageConversionException(String) - Constructor for exception org.springframework.jms.support.converter.MessageConversionException
-
Create a new MessageConversionException.
- MessageConversionException(String) - Constructor for exception org.springframework.messaging.converter.MessageConversionException
- MessageConversionException(String, Throwable) - Constructor for exception org.springframework.jms.support.converter.MessageConversionException
-
Create a new MessageConversionException.
- MessageConversionException(String, Throwable) - Constructor for exception org.springframework.messaging.converter.MessageConversionException
- MessageConversionException(Message<?>, String) - Constructor for exception org.springframework.messaging.converter.MessageConversionException
- MessageConversionException(Message<?>, String, Throwable) - Constructor for exception org.springframework.messaging.converter.MessageConversionException
- MessageConverter - Interface in org.springframework.jms.support.converter
-
Strategy interface that specifies a converter between Java objects and JMS messages.
- MessageConverter - Interface in org.springframework.messaging.converter
-
A converter to turn the payload of a
Message
from serialized form to a typed Object and vice versa. - messageConverters - Variable in class org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver
- messageConverters() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the readers used to convert the body of this request.
- messageConverters() - Method in interface org.springframework.web.servlet.function.ServerResponse.Context
-
Return the
HttpMessageConverters
to be used for response body conversion. - messageConverters(Consumer<List<HttpMessageConverter<?>>>) - Method in interface org.springframework.web.client.RestClient.Builder
-
Configure the message converters for the
RestClient
to use. - messageConverters(HttpMessageConverter<?>...) - Method in interface org.springframework.test.web.servlet.client.MockMvcWebTestClient.ControllerSpec
-
Set the message converters to use.
- messageConverters(HttpMessageConverter<?>...) - Method in interface org.springframework.test.web.servlet.client.MockMvcWebTestClient.RouterFunctionSpec
-
Set the message converters to use.
- MessageCreator - Interface in org.springframework.jms.core
-
Creates a JMS message given a
Session
. - MessageDeliveryException - Exception in org.springframework.messaging
-
Exception that indicates an error occurred during message delivery.
- MessageDeliveryException(String) - Constructor for exception org.springframework.messaging.MessageDeliveryException
- MessageDeliveryException(Message<?>) - Constructor for exception org.springframework.messaging.MessageDeliveryException
- MessageDeliveryException(Message<?>, String) - Constructor for exception org.springframework.messaging.MessageDeliveryException
- MessageDeliveryException(Message<?>, String, Throwable) - Constructor for exception org.springframework.messaging.MessageDeliveryException
- MessageDeliveryException(Message<?>, Throwable) - Constructor for exception org.springframework.messaging.MessageDeliveryException
- MessageEOFException - Exception in org.springframework.jms
-
Runtime exception mirroring the JMS MessageEOFException.
- MessageEOFException(MessageEOFException) - Constructor for exception org.springframework.jms.MessageEOFException
- MessageExceptionHandler - Annotation Interface in org.springframework.messaging.handler.annotation
-
Annotation for handling exceptions thrown from message-handling methods within a specific handler class.
- MessageFormatException - Exception in org.springframework.jms
-
Runtime exception mirroring the JMS MessageFormatException.
- MessageFormatException(MessageFormatException) - Constructor for exception org.springframework.jms.MessageFormatException
- messageFrame(SockJsMessageCodec, String...) - Static method in class org.springframework.web.socket.sockjs.frame.SockJsFrame
- MessageHandler - Interface in org.springframework.messaging
-
Simple contract for handling a
Message
. - MessageHandlerMethodFactory - Interface in org.springframework.messaging.handler.annotation.support
-
A factory for
InvocableHandlerMethod
that is suitable to process an incomingMessage
- MessageHandlingException - Exception in org.springframework.messaging
-
Exception that indicates an error occurred during message handling.
- MessageHandlingException(Message<?>) - Constructor for exception org.springframework.messaging.MessageHandlingException
- MessageHandlingException(Message<?>, String) - Constructor for exception org.springframework.messaging.MessageHandlingException
- MessageHandlingException(Message<?>, String, Throwable) - Constructor for exception org.springframework.messaging.MessageHandlingException
- MessageHandlingException(Message<?>, Throwable) - Constructor for exception org.springframework.messaging.MessageHandlingException
- MessageHandlingRunnable - Interface in org.springframework.messaging.support
-
Extension of the
Runnable
interface with methods to obtain theMessageHandler
andMessage
to be handled. - MessageHeaderAccessor - Class in org.springframework.messaging.support
-
Wrapper around
MessageHeaders
that provides extra features such as strongly typed accessors for specific headers, the ability to leave headers in aMessage
mutable, and the option to suppress automatic generation ofid
andtimestamp
headers. - MessageHeaderAccessor() - Constructor for class org.springframework.messaging.support.MessageHeaderAccessor
-
A constructor to create new headers.
- MessageHeaderAccessor(Message<?>) - Constructor for class org.springframework.messaging.support.MessageHeaderAccessor
-
A constructor accepting the headers of an existing message to copy.
- MessageHeaderInitializer - Interface in org.springframework.messaging.support
-
Callback interface for initializing a
MessageHeaderAccessor
. - MessageHeaders - Class in org.springframework.messaging
-
The headers for a
Message
. - MessageHeaders(Map<String, Object>) - Constructor for class org.springframework.messaging.MessageHeaders
-
Construct a
MessageHeaders
with the given headers. - MessageHeaders(Map<String, Object>, UUID, Long) - Constructor for class org.springframework.messaging.MessageHeaders
-
Constructor providing control over the ID and TIMESTAMP header values.
- MessageListenerAdapter - Class in org.springframework.jms.listener.adapter
-
Message listener adapter that delegates the handling of messages to target listener methods via reflection, with flexible message type conversion.
- MessageListenerAdapter() - Constructor for class org.springframework.jms.listener.adapter.MessageListenerAdapter
-
Create a new
MessageListenerAdapter
with default settings. - MessageListenerAdapter(Object) - Constructor for class org.springframework.jms.listener.adapter.MessageListenerAdapter
-
Create a new
MessageListenerAdapter
for the given delegate. - MessageListenerContainer - Interface in org.springframework.jms.listener
-
Internal abstraction used by the framework representing a message listener container.
- MessageMapping - Annotation Interface in org.springframework.messaging.handler.annotation
- MessageMappingMessageHandler - Class in org.springframework.messaging.handler.annotation.reactive
-
Extension of
AbstractMethodMessageHandler
for reactive, non-blocking handling of messages via@MessageMapping
methods. - MessageMappingMessageHandler() - Constructor for class org.springframework.messaging.handler.annotation.reactive.MessageMappingMessageHandler
- MessageMappingReflectiveProcessor - Class in org.springframework.messaging.handler.annotation
-
ReflectiveProcessor
implementation for types annotated with@MessageMapping
,@SubscribeMapping
and@MessageExceptionHandler
. - MessageMappingReflectiveProcessor() - Constructor for class org.springframework.messaging.handler.annotation.MessageMappingReflectiveProcessor
- MessageMethodArgumentResolver - Class in org.springframework.messaging.handler.annotation.support
-
HandlerMethodArgumentResolver
forMessage
method arguments. - MessageMethodArgumentResolver() - Constructor for class org.springframework.messaging.handler.annotation.support.MessageMethodArgumentResolver
-
Create a default resolver instance without message conversion.
- MessageMethodArgumentResolver(MessageConverter) - Constructor for class org.springframework.messaging.handler.annotation.support.MessageMethodArgumentResolver
-
Create a resolver instance with the given
MessageConverter
. - MessageNotReadableException - Exception in org.springframework.jms
-
Runtime exception mirroring the JMS MessageNotReadableException.
- MessageNotReadableException(MessageNotReadableException) - Constructor for exception org.springframework.jms.MessageNotReadableException
- MessageNotWriteableException - Exception in org.springframework.jms
-
Runtime exception mirroring the JMS MessageNotWriteableException.
- MessageNotWriteableException(MessageNotWriteableException) - Constructor for exception org.springframework.jms.MessageNotWriteableException
- MessagePostProcessor - Interface in org.springframework.jms.core
-
To be used with JmsTemplate's send method that converts an object to a message.
- MessagePostProcessor - Interface in org.springframework.messaging.core
-
A contract for processing a
Message
after it has been created, either returning a modified (effectively new) message or returning the same. - messageReaders() - Method in class org.springframework.mock.web.reactive.function.server.MockServerRequest
- messageReaders() - Method in interface org.springframework.web.reactive.function.BodyExtractor.Context
-
Return the
HttpMessageReaders
to be used for body extraction. - messageReaders() - Method in interface org.springframework.web.reactive.function.client.ExchangeStrategies
-
Return
HttpMessageReaders
to read and decode the response body with. - messageReaders() - Method in interface org.springframework.web.reactive.function.server.HandlerStrategies
-
Return the
HttpMessageReaders
to be used for request body conversion. - messageReaders() - Method in interface org.springframework.web.reactive.function.server.ServerRequest
-
Get the readers used to convert the body of this request.
- messageReaders() - Method in class org.springframework.web.reactive.function.server.support.ServerRequestWrapper
- messageReaders(List<HttpMessageReader<?>>) - Method in interface org.springframework.mock.web.reactive.function.server.MockServerRequest.Builder
- messageReceived(Object, Session) - Method in class org.springframework.jms.listener.AbstractPollingMessageListenerContainer
-
Template method that gets called right when a new message has been received, before attempting to process it.
- messageReceived(Object, Session) - Method in class org.springframework.jms.listener.DefaultMessageListenerContainer
-
Tries scheduling a new invoker, since we know messages are coming in...
- MessageReceivingOperations<D> - Interface in org.springframework.messaging.core
-
Operations for receiving messages from a destination.
- MessageRequestReplyOperations<D> - Interface in org.springframework.messaging.core
-
Operations for sending messages to and receiving the reply from a destination.
- MESSAGES_ATTRIBUTE - Static variable in class org.springframework.web.servlet.tags.form.ErrorsTag
-
The key under which this tag exposes error messages in the
page context scope
. - MessageSendingOperations<D> - Interface in org.springframework.messaging.core
-
Operations for sending messages to a destination.
- MessageSource - Interface in org.springframework.context
-
Strategy interface for resolving messages, with support for the parameterization and internationalization of such messages.
- MessageSourceAccessor - Class in org.springframework.context.support
-
Helper class for easy access to messages from a MessageSource, providing various overloaded getMessage methods.
- MessageSourceAccessor(MessageSource) - Constructor for class org.springframework.context.support.MessageSourceAccessor
-
Create a new MessageSourceAccessor, using LocaleContextHolder's locale as default locale.
- MessageSourceAccessor(MessageSource, Locale) - Constructor for class org.springframework.context.support.MessageSourceAccessor
-
Create a new MessageSourceAccessor, using the given default locale.
- MessageSourceAware - Interface in org.springframework.context
-
Interface to be implemented by any object that wishes to be notified of the
MessageSource
(typically the ApplicationContext) that it runs in. - MessageSourceResolvable - Interface in org.springframework.context
-
Interface for objects that are suitable for message resolution in a
MessageSource
. - MessageSourceResourceBundle - Class in org.springframework.context.support
-
Helper class that allows for accessing a Spring
MessageSource
as aResourceBundle
. - MessageSourceResourceBundle(MessageSource, Locale) - Constructor for class org.springframework.context.support.MessageSourceResourceBundle
-
Create a new MessageSourceResourceBundle for the given MessageSource and Locale.
- MessageSourceResourceBundle(MessageSource, Locale, ResourceBundle) - Constructor for class org.springframework.context.support.MessageSourceResourceBundle
-
Create a new MessageSourceResourceBundle for the given MessageSource and Locale.
- MessageSourceResourceBundleLocator - Class in org.springframework.validation.beanvalidation
-
Implementation of Hibernate Validator 4.3/5.x's
ResourceBundleLocator
interface, exposing a SpringMessageSource
as localizedMessageSourceResourceBundle
. - MessageSourceResourceBundleLocator(MessageSource) - Constructor for class org.springframework.validation.beanvalidation.MessageSourceResourceBundleLocator
-
Build a MessageSourceResourceBundleLocator for the given MessageSource.
- MessageSourceSupport - Class in org.springframework.context.support
-
Base class for message source implementations, providing support infrastructure such as
MessageFormat
handling but not implementing concrete methods defined in theMessageSource
. - MessageSourceSupport() - Constructor for class org.springframework.context.support.MessageSourceSupport
- MessageTag - Class in org.springframework.web.servlet.tags
-
The
<message>
tag looks up a message in the scope of this page. - MessageTag() - Constructor for class org.springframework.web.servlet.tags.MessageTag
- MessageType - Enum Class in org.springframework.jms.support.converter
-
Constants that indicate a target message type to convert to: a
TextMessage
, aBytesMessage
, aMapMessage
or anObjectMessage
. - messageWriters() - Method in interface org.springframework.web.reactive.function.BodyInserter.Context
-
Return the
HttpMessageWriters
to be used for response body conversion. - messageWriters() - Method in interface org.springframework.web.reactive.function.client.ExchangeStrategies
-
Return
HttpMessageWriters
to write and encode the request body with. - messageWriters() - Method in interface org.springframework.web.reactive.function.server.HandlerStrategies
-
Return the
HttpMessageWriters
to be used for response body conversion. - messageWriters() - Method in interface org.springframework.web.reactive.function.server.ServerResponse.Context
-
Return the
HttpMessageWriters
to be used for response body conversion. - MessagingAdviceBean - Interface in org.springframework.messaging.handler
-
Represents a Spring-managed bean with cross-cutting functionality to be applied to one or more Spring beans with annotation-based message handling methods.
- MessagingException - Exception in org.springframework.messaging
-
The base exception for any failures related to messaging.
- MessagingException(String) - Constructor for exception org.springframework.messaging.MessagingException
- MessagingException(String, Throwable) - Constructor for exception org.springframework.messaging.MessagingException
- MessagingException(Message<?>) - Constructor for exception org.springframework.messaging.MessagingException
- MessagingException(Message<?>, String) - Constructor for exception org.springframework.messaging.MessagingException
- MessagingException(Message<?>, String, Throwable) - Constructor for exception org.springframework.messaging.MessagingException
- MessagingException(Message<?>, Throwable) - Constructor for exception org.springframework.messaging.MessagingException
- MessagingMessageConverter - Class in org.springframework.jms.support.converter
-
Convert a
Message
from the messaging abstraction to and from aMessage
using an underlyingMessageConverter
for the payload and aJmsHeaderMapper
to map the JMS headers to and from standard message headers. - MessagingMessageConverter() - Constructor for class org.springframework.jms.support.converter.MessagingMessageConverter
-
Create an instance with a default payload converter.
- MessagingMessageConverter(MessageConverter) - Constructor for class org.springframework.jms.support.converter.MessagingMessageConverter
-
Create an instance with the specific payload converter.
- MessagingMessageConverter(MessageConverter, JmsHeaderMapper) - Constructor for class org.springframework.jms.support.converter.MessagingMessageConverter
-
Create an instance with the specified payload converter and header mapper.
- MessagingMessageListenerAdapter - Class in org.springframework.jms.listener.adapter
-
A
MessageListener
adapter that invokes a configurableInvocableHandlerMethod
. - MessagingMessageListenerAdapter() - Constructor for class org.springframework.jms.listener.adapter.MessagingMessageListenerAdapter
- META_ELEMENT - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- metadata(Object, MimeType) - Method in interface org.springframework.messaging.rsocket.RSocketRequester
-
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 a
Publisher
viaReactiveAdapterRegistry
. - metadata(Object, MimeType) - Method in interface org.springframework.messaging.rsocket.RSocketRequester.MetadataSpec
-
Use this to append additional metadata entries when using composite metadata.
- metadata(Consumer<RSocketRequester.MetadataSpec<?>>) - Method in interface org.springframework.messaging.rsocket.RSocketRequester.RequestSpec
-
Append additional metadata entries through a
Consumer
. - MetaDataAccessException - Exception in org.springframework.jdbc.support
-
Exception indicating that something went wrong during JDBC meta-data lookup.
- MetaDataAccessException(String) - Constructor for exception org.springframework.jdbc.support.MetaDataAccessException
-
Constructor for MetaDataAccessException.
- MetaDataAccessException(String, Throwable) - Constructor for exception org.springframework.jdbc.support.MetaDataAccessException
-
Constructor for MetaDataAccessException.
- MetadataArgumentResolver - Class in org.springframework.messaging.rsocket.service
-
RSocketServiceArgumentResolver
for metadata entries. - MetadataArgumentResolver() - Constructor for class org.springframework.messaging.rsocket.service.MetadataArgumentResolver
- MetadataAwareAspectInstanceFactory - Interface in org.springframework.aop.aspectj.annotation
-
Subinterface of
AspectInstanceFactory
that returnsAspectMetadata
associated with AspectJ-annotated classes. - metaDataCatalogNameToUse(String) - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Provide any modification of the catalog name passed in to match the meta-data currently used.
- metaDataCatalogNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- metaDataCatalogNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- metaDataCatalogNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.OracleCallMetaDataProvider
- metaDataCatalogNameToUse(String) - Method in interface org.springframework.jdbc.core.metadata.TableMetaDataProvider
-
Provide any modification of the catalog name passed in to match the meta-data currently used.
- metadataExtractor() - Method in interface org.springframework.messaging.rsocket.RSocketStrategies
-
Return the configured
RSocketStrategies.Builder.metadataExtractor(MetadataExtractor)
. - metadataExtractor(MetadataExtractor) - Method in interface org.springframework.messaging.rsocket.RSocketStrategies.Builder
-
Configure a
MetadataExtractor
to extract the route along with other metadata. - MetadataExtractor - Interface in org.springframework.messaging.rsocket
-
Strategy to extract a map of value(s) from
Payload
metadata, which could be composite metadata with multiple entries. - metadataExtractorRegistry(Consumer<MetadataExtractorRegistry>) - Method in interface org.springframework.messaging.rsocket.RSocketStrategies.Builder
-
Apply the consumer to the
MetadataExtractorRegistry
in order to register extra metadata entry extractors. - MetadataExtractorRegistry - Interface in org.springframework.messaging.rsocket
-
Stores registrations of extractors for metadata entries.
- MetadataMBeanInfoAssembler - Class in org.springframework.jmx.export.assembler
-
Implementation of the
MBeanInfoAssembler
interface that reads the management interface information from source level metadata. - MetadataMBeanInfoAssembler() - Constructor for class org.springframework.jmx.export.assembler.MetadataMBeanInfoAssembler
-
Create a new
MetadataMBeanInfoAssembler
which needs to be configured through theMetadataMBeanInfoAssembler.setAttributeSource(org.springframework.jmx.export.metadata.JmxAttributeSource)
method. - MetadataMBeanInfoAssembler(JmxAttributeSource) - Constructor for class org.springframework.jmx.export.assembler.MetadataMBeanInfoAssembler
-
Create a new
MetadataMBeanInfoAssembler
for the givenJmxAttributeSource
. - metadataMimeType() - Method in interface org.springframework.messaging.rsocket.RSocketRequester
-
Return the metadata
MimeType
selected for the underlying RSocket at connection time. - metadataMimeType(MimeType) - Method in interface org.springframework.messaging.rsocket.RSocketRequester.Builder
-
Configure the payload metadata MimeType to specify on the
SETUP
frame that applies to the whole connection. - MetadataNamingStrategy - Class in org.springframework.jmx.export.naming
-
An implementation of the
ObjectNamingStrategy
interface that reads theObjectName
from the source-level metadata. - MetadataNamingStrategy() - Constructor for class org.springframework.jmx.export.naming.MetadataNamingStrategy
-
Create a new
MetadataNamingStrategy
which needs to be configured through theMetadataNamingStrategy.setAttributeSource(org.springframework.jmx.export.metadata.JmxAttributeSource)
method. - MetadataNamingStrategy(JmxAttributeSource) - Constructor for class org.springframework.jmx.export.naming.MetadataNamingStrategy
-
Create a new
MetadataNamingStrategy
for the givenJmxAttributeSource
. - MetadataReader - Interface in org.springframework.core.type.classreading
-
Simple facade for accessing class metadata, as read by an ASM
ClassReader
. - MetadataReaderFactory - Interface in org.springframework.core.type.classreading
-
Factory interface for
MetadataReader
instances. - metaDataSchemaNameToUse(String) - Method in interface org.springframework.jdbc.core.metadata.CallMetaDataProvider
-
Provide any modification of the schema name passed in to match the meta-data currently used.
- metaDataSchemaNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.Db2CallMetaDataProvider
- metaDataSchemaNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.DerbyCallMetaDataProvider
- metaDataSchemaNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.GenericCallMetaDataProvider
- metaDataSchemaNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.GenericTableMetaDataProvider
- metaDataSchemaNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.OracleCallMetaDataProvider
- metaDataSchemaNameToUse(String) - Method in class org.springframework.jdbc.core.metadata.PostgresCallMetaDataProvider
- metaDataSchemaNameToUse(String) - Method in interface org.springframework.jdbc.core.metadata.TableMetaDataProvider
-
Provide any modification of the schema name passed in to match the meta-data currently used.
- metadataToExtract(MimeType, Class<?>, String) - Method in interface org.springframework.messaging.rsocket.MetadataExtractorRegistry
-
Decode metadata entries with the given
MimeType
to the specified target class, and store the decoded value in the output map under the given name. - metadataToExtract(MimeType, Class<T>, BiConsumer<T, Map<String, Object>>) - Method in class org.springframework.messaging.rsocket.DefaultMetadataExtractor
- metadataToExtract(MimeType, Class<T>, BiConsumer<T, Map<String, Object>>) - Method in interface org.springframework.messaging.rsocket.MetadataExtractorRegistry
-
Variant of
MetadataExtractorRegistry.metadataToExtract(MimeType, Class, String)
that allows custom logic to be used to map the decoded value to any number of values in the output map. - metadataToExtract(MimeType, ParameterizedTypeReference<?>, String) - Method in interface org.springframework.messaging.rsocket.MetadataExtractorRegistry
-
Variant of
MetadataExtractorRegistry.metadataToExtract(MimeType, Class, String)
that acceptsParameterizedTypeReference
instead ofClass
for specifying a target type with generic parameters. - metadataToExtract(MimeType, ParameterizedTypeReference<T>, BiConsumer<T, Map<String, Object>>) - Method in class org.springframework.messaging.rsocket.DefaultMetadataExtractor
- metadataToExtract(MimeType, ParameterizedTypeReference<T>, BiConsumer<T, Map<String, Object>>) - Method in interface org.springframework.messaging.rsocket.MetadataExtractorRegistry
-
Variant of
MetadataExtractorRegistry.metadataToExtract(MimeType, Class, BiConsumer)
that acceptsParameterizedTypeReference
instead ofClass
for specifying a target type with generic parameters. - method - Variable in class org.springframework.aop.framework.ReflectiveMethodInvocation
- method() - Method in class org.springframework.mock.web.reactive.function.server.MockServerRequest
- method() - Method in class org.springframework.test.web.servlet.assertj.HandlerResultAssert
- method() - Element in annotation interface org.springframework.web.bind.annotation.RequestMapping
-
The HTTP request methods to map to, narrowing the primary mapping: GET, POST, HEAD, OPTIONS, PUT, PATCH, DELETE, TRACE.
- method() - Method in interface org.springframework.web.reactive.function.client.ClientRequest
-
Return the HTTP method.
- method() - Method in interface org.springframework.web.reactive.function.server.ServerRequest
-
Get the HTTP method.
- method() - Method in class org.springframework.web.reactive.function.server.support.ServerRequestWrapper
- method() - Element in annotation interface org.springframework.web.service.annotation.HttpExchange
-
The HTTP method to use.
- method() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the HTTP method.
- method(Method) - Method in class org.springframework.test.web.servlet.result.HandlerResultMatchers
-
Assert the controller method used to process the request.
- method(String, String, Object...) - Static method in class org.springframework.mock.http.server.reactive.MockServerHttpRequest
-
Deprecated.as of Spring Framework 6.0 in favor of
MockServerHttpRequest.method(HttpMethod, String, Object...)
- method(Set<HttpMethod>) - Method in interface org.springframework.web.reactive.function.server.RequestPredicates.Visitor
-
Receive notification of an HTTP method predicate.
- method(Set<HttpMethod>) - Method in interface org.springframework.web.servlet.function.RequestPredicates.Visitor
-
Receive notification of an HTTP method predicate.
- method(ClientRequestObservationContext) - Method in class org.springframework.http.client.observation.DefaultClientRequestObservationConvention
- method(HttpMethod) - Method in interface org.springframework.http.server.reactive.ServerHttpRequest.Builder
-
Set the HTTP method to return.
- method(HttpMethod) - Method in interface org.springframework.mock.web.reactive.function.server.MockServerRequest.Builder
- method(HttpMethod) - Static method in class org.springframework.test.web.client.match.MockRestRequestMatchers
-
Assert the
HttpMethod
of the request. - method(HttpMethod) - Method in interface org.springframework.test.web.reactive.server.WebTestClient
-
Prepare a request for the specified
HttpMethod
. - method(HttpMethod) - Method in class org.springframework.test.web.servlet.assertj.MockMvcTester
-
Prepare a request for the specified
HttpMethod
. - method(HttpMethod) - Method in interface org.springframework.web.client.RestClient
-
Start building a request for the given
HttpMethod
. - method(HttpMethod) - Method in interface org.springframework.web.reactive.function.client.ClientRequest.Builder
-
Set the method of the request.
- method(HttpMethod) - Method in interface org.springframework.web.reactive.function.client.WebClient
-
Start building a request for the given
HttpMethod
. - method(HttpMethod) - Static method in class org.springframework.web.reactive.function.server.RequestPredicates
-
Return a
RequestPredicate
that matches if the request's HTTP method is equal to the given method. - method(HttpMethod) - Method in interface org.springframework.web.reactive.function.server.ServerRequest.Builder
-
Set the method of the request.
- method(HttpMethod) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicate
that matches if the request's HTTP method is equal to the given method. - method(HttpMethod) - Method in interface org.springframework.web.servlet.function.ServerRequest.Builder
-
Set the method of the request.
- method(HttpMethod, String, Object...) - Static method in class org.springframework.http.RequestEntity
-
Create a builder with the given HTTP method, URI template, and variables.
- method(HttpMethod, String, Object...) - Static method in class org.springframework.mock.http.server.reactive.MockServerHttpRequest
-
Alternative to
MockServerHttpRequest.method(HttpMethod, URI)
that accepts a URI template. - method(HttpMethod, String, Map<String, ?>) - Static method in class org.springframework.http.RequestEntity
-
Create a builder with the given HTTP method, URI template, and variables.
- method(HttpMethod, URI) - Static method in class org.springframework.http.RequestEntity
-
Create a builder with the given method and url.
- method(HttpMethod, URI) - Static method in class org.springframework.mock.http.server.reactive.MockServerHttpRequest
-
Create a builder with the given HTTP method and a
URI
. - method(HttpMethod, URI) - Static method in interface org.springframework.web.reactive.function.client.ClientRequest
-
Deprecated.in favor of
ClientRequest.create(HttpMethod, URI)
- method(ServerRequestObservationContext) - Method in class org.springframework.http.server.observation.DefaultServerRequestObservationConvention
- method(ServerRequestObservationContext) - Method in class org.springframework.http.server.reactive.observation.DefaultServerRequestObservationConvention
- method(ClientRequestObservationContext) - Method in class org.springframework.web.reactive.function.client.DefaultClientRequestObservationConvention
- METHOD - Enum constant in enum class org.springframework.http.client.observation.ClientHttpObservationDocumentation.LowCardinalityKeyNames
-
Name of HTTP request method or "none" if the request could not be created.
- METHOD - Enum constant in enum class org.springframework.http.server.observation.ServerHttpObservationDocumentation.LowCardinalityKeyNames
-
Name of HTTP request method or "none" if the request was not received properly.
- METHOD - Enum constant in enum class org.springframework.http.server.reactive.observation.ServerHttpObservationDocumentation.LowCardinalityKeyNames
-
Name of HTTP request method or "none" if the request was not received properly.
- METHOD - Enum constant in enum class org.springframework.web.reactive.function.client.ClientHttpObservationDocumentation.LowCardinalityKeyNames
-
Name of HTTP request method or "none" if the request could not be created.
- METHOD - Static variable in class org.springframework.asm.Type
-
The sort of method types.
- METHOD_CALL_ON_NULL_OBJECT_NOT_ALLOWED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- METHOD_FAILURE - Enum constant in enum class org.springframework.http.HttpStatus
-
Deprecated.
- METHOD_FORMAL_PARAMETER - Static variable in class org.springframework.asm.TypeReference
-
The sort of type references that target the type of a formal parameter of a method.
- METHOD_GET - Static variable in class org.springframework.web.servlet.support.WebContentGenerator
-
HTTP method "GET".
- METHOD_HEAD - Static variable in class org.springframework.web.servlet.support.WebContentGenerator
-
HTTP method "HEAD".
- METHOD_INVOCATION_TYPE_ARGUMENT - Static variable in class org.springframework.asm.TypeReference
-
The sort of type references that target a type parameter of a generic method in a method call.
- METHOD_NOT_ALLOWED - Enum constant in enum class org.springframework.http.HttpStatus
-
405 Method Not Allowed
. - METHOD_NOT_FOUND - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- METHOD_POST - Static variable in class org.springframework.web.servlet.support.WebContentGenerator
-
HTTP method "POST".
- METHOD_RECEIVER - Static variable in class org.springframework.asm.TypeReference
-
The sort of type references that target the receiver type of a method.
- METHOD_REFERENCE - Static variable in class org.springframework.asm.TypeReference
-
The sort of type references that target the receiver type of a method reference.
- METHOD_REFERENCE_TYPE_ARGUMENT - Static variable in class org.springframework.asm.TypeReference
-
The sort of type references that target a type parameter of a generic method in a method reference.
- METHOD_RETURN - Static variable in class org.springframework.asm.TypeReference
-
The sort of type references that target the return type of a method.
- method_switch(CodeEmitter, List, ObjectSwitchCallback) - Static method in class org.springframework.cglib.core.EmitUtils
- METHOD_TYPE_PARAMETER - Static variable in class org.springframework.asm.TypeReference
-
The sort of type references that target a type parameter of a generic method.
- METHOD_TYPE_PARAMETER_BOUND - Static variable in class org.springframework.asm.TypeReference
-
The sort of type references that target a bound of a type parameter of a generic method.
- MethodArgumentBuilder(Class<?>, Method) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodArgumentBuilder
-
Create a new
MvcUriComponentsBuilder.MethodArgumentBuilder
instance. - MethodArgumentBuilder(UriComponentsBuilder, Class<?>, Method) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodArgumentBuilder
-
Create a new
MvcUriComponentsBuilder.MethodArgumentBuilder
instance. - MethodArgumentConversionNotSupportedException - Exception in org.springframework.web.method.annotation
-
A ConversionNotSupportedException raised while resolving a method argument.
- MethodArgumentConversionNotSupportedException(Object, Class<?>, String, MethodParameter, Throwable) - Constructor for exception org.springframework.web.method.annotation.MethodArgumentConversionNotSupportedException
- MethodArgumentNotValidException - Exception in org.springframework.messaging.handler.annotation.support
-
Exception to be thrown when a method argument fails validation perhaps as a result of
@Valid
style validation, or perhaps because it is required. - MethodArgumentNotValidException - Exception in org.springframework.web.bind
-
Exception to be thrown when validation on an argument annotated with
@Valid
fails. - MethodArgumentNotValidException(MethodParameter, BindingResult) - Constructor for exception org.springframework.web.bind.MethodArgumentNotValidException
-
Constructor for
MethodArgumentNotValidException
. - MethodArgumentNotValidException(Message<?>, MethodParameter) - Constructor for exception org.springframework.messaging.handler.annotation.support.MethodArgumentNotValidException
-
Create a new instance with the invalid
MethodParameter
. - MethodArgumentNotValidException(Message<?>, MethodParameter, BindingResult) - Constructor for exception org.springframework.messaging.handler.annotation.support.MethodArgumentNotValidException
-
Create a new instance with the invalid
MethodParameter
and aBindingResult
. - MethodArgumentResolutionException - Exception in org.springframework.messaging.handler.invocation
-
Common exception resulting from the invocation of
HandlerMethodArgumentResolver
. - MethodArgumentResolutionException(Message<?>, MethodParameter) - Constructor for exception org.springframework.messaging.handler.invocation.MethodArgumentResolutionException
-
Create a new instance providing the invalid
MethodParameter
. - MethodArgumentResolutionException(Message<?>, MethodParameter, String) - Constructor for exception org.springframework.messaging.handler.invocation.MethodArgumentResolutionException
-
Create a new instance providing the invalid
MethodParameter
and a prepared description. - MethodArgumentResolutionException(Message<?>, MethodParameter, String, Throwable) - Constructor for exception org.springframework.messaging.handler.invocation.MethodArgumentResolutionException
-
Create a new instance providing the invalid
MethodParameter
, prepared description, and a cause. - MethodArgumentTypeMismatchException - Exception in org.springframework.messaging.handler.annotation.support
-
Exception that indicates that a method argument has not the expected type.
- MethodArgumentTypeMismatchException - Exception in org.springframework.web.method.annotation
-
A TypeMismatchException raised while resolving a controller method argument.
- MethodArgumentTypeMismatchException(Object, Class<?>, String, MethodParameter, Throwable) - Constructor for exception org.springframework.web.method.annotation.MethodArgumentTypeMismatchException
- MethodArgumentTypeMismatchException(Message<?>, MethodParameter, String) - Constructor for exception org.springframework.messaging.handler.annotation.support.MethodArgumentTypeMismatchException
- MethodAssert - Class in org.springframework.test.util
-
AssertJ
assertions
that can be applied to aMethod
. - MethodAssert(Method) - Constructor for class org.springframework.test.util.MethodAssert
- MethodBasedEvaluationContext - Class in org.springframework.context.expression
-
A method-based
EvaluationContext
that provides explicit support for method-based invocations. - MethodBasedEvaluationContext(Object, Method, Object[], ParameterNameDiscoverer) - Constructor for class org.springframework.context.expression.MethodBasedEvaluationContext
- MethodBeforeAdvice - Interface in org.springframework.aop
-
Advice invoked before a method is invoked.
- MethodBeforeAdviceInterceptor - Class in org.springframework.aop.framework.adapter
-
Interceptor to wrap a
MethodBeforeAdvice
. - MethodBeforeAdviceInterceptor(MethodBeforeAdvice) - Constructor for class org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor
-
Create a new MethodBeforeAdviceInterceptor for the given advice.
- methodBlock(FrameworkMethod) - Method in class org.springframework.test.context.junit4.SpringJUnit4ClassRunner
-
Augment the default JUnit behavior with potential repeats of the entire execution chain.
- methodCall(Object) - Method in class org.springframework.test.web.servlet.result.HandlerResultMatchers
-
Assert the controller method used to process the request.
- MethodClassKey - Class in org.springframework.core
-
A common key class for a method against a specific target class, including
MethodClassKey.toString()
representation andComparable
support (as suggested for customHashMap
keys as of Java 8). - MethodClassKey(Method, Class<?>) - Constructor for class org.springframework.core.MethodClassKey
-
Create a key object for the given method and target class.
- MethodDelegate - Class in org.springframework.cglib.reflect
-
DOCUMENTATION FROM APACHE AVALON DELEGATE CLASS
- MethodDelegate() - Constructor for class org.springframework.cglib.reflect.MethodDelegate
- MethodDelegate.Generator - Class in org.springframework.cglib.reflect
- MethodExclusionMBeanInfoAssembler - Class in org.springframework.jmx.export.assembler
-
AbstractReflectiveMBeanInfoAssembler
subclass that allows method names to be explicitly excluded as MBean operations and attributes. - MethodExclusionMBeanInfoAssembler() - Constructor for class org.springframework.jmx.export.assembler.MethodExclusionMBeanInfoAssembler
- MethodExecutor - Interface in org.springframework.expression
-
A
MethodExecutor
is built by aMethodResolver
and can be cached by the infrastructure to repeat an operation quickly without going back to the resolvers. - MethodFilter - Interface in org.springframework.cglib.transform
- MethodFilter - Interface in org.springframework.expression
-
MethodFilter instances allow SpEL users to fine tune the behaviour of the method resolution process.
- MethodFilterTransformer - Class in org.springframework.cglib.transform
- MethodFilterTransformer(MethodFilter, ClassTransformer) - Constructor for class org.springframework.cglib.transform.MethodFilterTransformer
- methodIdentification(Method, Class<?>) - Method in class org.springframework.cache.interceptor.CacheAspectSupport
-
Convenience method to return a String representation of this Method for use in logging.
- methodIdentification(Method, Class<?>) - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Convenience method to return a String representation of this Method for use in logging.
- MethodInfo - Class in org.springframework.cglib.core
- MethodInfo() - Constructor for class org.springframework.cglib.core.MethodInfo
- MethodInfoTransformer - Class in org.springframework.cglib.core
- MethodInfoTransformer() - Constructor for class org.springframework.cglib.core.MethodInfoTransformer
- MethodInterceptor - Interface in org.aopalliance.intercept
-
Intercepts calls on an interface on its way to the target.
- MethodInterceptor - Interface in org.springframework.cglib.proxy
-
General-purpose
Enhancer
callback which provides for "around advice". - MethodIntrospector - Class in org.springframework.core
-
Defines the algorithm for searching for metadata-associated methods exhaustively including interfaces and parent classes while also dealing with parameterized methods as well as common scenarios encountered with interface and class-based proxies.
- MethodIntrospector.MetadataLookup<T> - Interface in org.springframework.core
-
A callback interface for metadata lookup on a given method.
- MethodInvocation - Interface in org.aopalliance.intercept
-
Description of an invocation to a method, given to an interceptor upon method-call.
- MethodInvocationException - Exception in org.springframework.beans
-
Thrown when a bean property getter or setter method throws an exception, analogous to an InvocationTargetException.
- MethodInvocationException(PropertyChangeEvent, Throwable) - Constructor for exception org.springframework.beans.MethodInvocationException
-
Create a new MethodInvocationException.
- MethodInvocationProceedingJoinPoint - Class in org.springframework.aop.aspectj
-
An implementation of the AspectJ
ProceedingJoinPoint
interface wrapping an AOP AllianceMethodInvocation
. - MethodInvocationProceedingJoinPoint(ProxyMethodInvocation) - Constructor for class org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint
-
Create a new MethodInvocationProceedingJoinPoint, wrapping the given Spring ProxyMethodInvocation object.
- methodinvoke(Method, Object, Object...) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- MethodInvoker - Class in org.springframework.util
-
Helper class that allows for specifying a method to invoke in a declarative fashion, be it static or non-static.
- MethodInvoker - Interface in org.springframework.test.context
-
MethodInvoker
defines a generic API for invoking aMethod
within the Spring TestContext Framework. - MethodInvoker() - Constructor for class org.springframework.util.MethodInvoker
- MethodInvokingBean - Class in org.springframework.beans.factory.config
-
Simple method invoker bean: just invoking a target method, not expecting a result to expose to the container (in contrast to
MethodInvokingFactoryBean
). - MethodInvokingBean() - Constructor for class org.springframework.beans.factory.config.MethodInvokingBean
- MethodInvokingFactoryBean - Class in org.springframework.beans.factory.config
-
FactoryBean
which returns a value which is the result of a static or instance method invocation. - MethodInvokingFactoryBean() - Constructor for class org.springframework.beans.factory.config.MethodInvokingFactoryBean
- MethodInvokingJob() - Constructor for class org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.MethodInvokingJob
- MethodInvokingJobDetailFactoryBean - Class in org.springframework.scheduling.quartz
-
FactoryBean
that exposes aJobDetail
object which delegates job execution to a specified (static or non-static) method. - MethodInvokingJobDetailFactoryBean() - Constructor for class org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean
- MethodInvokingJobDetailFactoryBean.MethodInvokingJob - Class in org.springframework.scheduling.quartz
-
Quartz Job implementation that invokes a specified method.
- MethodInvokingJobDetailFactoryBean.StatefulMethodInvokingJob - Class in org.springframework.scheduling.quartz
-
Extension of the MethodInvokingJob, implementing the StatefulJob interface.
- MethodInvokingRunnable - Class in org.springframework.scheduling.support
-
Adapter that implements the
Runnable
interface as a configurable method invocation based on Spring's MethodInvoker. - MethodInvokingRunnable() - Constructor for class org.springframework.scheduling.support.MethodInvokingRunnable
- MethodJmsListenerEndpoint - Class in org.springframework.jms.config
-
A
JmsListenerEndpoint
providing the method to invoke to process an incoming message for this endpoint. - MethodJmsListenerEndpoint() - Constructor for class org.springframework.jms.config.MethodJmsListenerEndpoint
- MethodLocatingFactoryBean - Class in org.springframework.aop.config
-
FactoryBean
implementation that locates aMethod
on a specified bean. - MethodLocatingFactoryBean() - Constructor for class org.springframework.aop.config.MethodLocatingFactoryBean
- MethodMapTransactionAttributeSource - Class in org.springframework.transaction.interceptor
-
Simple
TransactionAttributeSource
implementation that allows attributes to be stored per method in aMap
. - MethodMapTransactionAttributeSource() - Constructor for class org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource
- MethodMatcher - Interface in org.springframework.aop
-
Part of a
Pointcut
: Checks whether the target method is eligible for advice. - MethodMatchers - Class in org.springframework.aop.support
-
Static utility methods for composing
MethodMatchers
. - MethodMatchers() - Constructor for class org.springframework.aop.support.MethodMatchers
- MethodMetadata - Interface in org.springframework.core.type
-
Interface that defines abstract access to the annotations of a specific method, in a form that does not require that method's class to be loaded yet.
- methodMode() - Element in annotation interface org.springframework.test.annotation.DirtiesContext
-
The mode to use when a test method is annotated with
@DirtiesContext
. - methodName() - Method in class org.springframework.mock.web.reactive.function.server.MockServerRequest
-
Deprecated.
- methodName() - Element in annotation interface org.springframework.test.context.bean.override.convention.TestBean
-
Name of the static factory method that will be used to instantiate the bean to override.
- methodName() - Method in interface org.springframework.web.reactive.function.server.ServerRequest
-
Deprecated.as of 6.0, in favor of
ServerRequest.method()
- methodName() - Method in class org.springframework.web.reactive.function.server.support.ServerRequestWrapper
-
Deprecated.
- methodName() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Deprecated.in favor of
ServerRequest.method()
- methodName(String) - Method in class org.springframework.test.web.servlet.result.HandlerResultMatchers
-
Assert the name of the controller method used to process the request.
- methodName(Matcher<? super String>) - Method in class org.springframework.test.web.servlet.result.HandlerResultMatchers
-
Assert the name of the controller method used to process the request using the given Hamcrest
Matcher
. - MethodNameBasedMBeanInfoAssembler - Class in org.springframework.jmx.export.assembler
-
Subclass of
AbstractReflectiveMBeanInfoAssembler
that allows to specify method names to be exposed as MBean operations and attributes. - MethodNameBasedMBeanInfoAssembler() - Constructor for class org.springframework.jmx.export.assembler.MethodNameBasedMBeanInfoAssembler
- methodNamePatterns - Variable in class org.springframework.aop.support.ControlFlowPointcut
-
An immutable list of distinct method name patterns against which to match.
- MethodNotAllowedException - Exception in org.springframework.web.server
-
Exception for errors that fit response status 405 (method not allowed).
- MethodNotAllowedException(String, Collection<HttpMethod>) - Constructor for exception org.springframework.web.server.MethodNotAllowedException
- MethodNotAllowedException(HttpMethod, Collection<HttpMethod>) - Constructor for exception org.springframework.web.server.MethodNotAllowedException
- MethodOverride - Class in org.springframework.beans.factory.support
-
Object representing the override of a method on a managed object by the IoC container.
- MethodOverride(String) - Constructor for class org.springframework.beans.factory.support.MethodOverride
-
Construct a new override for the given method.
- MethodOverrides - Class in org.springframework.beans.factory.support
-
Set of method overrides, determining which, if any, methods on a managed object the Spring IoC container will override at runtime.
- MethodOverrides() - Constructor for class org.springframework.beans.factory.support.MethodOverrides
-
Create new MethodOverrides.
- MethodOverrides(MethodOverrides) - Constructor for class org.springframework.beans.factory.support.MethodOverrides
-
Deep copy constructor.
- methodParameter - Variable in class org.springframework.beans.factory.InjectionPoint
- MethodParameter - Class in org.springframework.core
-
Helper class that encapsulates the specification of a method parameter, i.e.
- MethodParameter(Constructor<?>, int) - Constructor for class org.springframework.core.MethodParameter
-
Create a new MethodParameter for the given constructor, with nesting level 1.
- MethodParameter(Constructor<?>, int, int) - Constructor for class org.springframework.core.MethodParameter
-
Create a new MethodParameter for the given constructor.
- MethodParameter(Method, int) - Constructor for class org.springframework.core.MethodParameter
-
Create a new
MethodParameter
for the given method, with nesting level 1. - MethodParameter(Method, int, int) - Constructor for class org.springframework.core.MethodParameter
-
Create a new
MethodParameter
for the given method. - MethodParameter(MethodParameter) - Constructor for class org.springframework.core.MethodParameter
-
Copy constructor, resulting in an independent MethodParameter object based on the same metadata and cache state that the original object was in.
- MethodProxy - Class in org.springframework.cglib.proxy
-
Classes generated by
Enhancer
pass this object to the registeredMethodInterceptor
objects when an intercepted method is invoked. - MethodReference - Class in org.springframework.aot.agent
-
Reference to a Java method, identified by its owner class and the method name.
- MethodReference - Class in org.springframework.expression.spel.ast
-
Expression language AST node that represents a method reference.
- MethodReference - Interface in org.springframework.aot.generate
-
A reference to a method with convenient code generation for referencing, or invoking it.
- MethodReference(boolean, String, int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.MethodReference
- MethodReference.ArgumentCodeGenerator - Interface in org.springframework.aot.generate
-
Strategy for generating code for arguments based on their type.
- MethodReplacer - Interface in org.springframework.beans.factory.support
-
Interface to be implemented by classes that can reimplement any method on an IoC-managed object: the Method Injection form of Dependency Injection.
- MethodResolver - Interface in org.springframework.expression
-
A method resolver attempts to locate a method and returns a
MethodExecutor
that can be used to invoke that method. - methods() - Method in class org.springframework.aot.hint.TypeHint
-
Return the methods that require reflection.
- methods() - Element in annotation interface org.springframework.web.bind.annotation.CrossOrigin
-
The list of supported HTTP request methods.
- methods(HttpMethod...) - Static method in class org.springframework.web.reactive.function.server.RequestPredicates
-
Return a
RequestPredicate
that matches if the request's HTTP method is equal to one the of the given methods. - methods(HttpMethod...) - Static method in class org.springframework.web.servlet.function.RequestPredicates
-
Return a
RequestPredicate
that matches if the request's HTTP method is equal to one the of the given methods. - methods(RequestMethod...) - Method in interface org.springframework.web.reactive.result.method.RequestMappingInfo.Builder
-
Set the request method conditions.
- methods(RequestMethod...) - Method in interface org.springframework.web.servlet.mvc.method.RequestMappingInfo.Builder
-
Set the request method conditions.
- MethodTooLargeException - Exception in org.springframework.asm
-
Exception thrown when the Code attribute of a method produced by a
ClassWriter
is too large. - MethodTooLargeException(String, String, String, int) - Constructor for exception org.springframework.asm.MethodTooLargeException
-
Constructs a new
MethodTooLargeException
. - MethodValidationAdapter - Class in org.springframework.validation.beanvalidation
-
MethodValidator
that uses a Bean ValidationValidator
for validation, and adaptsConstraintViolation
s toMethodValidationResult
. - MethodValidationAdapter() - Constructor for class org.springframework.validation.beanvalidation.MethodValidationAdapter
-
Create an instance using a default JSR-303 validator underneath.
- MethodValidationAdapter(Validator) - Constructor for class org.springframework.validation.beanvalidation.MethodValidationAdapter
-
Create an instance using the given JSR-303 Validator.
- MethodValidationAdapter(ValidatorFactory) - Constructor for class org.springframework.validation.beanvalidation.MethodValidationAdapter
-
Create an instance using the given JSR-303 ValidatorFactory.
- MethodValidationAdapter(Supplier<Validator>) - Constructor for class org.springframework.validation.beanvalidation.MethodValidationAdapter
-
Create an instance for the supplied (potentially lazily initialized) Validator.
- MethodValidationAdapter.ObjectNameResolver - Interface in org.springframework.validation.beanvalidation
-
Strategy to resolve the name of an
@Valid
method parameter to use for itsBindingResult
. - MethodValidationException - Exception in org.springframework.validation.method
-
Exception that is a
MethodValidationResult
. - MethodValidationException(MethodValidationResult) - Constructor for exception org.springframework.validation.method.MethodValidationException
- MethodValidationInterceptor - Class in org.springframework.validation.beanvalidation
-
An AOP Alliance
MethodInterceptor
implementation that delegates to a JSR-303 provider for performing method-level validation on annotated methods. - MethodValidationInterceptor() - Constructor for class org.springframework.validation.beanvalidation.MethodValidationInterceptor
-
Create a new MethodValidationInterceptor using a default JSR-303 validator underneath.
- MethodValidationInterceptor(Validator) - Constructor for class org.springframework.validation.beanvalidation.MethodValidationInterceptor
-
Create a new MethodValidationInterceptor using the given JSR-303 Validator.
- MethodValidationInterceptor(ValidatorFactory) - Constructor for class org.springframework.validation.beanvalidation.MethodValidationInterceptor
-
Create a new MethodValidationInterceptor using the given JSR-303 ValidatorFactory.
- MethodValidationInterceptor(Supplier<Validator>) - Constructor for class org.springframework.validation.beanvalidation.MethodValidationInterceptor
-
Create a new MethodValidationInterceptor for the supplied (potentially lazily initialized) Validator.
- MethodValidationInterceptor(Supplier<Validator>, boolean) - Constructor for class org.springframework.validation.beanvalidation.MethodValidationInterceptor
-
Create a new MethodValidationInterceptor for the supplied (potentially lazily initialized) Validator.
- MethodValidationPostProcessor - Class in org.springframework.validation.beanvalidation
-
A convenient
BeanPostProcessor
implementation that delegates to a JSR-303 provider for performing method-level validation on annotated methods. - MethodValidationPostProcessor() - Constructor for class org.springframework.validation.beanvalidation.MethodValidationPostProcessor
- MethodValidationResult - Interface in org.springframework.validation.method
-
Container for method validation results with validation errors from the underlying library adapted to
MessageSourceResolvable
s and grouped by method parameter asParameterValidationResult
. - MethodValidator - Interface in org.springframework.validation.method
-
Contract to apply method validation and handle the results.
- MethodVisitor - Class in org.springframework.asm
-
A visitor to visit a Java method.
- MethodVisitor(int) - Constructor for class org.springframework.asm.MethodVisitor
-
Constructs a new
MethodVisitor
. - MethodVisitor(int, MethodVisitor) - Constructor for class org.springframework.asm.MethodVisitor
-
Constructs a new
MethodVisitor
. - MethodVisitorTee - Class in org.springframework.cglib.transform
- MethodVisitorTee(MethodVisitor, MethodVisitor) - Constructor for class org.springframework.cglib.transform.MethodVisitorTee
- MethodWrapper - Class in org.springframework.cglib.core
- metricType() - Element in annotation interface org.springframework.jmx.export.annotation.ManagedMetric
- MetricType - Enum Class in org.springframework.jmx.support
-
Represents how the measurement values of a
ManagedMetric
will change over time. - millis() - Element in annotation interface org.springframework.test.annotation.Timed
-
The maximum amount of time (in milliseconds) that a test execution can take without being marked as failed due to taking too long.
- MimeContainer - Interface in org.springframework.oxm.mime
-
Represents a container for MIME attachments Concrete implementations might adapt a SOAPMessage or an email message.
- MimeMailMessage - Class in org.springframework.mail.javamail
-
Implementation of the MailMessage interface for a JavaMail MIME message, to let message population code interact with a simple message or a MIME message through a common interface.
- MimeMailMessage(MimeMessage) - Constructor for class org.springframework.mail.javamail.MimeMailMessage
-
Create a new MimeMailMessage based on the given JavaMail MimeMessage.
- MimeMailMessage(MimeMessageHelper) - Constructor for class org.springframework.mail.javamail.MimeMailMessage
-
Create a new MimeMailMessage based on the given MimeMessageHelper.
- MimeMarshaller - Interface in org.springframework.oxm.mime
-
Subinterface of
Marshaller
that can use MIME attachments to optimize storage of binary data. - MimeMessageHelper - Class in org.springframework.mail.javamail
-
Helper class for populating a
MimeMessage
. - MimeMessageHelper(MimeMessage) - Constructor for class org.springframework.mail.javamail.MimeMessageHelper
-
Create a new MimeMessageHelper for the given MimeMessage, assuming a simple text message (no multipart content, i.e.
- MimeMessageHelper(MimeMessage, boolean) - Constructor for class org.springframework.mail.javamail.MimeMessageHelper
-
Create a new MimeMessageHelper for the given MimeMessage, in multipart mode (supporting alternative texts, inline elements and attachments) if requested.
- MimeMessageHelper(MimeMessage, boolean, String) - Constructor for class org.springframework.mail.javamail.MimeMessageHelper
-
Create a new MimeMessageHelper for the given MimeMessage, in multipart mode (supporting alternative texts, inline elements and attachments) if requested.
- MimeMessageHelper(MimeMessage, int) - Constructor for class org.springframework.mail.javamail.MimeMessageHelper
-
Create a new MimeMessageHelper for the given MimeMessage, in multipart mode (supporting alternative texts, inline elements and attachments) if requested.
- MimeMessageHelper(MimeMessage, int, String) - Constructor for class org.springframework.mail.javamail.MimeMessageHelper
-
Create a new MimeMessageHelper for the given MimeMessage, in multipart mode (supporting alternative texts, inline elements and attachments) if requested.
- MimeMessageHelper(MimeMessage, String) - Constructor for class org.springframework.mail.javamail.MimeMessageHelper
-
Create a new MimeMessageHelper for the given MimeMessage, assuming a simple text message (no multipart content, i.e.
- MimeMessagePreparator - Interface in org.springframework.mail.javamail
-
Callback interface for the preparation of JavaMail MIME messages.
- MimeType - Class in org.springframework.util
-
Represents a MIME Type, as originally defined in RFC 2046 and subsequently used in other Internet protocols including HTTP.
- MimeType(String) - Constructor for class org.springframework.util.MimeType
-
Create a new
MimeType
for the given primary type. - MimeType(String, String) - Constructor for class org.springframework.util.MimeType
-
Create a new
MimeType
for the given primary type and subtype. - MimeType(String, String, Charset) - Constructor for class org.springframework.util.MimeType
-
Create a new
MimeType
for the given type, subtype, and character set. - MimeType(String, String, Map<String, String>) - Constructor for class org.springframework.util.MimeType
-
Create a new
MimeType
for the given type, subtype, and parameters. - MimeType(MimeType) - Constructor for class org.springframework.util.MimeType
-
Copy-constructor that copies the type, subtype and parameters of the given
MimeType
, skipping checks performed in other constructors. - MimeType(MimeType, Charset) - Constructor for class org.springframework.util.MimeType
-
Copy-constructor that copies the type, subtype, parameters of the given
MimeType
, and allows to set the specified character set. - MimeType(MimeType, Map<String, String>) - Constructor for class org.springframework.util.MimeType
-
Copy-constructor that copies the type and subtype of the given
MimeType
, and allows for different parameter. - MimeType.SpecificityComparator<T extends MimeType> - Class in org.springframework.util
-
Deprecated, for removal: This API element is subject to removal in a future version.As of 6.0, with no direct replacement
- MimeTypeUtils - Class in org.springframework.util
-
Miscellaneous
MimeType
utility methods. - MimeTypeUtils() - Constructor for class org.springframework.util.MimeTypeUtils
- MimeUnmarshaller - Interface in org.springframework.oxm.mime
-
Subinterface of
Unmarshaller
that can use MIME attachments to optimize storage of binary data. - min(int) - Static method in class org.springframework.test.web.client.ExpectedCount
-
At least
min
number of times. - MINIMUM_WEBSOCKET_MESSAGE_SIZE - Static variable in class org.springframework.web.socket.messaging.StompSubProtocolHandler
-
This handler supports assembling large STOMP messages split into multiple WebSocket messages and STOMP clients (like stomp.js) indeed split large STOMP messages at 16K boundaries.
- mismatch(String) - Static method in class org.springframework.test.json.JsonComparison
-
Factory method to create a new
JsonComparison
when the JSON strings do not match. - MISMATCH - Enum constant in enum class org.springframework.test.json.JsonComparison.Result
-
The JSON strings do not match when considering the comparison rules.
- missing() - Static method in interface org.springframework.core.annotation.MergedAnnotation
-
Create a
MergedAnnotation
that represents a missing annotation (i.e. - MISSING_ARRAY_DIMENSION - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MISSING_CHARACTER - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MISSING_CLOSE_CAPTURE - Enum constant in enum class org.springframework.web.util.pattern.PatternParseException.PatternMessage
- MISSING_CONSTRUCTOR_ARGS - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MISSING_FIELD_ERROR_CODE - Static variable in class org.springframework.validation.DefaultBindingErrorProcessor
-
Error code that a missing field error (i.e.
- MISSING_LEADING_ZERO_FOR_NUMBER - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MISSING_OPEN_CAPTURE - Enum constant in enum class org.springframework.web.util.pattern.PatternParseException.PatternMessage
- MISSING_REGEX_CONSTRAINT - Enum constant in enum class org.springframework.web.util.pattern.PatternParseException.PatternMessage
- MISSING_SELECTION_EXPRESSION - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MissingMatrixVariableException - Exception in org.springframework.web.bind
-
ServletRequestBindingException
subclass that indicates that a matrix variable expected in the method parameters of an@RequestMapping
method is not present among the matrix variables extracted from the URL. - MissingMatrixVariableException(String, MethodParameter) - Constructor for exception org.springframework.web.bind.MissingMatrixVariableException
-
Constructor for MissingMatrixVariableException.
- MissingMatrixVariableException(String, MethodParameter, boolean) - Constructor for exception org.springframework.web.bind.MissingMatrixVariableException
-
Constructor for use when a value was present but converted to
null
. - MissingPathVariableException - Exception in org.springframework.web.bind
-
ServletRequestBindingException
subclass that indicates that a path variable expected in the method parameters of an@RequestMapping
method is not present among the URI variables extracted from the URL. - MissingPathVariableException(String, MethodParameter) - Constructor for exception org.springframework.web.bind.MissingPathVariableException
-
Constructor for MissingPathVariableException.
- MissingPathVariableException(String, MethodParameter, boolean) - Constructor for exception org.springframework.web.bind.MissingPathVariableException
-
Constructor for use when a value was present but converted to
null
. - MissingRequestCookieException - Exception in org.springframework.web.bind
-
ServletRequestBindingException
subclass that indicates that a request cookie expected in the method parameters of an@RequestMapping
method is not present. - MissingRequestCookieException(String, MethodParameter) - Constructor for exception org.springframework.web.bind.MissingRequestCookieException
-
Constructor for MissingRequestCookieException.
- MissingRequestCookieException(String, MethodParameter, boolean) - Constructor for exception org.springframework.web.bind.MissingRequestCookieException
-
Constructor for use when a value was present but converted to
null
. - MissingRequestHeaderException - Exception in org.springframework.web.bind
-
ServletRequestBindingException
subclass that indicates that a request header expected in the method parameters of an@RequestMapping
method is not present. - MissingRequestHeaderException(String, MethodParameter) - Constructor for exception org.springframework.web.bind.MissingRequestHeaderException
-
Constructor for MissingRequestHeaderException.
- MissingRequestHeaderException(String, MethodParameter, boolean) - Constructor for exception org.springframework.web.bind.MissingRequestHeaderException
-
Constructor for use when a value was present but converted to
null
. - MissingRequestValueException - Exception in org.springframework.web.bind
-
Base class for
ServletRequestBindingException
exceptions that could not bind because the request value is required but is either missing or otherwise resolves tonull
after conversion. - MissingRequestValueException - Exception in org.springframework.web.server
-
ServerWebInputException
subclass that indicates a missing request value such as a request header, cookie value, query parameter, etc. - MissingRequestValueException(String) - Constructor for exception org.springframework.web.bind.MissingRequestValueException
-
Constructor with a message only.
- MissingRequestValueException(String, boolean) - Constructor for exception org.springframework.web.bind.MissingRequestValueException
-
Constructor with a message and a flag that indicates whether a value was present but became
null
after conversion. - MissingRequestValueException(String, boolean, String, Object[]) - Constructor for exception org.springframework.web.bind.MissingRequestValueException
-
Constructor with a given
ProblemDetail
, and aMessageSource
code and arguments to resolve the detail message with. - MissingRequestValueException(String, Class<?>, String, MethodParameter) - Constructor for exception org.springframework.web.server.MissingRequestValueException
- MissingRequiredPropertiesException - Exception in org.springframework.core.env
-
Exception thrown when required properties are not found.
- MissingRequiredPropertiesException() - Constructor for exception org.springframework.core.env.MissingRequiredPropertiesException
- MissingServletRequestParameterException - Exception in org.springframework.web.bind
-
ServletRequestBindingException
subclass that indicates a missing parameter. - MissingServletRequestParameterException(String, String) - Constructor for exception org.springframework.web.bind.MissingServletRequestParameterException
-
Constructor for MissingServletRequestParameterException.
- MissingServletRequestParameterException(String, String, boolean) - Constructor for exception org.springframework.web.bind.MissingServletRequestParameterException
-
Deprecated, for removal: This API element is subject to removal in a future version.
- MissingServletRequestParameterException(String, MethodParameter, boolean) - Constructor for exception org.springframework.web.bind.MissingServletRequestParameterException
-
Constructor with a
MethodParameter
instead of a String parameterType. - MissingServletRequestPartException - Exception in org.springframework.web.multipart.support
-
Signals the part of a "multipart/form-data" request, identified by name could not be found.
- MissingServletRequestPartException(String) - Constructor for exception org.springframework.web.multipart.support.MissingServletRequestPartException
-
Constructor for MissingServletRequestPartException.
- MissingSessionUserException - Exception in org.springframework.messaging.simp.annotation.support
-
MessagingException
thrown when a session is missing. - MissingSessionUserException(Message<?>) - Constructor for exception org.springframework.messaging.simp.annotation.support.MissingSessionUserException
- MIXED - Enum constant in enum class org.springframework.expression.spel.SpelCompilerMode
-
In mixed mode, expression evaluation silently switches between interpreted and compiled over time.
- mixIn(Class<?>, Class<?>) - Method in class org.springframework.http.converter.json.Jackson2ObjectMapperBuilder
-
Add mix-in annotations to use for augmenting specified class or interface.
- Mixin - Class in org.springframework.cglib.proxy
-
Mixin
allows multiple objects to be combined into a single larger object. - Mixin() - Constructor for class org.springframework.cglib.proxy.Mixin
- Mixin.Generator - Class in org.springframework.cglib.proxy
- mixIns(Map<Class<?>, Class<?>>) - Method in class org.springframework.http.converter.json.Jackson2ObjectMapperBuilder
-
Add mix-in annotations to use for augmenting specified class or interface.
- MOCK_PROPERTIES_PROPERTY_SOURCE_NAME - Static variable in class org.springframework.mock.env.MockPropertySource
-
"mockProperties" is the default name for
MockPropertySource
instances not otherwise given an explicit name. - MockAsyncContext - Class in org.springframework.mock.web
-
Mock implementation of the
AsyncContext
interface. - MockAsyncContext(ServletRequest, ServletResponse) - Constructor for class org.springframework.mock.web.MockAsyncContext
- MockBodyContent - Class in org.springframework.mock.web
-
Mock implementation of the
BodyContent
class. - MockBodyContent(String, HttpServletResponse) - Constructor for class org.springframework.mock.web.MockBodyContent
-
Create a MockBodyContent for the given response.
- MockBodyContent(String, HttpServletResponse, Writer) - Constructor for class org.springframework.mock.web.MockBodyContent
-
Create a MockBodyContent for the given response.
- MockBodyContent(String, Writer) - Constructor for class org.springframework.mock.web.MockBodyContent
-
Create a MockBodyContent for the given response.
- MockClientHttpRequest - Class in org.springframework.mock.http.client
-
Mock implementation of
ClientHttpRequest
. - MockClientHttpRequest - Class in org.springframework.mock.http.client.reactive
-
Mock implementation of
ClientHttpRequest
. - MockClientHttpRequest() - Constructor for class org.springframework.mock.http.client.MockClientHttpRequest
- MockClientHttpRequest(HttpMethod, String, Object...) - Constructor for class org.springframework.mock.http.client.MockClientHttpRequest
-
Create a
MockClientHttpRequest
with the givenHttpMethod
, URI template, and URI template variable values. - MockClientHttpRequest(HttpMethod, String, Object...) - Constructor for class org.springframework.mock.http.client.reactive.MockClientHttpRequest
- MockClientHttpRequest(HttpMethod, URI) - Constructor for class org.springframework.mock.http.client.MockClientHttpRequest
- MockClientHttpRequest(HttpMethod, URI) - Constructor for class org.springframework.mock.http.client.reactive.MockClientHttpRequest
- MockClientHttpResponse - Class in org.springframework.mock.http.client
-
Mock implementation of
ClientHttpResponse
. - MockClientHttpResponse - Class in org.springframework.mock.http.client.reactive
-
Mock implementation of
ClientHttpResponse
. - MockClientHttpResponse() - Constructor for class org.springframework.mock.http.client.MockClientHttpResponse
-
Create a
MockClientHttpResponse
with an empty response body and HTTP status codeOK
. - MockClientHttpResponse(byte[], int) - Constructor for class org.springframework.mock.http.client.MockClientHttpResponse
-
Create a
MockClientHttpResponse
with response body as a byte array and a custom HTTP status code. - MockClientHttpResponse(byte[], HttpStatusCode) - Constructor for class org.springframework.mock.http.client.MockClientHttpResponse
-
Create a
MockClientHttpResponse
with response body as a byte array and the supplied HTTP status code. - MockClientHttpResponse(int) - Constructor for class org.springframework.mock.http.client.reactive.MockClientHttpResponse
- MockClientHttpResponse(InputStream, int) - Constructor for class org.springframework.mock.http.client.MockClientHttpResponse
-
Create a
MockClientHttpResponse
with response body asInputStream
and a custom HTTP status code. - MockClientHttpResponse(InputStream, HttpStatusCode) - Constructor for class org.springframework.mock.http.client.MockClientHttpResponse
-
Create a
MockClientHttpResponse
with response body asInputStream
and the supplied HTTP status code. - MockClientHttpResponse(HttpStatusCode) - Constructor for class org.springframework.mock.http.client.reactive.MockClientHttpResponse
- MockCookie - Class in org.springframework.mock.web
-
Extension of
Cookie
with extra attributes, as defined in RFC 6265. - MockCookie(String, String) - Constructor for class org.springframework.mock.web.MockCookie
-
Construct a new
MockCookie
with the supplied name and value. - MockEnvironment - Class in org.springframework.mock.env
-
Simple
ConfigurableEnvironment
implementation exposingMockEnvironment.setProperty(java.lang.String, java.lang.String)
andMockEnvironment.withProperty(java.lang.String, java.lang.String)
methods for testing purposes. - MockEnvironment() - Constructor for class org.springframework.mock.env.MockEnvironment
-
Create a new
MockEnvironment
with a singleMockPropertySource
. - MockFilterChain - Class in org.springframework.mock.web
-
Mock implementation of the
FilterChain
interface. - MockFilterChain() - Constructor for class org.springframework.mock.web.MockFilterChain
-
Create an empty
MockFilterChain
without any filters. - MockFilterChain(Servlet) - Constructor for class org.springframework.mock.web.MockFilterChain
-
Create a
MockFilterChain
with aServlet
. - MockFilterChain(Servlet, Filter...) - Constructor for class org.springframework.mock.web.MockFilterChain
- MockFilterConfig - Class in org.springframework.mock.web
-
Mock implementation of the
FilterConfig
interface. - MockFilterConfig() - Constructor for class org.springframework.mock.web.MockFilterConfig
-
Create a new MockFilterConfig with a default
MockServletContext
. - MockFilterConfig(ServletContext) - Constructor for class org.springframework.mock.web.MockFilterConfig
-
Create a new MockFilterConfig.
- MockFilterConfig(ServletContext, String) - Constructor for class org.springframework.mock.web.MockFilterConfig
-
Create a new MockFilterConfig.
- MockFilterConfig(String) - Constructor for class org.springframework.mock.web.MockFilterConfig
-
Create a new MockFilterConfig with a default
MockServletContext
. - MockHttpInputMessage - Class in org.springframework.mock.http
-
Mock implementation of
HttpInputMessage
. - MockHttpInputMessage(byte[]) - Constructor for class org.springframework.mock.http.MockHttpInputMessage
-
Create a
MockHttpInputMessage
with the supplied body. - MockHttpInputMessage(InputStream) - Constructor for class org.springframework.mock.http.MockHttpInputMessage
-
Create a
MockHttpInputMessage
with the supplied body. - MockHttpOutputMessage - Class in org.springframework.mock.http
-
Mock implementation of
HttpOutputMessage
. - MockHttpOutputMessage() - Constructor for class org.springframework.mock.http.MockHttpOutputMessage
- MockHttpServletMapping - Class in org.springframework.mock.web
-
Mock implementation of
HttpServletMapping
. - MockHttpServletMapping(String, String, String, MappingMatch) - Constructor for class org.springframework.mock.web.MockHttpServletMapping
- MockHttpServletRequest - Class in org.springframework.mock.web
-
Mock implementation of the
HttpServletRequest
interface. - MockHttpServletRequest() - Constructor for class org.springframework.mock.web.MockHttpServletRequest
-
Create a new
MockHttpServletRequest
with a defaultMockServletContext
. - MockHttpServletRequest(ServletContext) - Constructor for class org.springframework.mock.web.MockHttpServletRequest
-
Create a new
MockHttpServletRequest
with the suppliedServletContext
. - MockHttpServletRequest(ServletContext, String, String) - Constructor for class org.springframework.mock.web.MockHttpServletRequest
- MockHttpServletRequest(String, String) - Constructor for class org.springframework.mock.web.MockHttpServletRequest
-
Create a new
MockHttpServletRequest
with a defaultMockServletContext
. - MockHttpServletRequestBuilder - Class in org.springframework.test.web.servlet.request
-
Default builder for
MockHttpServletRequest
required as input to perform requests inMockMvc
. - MockHttpServletResponse - Class in org.springframework.mock.web
-
Mock implementation of the
HttpServletResponse
interface. - MockHttpServletResponse() - Constructor for class org.springframework.mock.web.MockHttpServletResponse
- MockHttpSession - Class in org.springframework.mock.web
-
Mock implementation of the
HttpSession
interface. - MockHttpSession() - Constructor for class org.springframework.mock.web.MockHttpSession
-
Create a new MockHttpSession with a default
MockServletContext
. - MockHttpSession(ServletContext) - Constructor for class org.springframework.mock.web.MockHttpSession
-
Create a new MockHttpSession.
- MockHttpSession(ServletContext, String) - Constructor for class org.springframework.mock.web.MockHttpSession
-
Create a new MockHttpSession.
- MockitoBean - Annotation Interface in org.springframework.test.context.bean.override.mockito
-
Mark a field to trigger a bean override using a Mockito mock.
- MockitoResetTestExecutionListener - Class in org.springframework.test.context.bean.override.mockito
-
TestExecutionListener
that resets any mock beans that have been marked with aMockReset
. - MockitoResetTestExecutionListener() - Constructor for class org.springframework.test.context.bean.override.mockito.MockitoResetTestExecutionListener
- MockitoSpyBean - Annotation Interface in org.springframework.test.context.bean.override.mockito
-
Mark a field to trigger a bean override using a Mockito spy, which will wrap the original instance.
- MockitoTestExecutionListener - Class in org.springframework.test.context.bean.override.mockito
- MockitoTestExecutionListener() - Constructor for class org.springframework.test.context.bean.override.mockito.MockitoTestExecutionListener
- MockJspWriter - Class in org.springframework.mock.web
-
Mock implementation of the
JspWriter
class. - MockJspWriter(HttpServletResponse) - Constructor for class org.springframework.mock.web.MockJspWriter
-
Create a MockJspWriter for the given response, using the response's default Writer.
- MockJspWriter(HttpServletResponse, Writer) - Constructor for class org.springframework.mock.web.MockJspWriter
-
Create a MockJspWriter for the given response.
- MockJspWriter(Writer) - Constructor for class org.springframework.mock.web.MockJspWriter
-
Create a MockJspWriter for the given plain Writer.
- MockMultipartFile - Class in org.springframework.mock.web
-
Mock implementation of the
MultipartFile
interface. - MockMultipartFile(String, byte[]) - Constructor for class org.springframework.mock.web.MockMultipartFile
-
Create a new MockMultipartFile with the given content.
- MockMultipartFile(String, InputStream) - Constructor for class org.springframework.mock.web.MockMultipartFile
-
Create a new MockMultipartFile with the given content.
- MockMultipartFile(String, String, String, byte[]) - Constructor for class org.springframework.mock.web.MockMultipartFile
-
Create a new MockMultipartFile with the given content.
- MockMultipartFile(String, String, String, InputStream) - Constructor for class org.springframework.mock.web.MockMultipartFile
-
Create a new MockMultipartFile with the given content.
- MockMultipartHttpServletRequest - Class in org.springframework.mock.web
-
Mock implementation of the
MultipartHttpServletRequest
interface. - MockMultipartHttpServletRequest() - Constructor for class org.springframework.mock.web.MockMultipartHttpServletRequest
-
Create a new
MockMultipartHttpServletRequest
with a defaultMockServletContext
. - MockMultipartHttpServletRequest(ServletContext) - Constructor for class org.springframework.mock.web.MockMultipartHttpServletRequest
-
Create a new
MockMultipartHttpServletRequest
with the suppliedServletContext
. - MockMultipartHttpServletRequestBuilder - Class in org.springframework.test.web.servlet.request
-
Default builder for
MockMultipartHttpServletRequest
. - MockMvc - Class in org.springframework.test.web.servlet
-
Main entry point for server-side Spring MVC test support.
- MockMvcBuilder - Interface in org.springframework.test.web.servlet
-
Builds a
MockMvc
instance. - MockMvcBuilders - Class in org.springframework.test.web.servlet.setup
-
The main class to import in order to access all available
MockMvcBuilders
. - MockMvcBuilderSupport - Class in org.springframework.test.web.servlet
-
Base class for MockMvc builder implementations, providing the capability to create a
MockMvc
instance. - MockMvcBuilderSupport() - Constructor for class org.springframework.test.web.servlet.MockMvcBuilderSupport
- MockMvcClientHttpRequestFactory - Class in org.springframework.test.web.client
-
A
ClientHttpRequestFactory
for requests executed viaMockMvc
. - MockMvcClientHttpRequestFactory(MockMvc) - Constructor for class org.springframework.test.web.client.MockMvcClientHttpRequestFactory
- MockMvcConfigurer - Interface in org.springframework.test.web.servlet.setup
-
Contract for customizing a
ConfigurableMockMvcBuilder
in some specific way, e.g. - MockMvcConfigurerAdapter - Class in org.springframework.test.web.servlet.setup
-
An empty method implementation of
MockMvcConfigurer
. - MockMvcConfigurerAdapter() - Constructor for class org.springframework.test.web.servlet.setup.MockMvcConfigurerAdapter
- MockMvcHtmlUnitDriverBuilder - Class in org.springframework.test.web.servlet.htmlunit.webdriver
-
MockMvcHtmlUnitDriverBuilder
simplifies the building of anHtmlUnitDriver
that delegates toMockMvc
and optionally delegates to an actual connection for specific requests. - MockMvcHtmlUnitDriverBuilder(MockMvc) - Constructor for class org.springframework.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder
- MockMvcHtmlUnitDriverBuilder(WebApplicationContext) - Constructor for class org.springframework.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder
- MockMvcHtmlUnitDriverBuilder(WebApplicationContext, MockMvcConfigurer) - Constructor for class org.springframework.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder
- MockMvcHttpConnector - Class in org.springframework.test.web.servlet.client
-
Connector that handles requests by invoking a
MockMvc
rather than making actual requests over HTTP. - MockMvcHttpConnector(MockMvc) - Constructor for class org.springframework.test.web.servlet.client.MockMvcHttpConnector
- MockMvcRequestBuilders - Class in org.springframework.test.web.servlet.request
-
Static factory methods for
RequestBuilders
. - MockMvcRequestBuilders() - Constructor for class org.springframework.test.web.servlet.request.MockMvcRequestBuilders
- MockMvcResultHandlers - Class in org.springframework.test.web.servlet.result
-
Static factory methods for
ResultHandler
-based result actions. - MockMvcResultHandlers() - Constructor for class org.springframework.test.web.servlet.result.MockMvcResultHandlers
- MockMvcResultMatchers - Class in org.springframework.test.web.servlet.result
-
Static factory methods for
ResultMatcher
-based result actions. - MockMvcResultMatchers() - Constructor for class org.springframework.test.web.servlet.result.MockMvcResultMatchers
- mockMvcSetup(MockMvc) - Static method in class org.springframework.test.web.servlet.htmlunit.MockMvcWebClientBuilder
-
Create a new
MockMvcWebClientBuilder
based on the suppliedMockMvc
instance. - mockMvcSetup(MockMvc) - Static method in class org.springframework.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder
-
Create a new
MockMvcHtmlUnitDriverBuilder
based on the suppliedMockMvc
instance. - MockMvcTester - Class in org.springframework.test.web.servlet.assertj
-
MockMvcTester
provides support for testing Spring MVC applications withMockMvc
for server request handling using AssertJ. - MockMvcTester.MockMultipartMvcRequestBuilder - Class in org.springframework.test.web.servlet.assertj
-
A builder for
MockMultipartHttpServletRequest
that supports AssertJ. - MockMvcTester.MockMvcRequestBuilder - Class in org.springframework.test.web.servlet.assertj
-
A builder for
MockHttpServletRequest
that supports AssertJ. - MockMvcWebClientBuilder - Class in org.springframework.test.web.servlet.htmlunit
-
MockMvcWebClientBuilder
simplifies the creation of an HtmlUnitWebClient
that delegates to aMockMvc
instance. - MockMvcWebClientBuilder(MockMvc) - Constructor for class org.springframework.test.web.servlet.htmlunit.MockMvcWebClientBuilder
- MockMvcWebClientBuilder(WebApplicationContext) - Constructor for class org.springframework.test.web.servlet.htmlunit.MockMvcWebClientBuilder
- MockMvcWebClientBuilder(WebApplicationContext, MockMvcConfigurer) - Constructor for class org.springframework.test.web.servlet.htmlunit.MockMvcWebClientBuilder
- MockMvcWebConnection - Class in org.springframework.test.web.servlet.htmlunit
- MockMvcWebConnection(MockMvc, WebClient) - Constructor for class org.springframework.test.web.servlet.htmlunit.MockMvcWebConnection
-
Create a new instance that assumes the context path of the application is
""
(i.e., the root context). - MockMvcWebConnection(MockMvc, WebClient, String) - Constructor for class org.springframework.test.web.servlet.htmlunit.MockMvcWebConnection
-
Create a new instance with the specified context path.
- MockMvcWebConnectionBuilderSupport<T extends MockMvcWebConnectionBuilderSupport<T>> - Class in org.springframework.test.web.servlet.htmlunit
-
Support class that simplifies the creation of a
WebConnection
that usesMockMvc
and optionally delegates to a realWebConnection
for specific requests. - MockMvcWebConnectionBuilderSupport(MockMvc) - Constructor for class org.springframework.test.web.servlet.htmlunit.MockMvcWebConnectionBuilderSupport
-
Create a new instance using the supplied
MockMvc
instance. - MockMvcWebConnectionBuilderSupport(WebApplicationContext) - Constructor for class org.springframework.test.web.servlet.htmlunit.MockMvcWebConnectionBuilderSupport
-
Create a new instance using the supplied
WebApplicationContext
. - MockMvcWebConnectionBuilderSupport(WebApplicationContext, MockMvcConfigurer) - Constructor for class org.springframework.test.web.servlet.htmlunit.MockMvcWebConnectionBuilderSupport
-
Create a new instance using the supplied
WebApplicationContext
andMockMvcConfigurer
. - MockMvcWebTestClient - Interface in org.springframework.test.web.servlet.client
-
The main class for testing Spring MVC applications via
WebTestClient
withMockMvc
for server request handling. - MockMvcWebTestClient.ControllerSpec - Interface in org.springframework.test.web.servlet.client
-
Specification for configuring
MockMvc
to test one or more controllers directly, and a simple facade aroundStandaloneMockMvcBuilder
. - MockMvcWebTestClient.MockMvcServerSpec<B extends MockMvcWebTestClient.MockMvcServerSpec<B>> - Interface in org.springframework.test.web.servlet.client
-
Base specification for configuring
MockMvc
, and a simple facade aroundConfigurableMockMvcBuilder
. - MockMvcWebTestClient.RouterFunctionSpec - Interface in org.springframework.test.web.servlet.client
-
Specification for configuring
MockMvc
to test one or more router functions directly, and a simple facade aroundRouterFunctionMockMvcBuilder
. - MockPageContext - Class in org.springframework.mock.web
-
Mock implementation of the
PageContext
interface. - MockPageContext() - Constructor for class org.springframework.mock.web.MockPageContext
-
Create new MockPageContext with a default
MockServletContext
,MockHttpServletRequest
,MockHttpServletResponse
,MockServletConfig
. - MockPageContext(ServletContext) - Constructor for class org.springframework.mock.web.MockPageContext
-
Create new MockPageContext with a default
MockHttpServletRequest
,MockHttpServletResponse
,MockServletConfig
. - MockPageContext(ServletContext, HttpServletRequest) - Constructor for class org.springframework.mock.web.MockPageContext
-
Create new MockPageContext with a MockHttpServletResponse, MockServletConfig.
- MockPageContext(ServletContext, HttpServletRequest, HttpServletResponse) - Constructor for class org.springframework.mock.web.MockPageContext
-
Create new MockPageContext with a MockServletConfig.
- MockPageContext(ServletContext, HttpServletRequest, HttpServletResponse, ServletConfig) - Constructor for class org.springframework.mock.web.MockPageContext
-
Create new MockServletConfig.
- MockPart - Class in org.springframework.mock.web
-
Mock implementation of
jakarta.servlet.http.Part
. - MockPart(String, byte[]) - Constructor for class org.springframework.mock.web.MockPart
-
Constructor for a part with a name and content only.
- MockPart(String, String, byte[]) - Constructor for class org.springframework.mock.web.MockPart
-
Constructor for a part with a name, filename, and content.
- MockPart(String, String, byte[], MediaType) - Constructor for class org.springframework.mock.web.MockPart
-
Constructor for a part with a name, filename, content, and content type.
- MockPropertySource - Class in org.springframework.mock.env
-
Simple
PropertySource
implementation for use in testing. - MockPropertySource() - Constructor for class org.springframework.mock.env.MockPropertySource
-
Create a new
MockPropertySource
named "mockProperties" that will maintain its own internalProperties
instance. - MockPropertySource(String) - Constructor for class org.springframework.mock.env.MockPropertySource
-
Create a new
MockPropertySource
with the given name that will maintain its own internalProperties
instance. - MockPropertySource(String, Properties) - Constructor for class org.springframework.mock.env.MockPropertySource
-
Create a new
MockPropertySource
with the given name and backed by the givenProperties
object. - MockPropertySource(Properties) - Constructor for class org.springframework.mock.env.MockPropertySource
- MockRequestDispatcher - Class in org.springframework.mock.web
-
Mock implementation of the
RequestDispatcher
interface. - MockRequestDispatcher(String) - Constructor for class org.springframework.mock.web.MockRequestDispatcher
-
Create a new MockRequestDispatcher for the given resource.
- MockReset - Enum Class in org.springframework.test.context.bean.override.mockito
-
Reset strategy used on a mock bean.
- MockRestRequestMatchers - Class in org.springframework.test.web.client.match
-
Static factory methods for
RequestMatcher
classes. - MockRestRequestMatchers() - Constructor for class org.springframework.test.web.client.match.MockRestRequestMatchers
- MockRestResponseCreators - Class in org.springframework.test.web.client.response
-
Static factory methods to obtain a
ResponseCreator
with a fixed response. - MockRestResponseCreators() - Constructor for class org.springframework.test.web.client.response.MockRestResponseCreators
- MockRestServiceServer - Class in org.springframework.test.web.client
-
Main entry point for client-side REST testing.
- MockRestServiceServer.MockRestServiceServerBuilder - Interface in org.springframework.test.web.client
-
Builder to create a
MockRestServiceServer
. - MockServerClientHttpResponse - Interface in org.springframework.test.web.reactive.server
-
Simple
ClientHttpResponse
extension that also exposes a result object from the underlying mock server exchange for further assertions on the state of the server response after the request is performed. - MockServerConfigurer - Interface in org.springframework.test.web.reactive.server
-
Contract that frameworks or applications can use to pre-package a set of customizations to a
WebTestClient.MockServerSpec
and expose that as a shortcut. - MockServerHttpRequest - Class in org.springframework.mock.http.server.reactive
-
Mock extension of
AbstractServerHttpRequest
for use in tests without an actual server. - MockServerHttpRequest.BaseBuilder<B extends MockServerHttpRequest.BaseBuilder<B>> - Interface in org.springframework.mock.http.server.reactive
-
Request builder exposing properties not related to the body.
- MockServerHttpRequest.BodyBuilder - Interface in org.springframework.mock.http.server.reactive
-
A builder that adds a body to the request.
- MockServerHttpResponse - Class in org.springframework.mock.http.server.reactive
-
Mock extension of
AbstractServerHttpResponse
for use in tests without an actual server. - MockServerHttpResponse() - Constructor for class org.springframework.mock.http.server.reactive.MockServerHttpResponse
- MockServerHttpResponse(DataBufferFactory) - Constructor for class org.springframework.mock.http.server.reactive.MockServerHttpResponse
- MockServerRequest - Class in org.springframework.mock.web.reactive.function.server
-
Mock implementation of
ServerRequest
. - MockServerRequest.Builder - Interface in org.springframework.mock.web.reactive.function.server
-
Builder for
MockServerRequest
. - MockServerWebExchange - Class in org.springframework.mock.web.server
-
Extension of
DefaultServerWebExchange
for use in tests, along withMockServerHttpRequest
andMockServerHttpResponse
. - MockServerWebExchange.Builder - Class in org.springframework.mock.web.server
-
Builder for a
MockServerWebExchange
. - MockServletConfig - Class in org.springframework.mock.web
-
Mock implementation of the
ServletConfig
interface. - MockServletConfig() - Constructor for class org.springframework.mock.web.MockServletConfig
-
Create a new MockServletConfig with a default
MockServletContext
. - MockServletConfig(ServletContext) - Constructor for class org.springframework.mock.web.MockServletConfig
-
Create a new MockServletConfig.
- MockServletConfig(ServletContext, String) - Constructor for class org.springframework.mock.web.MockServletConfig
-
Create a new MockServletConfig.
- MockServletConfig(String) - Constructor for class org.springframework.mock.web.MockServletConfig
-
Create a new MockServletConfig with a default
MockServletContext
. - MockServletContext - Class in org.springframework.mock.web
-
Mock implementation of the
ServletContext
interface. - MockServletContext() - Constructor for class org.springframework.mock.web.MockServletContext
-
Create a new
MockServletContext
, using no base path and aDefaultResourceLoader
(i.e. - MockServletContext(String) - Constructor for class org.springframework.mock.web.MockServletContext
-
Create a new
MockServletContext
, using aDefaultResourceLoader
. - MockServletContext(String, ResourceLoader) - Constructor for class org.springframework.mock.web.MockServletContext
-
Create a new
MockServletContext
using the supplied resource base path and resource loader. - MockServletContext(ResourceLoader) - Constructor for class org.springframework.mock.web.MockServletContext
-
Create a new
MockServletContext
, using the specifiedResourceLoader
and no base path. - MockSessionCookieConfig - Class in org.springframework.mock.web
-
Mock implementation of the
SessionCookieConfig
interface. - MockSessionCookieConfig() - Constructor for class org.springframework.mock.web.MockSessionCookieConfig
- MockSpringFactoriesLoader - Class in org.springframework.core.test.io.support
-
Simple mock
SpringFactoriesLoader
implementation that can be used for testing purposes. - MockSpringFactoriesLoader() - Constructor for class org.springframework.core.test.io.support.MockSpringFactoriesLoader
-
Create a new
MockSpringFactoriesLoader
instance with the default classloader. - MockSpringFactoriesLoader(ClassLoader) - Constructor for class org.springframework.core.test.io.support.MockSpringFactoriesLoader
-
Create a new
MockSpringFactoriesLoader
instance with the given classloader. - MockSpringFactoriesLoader(ClassLoader, Map<String, List<String>>) - Constructor for class org.springframework.core.test.io.support.MockSpringFactoriesLoader
- MockWebSession - Class in org.springframework.mock.web.server
-
Implementation of
WebSession
that delegates to a session instance obtained viaInMemoryWebSessionStore
. - MockWebSession() - Constructor for class org.springframework.mock.web.server.MockWebSession
- MockWebSession(Clock) - Constructor for class org.springframework.mock.web.server.MockWebSession
- mode() - Element in annotation interface org.springframework.cache.annotation.EnableCaching
-
Indicate how caching advice should be applied.
- mode() - Element in annotation interface org.springframework.scheduling.annotation.EnableAsync
-
Indicate how async advice should be applied.
- mode() - Element in annotation interface org.springframework.transaction.annotation.EnableTransactionManagement
-
Indicate how transactional advice should be applied.
- model() - Method in class org.springframework.test.web.servlet.assertj.MvcTestResultAssert
-
Verify that a
ModelAndView
is available and return a new assertion object that uses the model as the object to test. - model() - Static method in class org.springframework.test.web.servlet.result.MockMvcResultMatchers
-
Access to model-related assertions.
- model() - Method in interface org.springframework.web.reactive.function.server.RenderingResponse
-
Return the unmodifiable model map.
- model() - Method in class org.springframework.web.reactive.result.view.Fragment
-
Return the model for this Fragment, or an empty map.
- model() - Method in interface org.springframework.web.servlet.function.RenderingResponse
-
Return the unmodifiable model map.
- model(Map<String, ?>) - Method in interface org.springframework.web.reactive.result.view.Rendering.Builder
-
Add the given attributes to the model.
- Model - Interface in org.springframework.ui
-
Interface that defines a holder for model attributes.
- MODEL_ATTRIBUTE_METHODS - Static variable in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
-
MethodFilter that matches
@ModelAttribute
methods. - MODEL_ATTRIBUTE_VARIABLE_NAME - Static variable in class org.springframework.web.servlet.tags.form.FormTag
-
The name of the
PageContext
attribute under which the form object name is exposed. - MODEL_KEY_PREFIX - Static variable in interface org.springframework.validation.BindingResult
-
Prefix for the name of the BindingResult instance in a model, followed by the object name.
- ModelAndView - Class in org.springframework.web.servlet
-
Holder for both Model and View in the web MVC framework.
- ModelAndView() - Constructor for class org.springframework.web.servlet.ModelAndView
-
Default constructor for bean-style usage: populating bean properties instead of passing in constructor arguments.
- ModelAndView(String) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Convenient constructor when there is no model data to expose.
- ModelAndView(String, String, Object) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Convenient constructor to take a single model object.
- ModelAndView(String, Map<String, ?>) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Create a new ModelAndView given a view name and a model.
- ModelAndView(String, Map<String, ?>, HttpStatusCode) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Create a new ModelAndView given a view name, model, and HTTP status.
- ModelAndView(String, HttpStatusCode) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Create a new ModelAndView given a view name and HTTP status.
- ModelAndView(View) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Convenient constructor when there is no model data to expose.
- ModelAndView(View, String, Object) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Convenient constructor to take a single model object.
- ModelAndView(View, Map<String, ?>) - Constructor for class org.springframework.web.servlet.ModelAndView
-
Create a new ModelAndView given a View object and a model.
- ModelAndViewAssert - Class in org.springframework.test.web
-
A collection of assertions intended to simplify testing scenarios dealing with Spring Web MVC
ModelAndView
objects. - ModelAndViewAssert() - Constructor for class org.springframework.test.web.ModelAndViewAssert
- ModelAndViewContainer - Class in org.springframework.web.method.support
-
Records model and view related decisions made by
HandlerMethodArgumentResolvers
andHandlerMethodReturnValueHandlers
during the course of invocation of a controller method. - ModelAndViewContainer() - Constructor for class org.springframework.web.method.support.ModelAndViewContainer
- ModelAndViewDefiningException - Exception in org.springframework.web.servlet
-
Exception to be thrown on error conditions that should forward to a specific view with a specific model.
- ModelAndViewDefiningException(ModelAndView) - Constructor for exception org.springframework.web.servlet.ModelAndViewDefiningException
-
Create new ModelAndViewDefiningException with the given ModelAndView, typically representing a specific error page.
- ModelAndViewMethodReturnValueHandler - Class in org.springframework.web.servlet.mvc.method.annotation
-
Handles return values of type
ModelAndView
copying view and model information to theModelAndViewContainer
. - ModelAndViewMethodReturnValueHandler() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ModelAndViewMethodReturnValueHandler
- ModelAndViewResolver - Interface in org.springframework.web.servlet.mvc.annotation
-
SPI for resolving custom return values from a specific handler method.
- ModelAndViewResolverMethodReturnValueHandler - Class in org.springframework.web.servlet.mvc.method.annotation
-
This return value handler is intended to be ordered after all others as it attempts to handle _any_ return value type (i.e.
- ModelAndViewResolverMethodReturnValueHandler(List<ModelAndViewResolver>) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.ModelAndViewResolverMethodReturnValueHandler
-
Create a new instance.
- ModelAssert - Class in org.springframework.test.web.servlet.assertj
-
AssertJ assertions that can be applied to a model.
- ModelAssert(Map<String, Object>) - Constructor for class org.springframework.test.web.servlet.assertj.ModelAssert
- modelAttribute(Object) - Method in interface org.springframework.web.reactive.function.server.RenderingResponse.Builder
-
Add the supplied attribute to the model using a generated name.
- modelAttribute(Object) - Method in interface org.springframework.web.reactive.result.view.Rendering.Builder
-
Add an attribute to the model using a
generated name
. - modelAttribute(Object) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Add the supplied attribute to the model using a generated name.
- modelAttribute(String, Object) - Method in interface org.springframework.web.reactive.function.server.RenderingResponse.Builder
-
Add the supplied attribute value under the supplied name.
- modelAttribute(String, Object) - Method in interface org.springframework.web.reactive.result.view.Rendering.Builder
-
Add the given model attribute with the supplied name.
- modelAttribute(String, Object) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Add the supplied attribute value under the supplied name.
- modelAttribute(ModelAttribute, ParameterErrors) - Method in interface org.springframework.web.method.annotation.HandlerMethodValidationException.Visitor
-
Handle results for
@ModelAttribute
method parameters. - ModelAttribute - Annotation Interface in org.springframework.web.bind.annotation
-
Annotation that binds a method parameter or method return value to a named model attribute, exposed to a web view.
- ModelAttributeMethodArgumentResolver - Class in org.springframework.web.reactive.result.method.annotation
-
Resolve
@ModelAttribute
annotated method arguments. - ModelAttributeMethodArgumentResolver(ReactiveAdapterRegistry, boolean) - Constructor for class org.springframework.web.reactive.result.method.annotation.ModelAttributeMethodArgumentResolver
-
Class constructor with a default resolution mode flag.
- ModelAttributeMethodProcessor - Class in org.springframework.web.method.annotation
-
Resolve
@ModelAttribute
annotated method arguments and handle return values from@ModelAttribute
annotated methods. - ModelAttributeMethodProcessor(boolean) - Constructor for class org.springframework.web.method.annotation.ModelAttributeMethodProcessor
-
Class constructor.
- modelAttributes() - Method in interface org.springframework.web.reactive.result.view.Rendering
-
Return attributes to add to the model.
- modelAttributes(Object...) - Method in interface org.springframework.web.reactive.function.server.RenderingResponse.Builder
-
Copy all attributes in the supplied array into the model, using attribute name generation for each element.
- modelAttributes(Object...) - Method in interface org.springframework.web.reactive.result.view.Rendering.Builder
-
Add all given attributes to the model using
generated names
. - modelAttributes(Object...) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Copy all attributes in the supplied array into the model, using attribute name generation for each element.
- modelAttributes(Collection<?>) - Method in interface org.springframework.web.reactive.function.server.RenderingResponse.Builder
-
Copy all attributes in the supplied
Collection
into the model, using attribute name generation for each element. - modelAttributes(Collection<?>) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Copy all attributes in the supplied
Collection
into the model, using attribute name generation for each element. - modelAttributes(Map<String, ?>) - Method in interface org.springframework.web.reactive.function.server.RenderingResponse.Builder
-
Copy all attributes in the supplied
Map
into the model. - modelAttributes(Map<String, ?>) - Method in interface org.springframework.web.servlet.function.RenderingResponse.Builder
-
Copy all attributes in the supplied
Map
into the model. - ModelFactory - Class in org.springframework.web.method.annotation
-
Assist with initialization of the
Model
before controller method invocation and with updates to it after the invocation. - ModelFactory(List<InvocableHandlerMethod>, WebDataBinderFactory, SessionAttributesHandler) - Constructor for class org.springframework.web.method.annotation.ModelFactory
-
Create a new instance with the given
@ModelAttribute
methods. - ModelMap - Class in org.springframework.ui
-
Implementation of
Map
for use when building model data for use with UI tools. - ModelMap() - Constructor for class org.springframework.ui.ModelMap
-
Construct a new, empty
ModelMap
. - ModelMap(Object) - Constructor for class org.springframework.ui.ModelMap
-
Construct a new
ModelMap
containing the supplied attribute. - ModelMap(String, Object) - Constructor for class org.springframework.ui.ModelMap
-
Construct a new
ModelMap
containing the supplied attribute under the supplied name. - ModelMBeanNotificationPublisher - Class in org.springframework.jmx.export.notification
-
NotificationPublisher
implementation that uses the infrastructure provided by theModelMBean
interface to trackjavax.management.NotificationListeners
and sendNotifications
to those listeners. - ModelMBeanNotificationPublisher(ModelMBeanNotificationBroadcaster, ObjectName, Object) - Constructor for class org.springframework.jmx.export.notification.ModelMBeanNotificationPublisher
-
Create a new instance of the
ModelMBeanNotificationPublisher
class that will publish allNotifications
to the suppliedModelMBean
. - ModelMethodArgumentResolver - Class in org.springframework.web.reactive.result.method.annotation
- ModelMethodArgumentResolver(ReactiveAdapterRegistry) - Constructor for class org.springframework.web.reactive.result.method.annotation.ModelMethodArgumentResolver
- ModelMethodProcessor - Class in org.springframework.web.method.annotation
- ModelMethodProcessor() - Constructor for class org.springframework.web.method.annotation.ModelMethodProcessor
- ModelResultMatchers - Class in org.springframework.test.web.servlet.result
-
Factory for assertions on the model.
- ModelResultMatchers() - Constructor for class org.springframework.test.web.servlet.result.ModelResultMatchers
-
Protected constructor.
- modificationDate(ZonedDateTime) - Method in interface org.springframework.http.ContentDisposition.Builder
-
Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.
- modifyContextPath(String) - Method in interface org.springframework.http.server.RequestPath
-
Return a new
RequestPath
instance with a modified context path. - modifyHandshake(ServerEndpointConfig, HandshakeRequest, HandshakeResponse) - Method in class org.springframework.web.socket.server.standard.ServerEndpointRegistration
- modifyLocations(Class<?>, String...) - Method in class org.springframework.test.context.support.AbstractContextLoader
-
Generate a modified version of the supplied locations array and return it.
- modifyLocations(Class<?>, String...) - Method in class org.springframework.test.context.support.AnnotationConfigContextLoader
-
AnnotationConfigContextLoader
should be used as aSmartContextLoader
, not as a legacyContextLoader
. - modifyLocations(Class<?>, String...) - Method in class org.springframework.test.context.web.AnnotationConfigWebContextLoader
-
AnnotationConfigWebContextLoader
should be used as aSmartContextLoader
, not as a legacyContextLoader
. - modifyWebClient(WebClient) - Method in class org.springframework.test.web.servlet.htmlunit.webdriver.WebConnectionHtmlUnitDriver
-
Modify the supplied
WebClient
and retain a reference to it so that itsWebConnection
is accessible for later use. - modifyWebClientInternal(WebClient) - Method in class org.springframework.test.web.servlet.htmlunit.webdriver.WebConnectionHtmlUnitDriver
-
Modify the supplied
WebClient
. - moduleClassLoader(ClassLoader) - Method in class org.springframework.http.converter.json.Jackson2ObjectMapperBuilder
-
Set the ClassLoader to use for loading Jackson extension modules.
- modulegetResourceAsStream(Module, String) - Static method in class org.springframework.aot.agent.InstrumentedBridgeMethods
-
Deprecated.
- ModuleResource - Class in org.springframework.core.io
-
Resource
implementation forModule
resolution, performingModuleResource.getInputStream()
access viaModule.getResourceAsStream(java.lang.String)
. - ModuleResource(Module, String) - Constructor for class org.springframework.core.io.ModuleResource
-
Create a new
ModuleResource
for the givenModule
and the given resource path. - modules(Module...) - Method in class org.springframework.http.converter.json.Jackson2ObjectMapperBuilder
-
Specify the modules to be registered with the
ObjectMapper
. - modules(Consumer<List<Module>>) - Method in class org.springframework.http.converter.json.Jackson2ObjectMapperBuilder
-
Variant of
Jackson2ObjectMapperBuilder.modules(Module...)
with aConsumer
for full control over the underlying list of modules. - modules(List<Module>) - Method in class org.springframework.http.converter.json.Jackson2ObjectMapperBuilder
-
Variant of
Jackson2ObjectMapperBuilder.modules(Module...)
with aList
. - modulesToInstall(Module...) - Method in class org.springframework.http.converter.json.Jackson2ObjectMapperBuilder
-
Specify one or more modules to be registered with the
ObjectMapper
. - modulesToInstall(Class<? extends Module>...) - Method in class org.springframework.http.converter.json.Jackson2ObjectMapperBuilder
-
Specify one or more modules by class to be registered with the
ObjectMapper
. - modulesToInstall(Consumer<List<Module>>) - Method in class org.springframework.http.converter.json.Jackson2ObjectMapperBuilder
-
Variant of
Jackson2ObjectMapperBuilder.modulesToInstall(Module...)
with aConsumer
for full control over the underlying list of modules. - ModuleVisitor - Class in org.springframework.asm
-
A visitor to visit a Java module.
- ModuleVisitor(int) - Constructor for class org.springframework.asm.ModuleVisitor
-
Constructs a new
ModuleVisitor
. - ModuleVisitor(int, ModuleVisitor) - Constructor for class org.springframework.asm.ModuleVisitor
-
Constructs a new
ModuleVisitor
. - MODULUS - Enum constant in enum class org.springframework.expression.Operation
-
Modulus operation.
- MonetaryAmountFormatter - Class in org.springframework.format.number.money
-
Formatter for JSR-354
MonetaryAmount
values, delegating toMonetaryAmountFormat.format(javax.money.MonetaryAmount)
andMonetaryAmountFormat.parse(java.lang.CharSequence)
. - MonetaryAmountFormatter() - Constructor for class org.springframework.format.number.money.MonetaryAmountFormatter
-
Create a locale-driven MonetaryAmountFormatter.
- MonetaryAmountFormatter(String) - Constructor for class org.springframework.format.number.money.MonetaryAmountFormatter
-
Create a new MonetaryAmountFormatter for the given format name.
- monitorenter() - Method in class org.springframework.cglib.core.CodeEmitter
- MONITORENTER - Static variable in interface org.springframework.asm.Opcodes
- monitorexit() - Method in class org.springframework.cglib.core.CodeEmitter
- MONITOREXIT - Static variable in interface org.springframework.asm.Opcodes
- monoToDeferred(Mono<T>) - Static method in class org.springframework.core.CoroutinesUtils
-
Convert a
Mono
instance to aDeferred
. - MonoToListenableFutureAdapter<T> - Class in org.springframework.util.concurrent
-
Deprecated.as of 6.0, in favor of
Mono.toFuture()
- MonoToListenableFutureAdapter(Mono<T>) - Constructor for class org.springframework.util.concurrent.MonoToListenableFutureAdapter
-
Deprecated.
- MORE_INPUT - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MOVED_PERMANENTLY - Enum constant in enum class org.springframework.http.HttpStatus
-
301 Moved Permanently
. - MOVED_TEMPORARILY - Enum constant in enum class org.springframework.http.HttpStatus
-
Deprecated.in favor of
HttpStatus.FOUND
which will be returned fromHttpStatus.valueOf(302)
- MUL - Static variable in class org.springframework.cglib.core.CodeEmitter
- MULTI_STATUS - Enum constant in enum class org.springframework.http.HttpStatus
-
207 Multi-Status
. - MULTI_VALUE_ATTRIBUTE_DELIMITERS - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- MULTIANEWARRAY - Static variable in interface org.springframework.asm.Opcodes
- MulticastDelegate - Class in org.springframework.cglib.reflect
- MulticastDelegate() - Constructor for class org.springframework.cglib.reflect.MulticastDelegate
- MulticastDelegate.Generator - Class in org.springframework.cglib.reflect
- multicastEvent(ApplicationEvent) - Method in interface org.springframework.context.event.ApplicationEventMulticaster
-
Multicast the given application event to appropriate listeners.
- multicastEvent(ApplicationEvent) - Method in class org.springframework.context.event.SimpleApplicationEventMulticaster
- multicastEvent(ApplicationEvent, ResolvableType) - Method in interface org.springframework.context.event.ApplicationEventMulticaster
-
Multicast the given application event to appropriate listeners.
- multicastEvent(ApplicationEvent, ResolvableType) - Method in class org.springframework.context.event.SimpleApplicationEventMulticaster
- MULTIDIM_ARRAY_INITIALIZER_NOT_SUPPORTED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- multipart() - Method in class org.springframework.test.web.servlet.assertj.MockMvcTester.MockMvcRequestBuilder
-
Enable file upload support using multipart.
- multipart(String, Object...) - Static method in class org.springframework.test.web.servlet.request.MockMvcRequestBuilders
-
Create a
MockMultipartHttpServletRequestBuilder
for a multipart request, using POST as the HTTP method. - multipart(URI) - Static method in class org.springframework.test.web.servlet.request.MockMvcRequestBuilders
-
Variant of
MockMvcRequestBuilders.multipart(String, Object...)
with aURI
. - multipart(HttpMethod, String, Object...) - Static method in class org.springframework.test.web.servlet.request.MockMvcRequestBuilders
-
Variant of
MockMvcRequestBuilders.multipart(String, Object...)
that also accepts anHttpMethod
. - multipart(HttpMethod, URI) - Static method in class org.springframework.test.web.servlet.request.MockMvcRequestBuilders
- MULTIPART_FORM_DATA - Static variable in class org.springframework.http.MediaType
-
Public constant media type for
multipart/form-data
. - MULTIPART_FORM_DATA_VALUE - Static variable in class org.springframework.http.MediaType
-
A String equivalent of
MediaType.MULTIPART_FORM_DATA
. - MULTIPART_MIXED - Static variable in class org.springframework.http.MediaType
-
Public constant media type for
multipart/mixed
. - MULTIPART_MIXED_VALUE - Static variable in class org.springframework.http.MediaType
-
A String equivalent of
MediaType.MULTIPART_MIXED
. - MULTIPART_MODE_MIXED - Static variable in class org.springframework.mail.javamail.MimeMessageHelper
-
Constant indicating a multipart message with a single root multipart element of type "mixed".
- MULTIPART_MODE_MIXED_RELATED - Static variable in class org.springframework.mail.javamail.MimeMessageHelper
-
Constant indicating a multipart message with a root multipart element "mixed" plus a nested multipart element of type "related".
- MULTIPART_MODE_NO - Static variable in class org.springframework.mail.javamail.MimeMessageHelper
-
Constant indicating a non-multipart message.
- MULTIPART_MODE_RELATED - Static variable in class org.springframework.mail.javamail.MimeMessageHelper
-
Constant indicating a multipart message with a single root multipart element of type "related".
- MULTIPART_RELATED - Static variable in class org.springframework.http.MediaType
-
Public constant media type for
multipart/related
. - MULTIPART_RELATED_VALUE - Static variable in class org.springframework.http.MediaType
-
A String equivalent of
MediaType.MULTIPART_RELATED
. - MULTIPART_RESOLVER_BEAN_NAME - Static variable in class org.springframework.web.servlet.DispatcherServlet
-
Well-known name for the MultipartResolver object in the bean factory for this namespace.
- MultipartBodyBuilder - Class in org.springframework.http.client
-
Prepare the body of a multipart request, resulting in a
MultiValueMap<String, HttpEntity>
. - MultipartBodyBuilder() - Constructor for class org.springframework.http.client.MultipartBodyBuilder
-
Creates a new, empty instance of the
MultipartBodyBuilder
. - MultipartBodyBuilder.PartBuilder - Interface in org.springframework.http.client
-
Builder that allows for further customization of part headers.
- multipartCodecs() - Method in interface org.springframework.http.codec.CodecConfigurer.DefaultCodecs
-
Configure encoders or writers for use with
MultipartHttpMessageWriter
. - multipartData() - Method in class org.springframework.mock.web.reactive.function.server.MockServerRequest
- multipartData() - Method in interface org.springframework.web.reactive.function.server.ServerRequest
-
Get the parts of a multipart request if the Content-Type is
"multipart/form-data"
or an empty map otherwise. - multipartData() - Method in class org.springframework.web.reactive.function.server.support.ServerRequestWrapper
- multipartData() - Method in interface org.springframework.web.servlet.function.ServerRequest
-
Get the parts of a multipart request, provided the Content-Type is
"multipart/form-data"
, or an exception otherwise. - multipartData(MultiValueMap<String, ?>) - Method in class org.springframework.test.web.client.match.ContentRequestMatchers
-
Parse the body as multipart data and assert it contains exactly the values from the given
MultiValueMap
. - multipartData(MultiValueMap<String, ?>, Charset) - Method in class org.springframework.test.web.client.match.ContentRequestMatchers
-
Variant of
ContentRequestMatchers.multipartData(MultiValueMap)
with a defaultCharset. - multipartDataContains(Map<String, ?>) - Method in class org.springframework.test.web.client.match.ContentRequestMatchers
-
Variant of
ContentRequestMatchers.multipartData(MultiValueMap)
that does the same but only for a subset of the actual values. - MultipartException - Exception in org.springframework.web.multipart
-
Exception thrown when multipart resolution fails.
- MultipartException(String) - Constructor for exception org.springframework.web.multipart.MultipartException
-
Constructor for MultipartException.
- MultipartException(String, Throwable) - Constructor for exception org.springframework.web.multipart.MultipartException
-
Constructor for MultipartException.
- MultipartFile - Interface in org.springframework.web.multipart
-
A representation of an uploaded file received in a multipart request.
- MultipartFilter - Class in org.springframework.web.multipart.support
-
Servlet Filter that resolves multipart requests via a
MultipartResolver
. - MultipartFilter() - Constructor for class org.springframework.web.multipart.support.MultipartFilter
- MultipartHttpMessageReader - Class in org.springframework.http.codec.multipart
-
HttpMessageReader
for reading"multipart/form-data"
requests into aMultiValueMap<String, Part>
. - MultipartHttpMessageReader(HttpMessageReader<Part>) - Constructor for class org.springframework.http.codec.multipart.MultipartHttpMessageReader
- MultipartHttpMessageWriter - Class in org.springframework.http.codec.multipart
-
HttpMessageWriter
for writing aMultiValueMap<String, ?>
as multipart form data, i.e. - MultipartHttpMessageWriter() - Constructor for class org.springframework.http.codec.multipart.MultipartHttpMessageWriter
-
Constructor with a default list of part writers (String and Resource).
- MultipartHttpMessageWriter(Supplier<List<HttpMessageWriter<?>>>, HttpMessageWriter<MultiValueMap<String, String>>) - Constructor for class org.springframework.http.codec.multipart.MultipartHttpMessageWriter
-
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<?>>) - Constructor for class org.springframework.http.codec.multipart.MultipartHttpMessageWriter
-
Constructor with explicit list of writers for serializing parts.
- MultipartHttpMessageWriter(List<HttpMessageWriter<?>>, HttpMessageWriter<MultiValueMap<String, String>>) - Constructor for class org.springframework.http.codec.multipart.MultipartHttpMessageWriter
-
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.
- MultipartHttpServletRequest - Interface in org.springframework.web.multipart
-
Provides additional methods for dealing with multipart content within a servlet request, allowing to access uploaded files.
- multipartReader(HttpMessageReader<?>) - Method in interface org.springframework.http.codec.CodecConfigurer.DefaultCodecs
-
Configure the
HttpMessageReader
to use for multipart requests. - MultipartRequest - Interface in org.springframework.web.multipart
-
This interface defines the multipart request access operations that are exposed for actual multipart requests.
- MultipartResolutionDelegate - Class in org.springframework.web.multipart.support
-
A common delegate for
HandlerMethodArgumentResolver
implementations which need to resolveMultipartFile
andPart
arguments. - MultipartResolver - Interface in org.springframework.web.multipart
-
A strategy interface for multipart file upload resolution in accordance with RFC 1867.
- MultipartWriterSupport - Class in org.springframework.http.codec.multipart
-
Support class for multipart HTTP message writers.
- MultipartWriterSupport(List<MediaType>) - Constructor for class org.springframework.http.codec.multipart.MultipartWriterSupport
-
Constructor with the list of supported media types.
- MULTIPLE_CHOICES - Enum constant in enum class org.springframework.http.HttpStatus
-
300 Multiple Choices
. - MULTIPLE_POSSIBLE_METHODS - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MULTIPLY - Enum constant in enum class org.springframework.expression.Operation
-
Multiply operation.
- MultiServerUserRegistry - Class in org.springframework.messaging.simp.user
-
SimpUserRegistry
that looks up users in a "local" user registry as well as a set of "remote" user registries. - MultiServerUserRegistry(SimpUserRegistry) - Constructor for class org.springframework.messaging.simp.user.MultiServerUserRegistry
-
Create an instance wrapping the local user registry.
- multiValue(Class<?>, Supplier<?>) - Static method in class org.springframework.core.ReactiveTypeDescriptor
-
Descriptor for a reactive type that can produce
0..N
values. - MultiValueMap<K,
V> - Interface in org.springframework.util -
Extension of the
Map
interface that stores multiple values. - MultiValueMapAdapter<K,
V> - Class in org.springframework.util -
Adapts a given
Map
to theMultiValueMap
contract. - MultiValueMapAdapter(Map<K, List<V>>) - Constructor for class org.springframework.util.MultiValueMapAdapter
-
Wrap the given target
Map
as aMultiValueMap
adapter. - mustRevalidate() - Method in class org.springframework.http.CacheControl
-
Add a "must-revalidate" directive.
- MutableBindings - Class in org.springframework.r2dbc.core.binding
- MutableBindings(BindMarkers) - Constructor for class org.springframework.r2dbc.core.binding.MutableBindings
-
Create new
MutableBindings
. - MutablePersistenceUnitInfo - Class in org.springframework.orm.jpa.persistenceunit
-
Spring's base implementation of the JPA
PersistenceUnitInfo
interface, used to bootstrap anEntityManagerFactory
in a container. - MutablePersistenceUnitInfo() - Constructor for class org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo
- MutablePropertySources - Class in org.springframework.core.env
-
The default implementation of the
PropertySources
interface. - MutablePropertySources() - Constructor for class org.springframework.core.env.MutablePropertySources
-
Create a new
MutablePropertySources
object. - MutablePropertySources(PropertySources) - Constructor for class org.springframework.core.env.MutablePropertySources
-
Create a new
MutablePropertySources
from the given propertySources object, preserving the original order of containedPropertySource
objects. - MutablePropertyValues - Class in org.springframework.beans
-
The default implementation of the
PropertyValues
interface. - MutablePropertyValues() - Constructor for class org.springframework.beans.MutablePropertyValues
-
Creates a new empty MutablePropertyValues object.
- MutablePropertyValues(List<PropertyValue>) - Constructor for class org.springframework.beans.MutablePropertyValues
-
Construct a new MutablePropertyValues object using the given List of PropertyValue objects as-is.
- MutablePropertyValues(Map<?, ?>) - Constructor for class org.springframework.beans.MutablePropertyValues
-
Construct a new MutablePropertyValues object from a Map.
- MutablePropertyValues(PropertyValues) - Constructor for class org.springframework.beans.MutablePropertyValues
-
Deep copy constructor.
- MutableSortDefinition - Class in org.springframework.beans.support
-
Mutable implementation of the
SortDefinition
interface. - MutableSortDefinition() - Constructor for class org.springframework.beans.support.MutableSortDefinition
-
Create an empty MutableSortDefinition, to be populated via its bean properties.
- MutableSortDefinition(boolean) - Constructor for class org.springframework.beans.support.MutableSortDefinition
-
Create a new MutableSortDefinition.
- MutableSortDefinition(String, boolean, boolean) - Constructor for class org.springframework.beans.support.MutableSortDefinition
-
Create a MutableSortDefinition for the given settings.
- MutableSortDefinition(SortDefinition) - Constructor for class org.springframework.beans.support.MutableSortDefinition
-
Copy constructor: create a new MutableSortDefinition that mirrors the given sort definition.
- mutate() - Method in class org.springframework.http.ResponseCookie
-
Return a builder pre-populated with values from
"this"
instance. - mutate() - Method in interface org.springframework.http.server.reactive.ServerHttpRequest
-
Return a builder to mutate properties of this request by wrapping it with
ServerHttpRequestDecorator
and returning either mutated values or delegating back to this instance. - mutate() - Method in interface org.springframework.messaging.rsocket.RSocketStrategies
-
Return a builder to create a new
RSocketStrategies
instance replicated from the current instance. - mutate() - Method in interface org.springframework.test.web.reactive.server.WebTestClient
-
Return a builder to mutate properties of this web test client.
- mutate() - Method in interface org.springframework.web.client.RestClient
-
Return a builder to create a new
RestClient
whose settings are replicated from thisRestClient
. - mutate() - Method in interface org.springframework.web.reactive.function.client.ClientResponse
-
Return a builder to mutate this response, for example to change the status, headers, cookies, and replace or transform the body.
- mutate() - Method in interface org.springframework.web.reactive.function.client.ExchangeStrategies
-
Return a builder to create a new
ExchangeStrategies
instance replicated from the current instance. - mutate() - Method in interface org.springframework.web.reactive.function.client.WebClient
-
Return a builder to create a new
WebClient
whose settings are replicated from the currentWebClient
. - mutate() - Method in class org.springframework.web.reactive.result.method.RequestMappingInfo
-
Return a builder to create a new RequestMappingInfo by modifying this one.
- mutate() - Method in interface org.springframework.web.server.ServerWebExchange
-
Return a builder to mutate properties of this exchange by wrapping it with
ServerWebExchangeDecorator
and returning either mutated values or delegating back to this instance. - mutate() - Method in class org.springframework.web.servlet.mvc.method.RequestMappingInfo
-
Return a builder to create a new RequestMappingInfo by modifying this one.
- mutateWith(WebTestClientConfigurer) - Method in interface org.springframework.test.web.reactive.server.WebTestClient
-
Mutate the
WebTestClient
, apply the given configurer, and build a new instance. - mv - Variable in class org.springframework.asm.MethodVisitor
-
The method visitor to which this visitor must delegate method calls.
- mv - Variable in class org.springframework.asm.ModuleVisitor
-
The module visitor to which this visitor must delegate method calls.
- MVC_URI_COMPONENTS_CONTRIBUTOR_BEAN_NAME - Static variable in class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
Well-known name for the
CompositeUriComponentsContributor
object in the bean factory. - mvcContentNegotiationManager() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a
ContentNegotiationManager
instance to use to determine requested media types in a given request. - mvcConversionService() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a
FormattingConversionService
for use with annotated controllers. - mvcHandlerMappingIntrospector() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
- MvcNamespaceHandler - Class in org.springframework.web.servlet.config
-
NamespaceHandler
for Spring MVC configuration namespace. - MvcNamespaceHandler() - Constructor for class org.springframework.web.servlet.config.MvcNamespaceHandler
- MvcNamespaceUtils - Class in org.springframework.web.servlet.config
-
Convenience methods for use in MVC namespace BeanDefinitionParsers.
- MvcNamespaceUtils() - Constructor for class org.springframework.web.servlet.config.MvcNamespaceUtils
- mvcPathMatcher() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a global
PathMatcher
instance which is used for URL path matching with String patterns. - mvcPatternParser() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a global
PathPatternParser
instance to use for parsing patterns to match to theRequestPath
. - mvcResourceUrlProvider() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
A
ResourceUrlProvider
bean for use with the MVC dispatcher. - MvcResult - Interface in org.springframework.test.web.servlet
-
Provides access to the result of an executed request.
- MvcTestResult - Interface in org.springframework.test.web.servlet.assertj
-
Provides the result of an executed request using
MockMvcTester
that is meant to be used withassertThat
. - MvcTestResultAssert - Class in org.springframework.test.web.servlet.assertj
-
AssertJ assertions that can be applied to
MvcTestResult
. - MvcUriComponentsBuilder - Class in org.springframework.web.servlet.mvc.method.annotation
-
Creates instances of
UriComponentsBuilder
by pointing to@RequestMapping
methods on Spring MVC controllers. - MvcUriComponentsBuilder(UriComponentsBuilder) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
-
Default constructor.
- MvcUriComponentsBuilder.MethodArgumentBuilder - Class in org.springframework.web.servlet.mvc.method.annotation
-
Builder class to create URLs for method arguments.
- MvcUriComponentsBuilder.MethodInvocationInfo - Interface in org.springframework.web.servlet.mvc.method.annotation
-
Method invocation information.
- mvcUriComponentsContributor(FormattingConversionService, RequestMappingHandlerAdapter) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return an instance of
CompositeUriComponentsContributor
for use withMvcUriComponentsBuilder
. - mvcUrlPathHelper() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a global
UrlPathHelper
instance which is used to resolve the request mapping path for an application. - mvcValidator() - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Return a global
Validator
instance for example for validating@ModelAttribute
and@RequestBody
method arguments. - mvcViewResolver(ContentNegotiationManager) - Method in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
Register a
ViewResolverComposite
that contains a chain of view resolvers to use for view resolution. - MYSQL - Enum constant in enum class org.springframework.orm.jpa.vendor.Database
- MySQLIdentityColumnMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that increments the maximum counter value of an auto-increment column of a given MySQL table. - MySQLIdentityColumnMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.MySQLIdentityColumnMaxValueIncrementer
-
Default constructor for bean property style usage.
- MySQLIdentityColumnMaxValueIncrementer(DataSource, String, String) - Constructor for class org.springframework.jdbc.support.incrementer.MySQLIdentityColumnMaxValueIncrementer
-
Convenience constructor.
- MySQLMaxValueIncrementer - Class in org.springframework.jdbc.support.incrementer
-
DataFieldMaxValueIncrementer
that increments the maximum value of a given MySQL table with the equivalent of an auto-increment column. - MySQLMaxValueIncrementer() - Constructor for class org.springframework.jdbc.support.incrementer.MySQLMaxValueIncrementer
-
Default constructor for bean property style usage.
- MySQLMaxValueIncrementer(DataSource, String, String) - Constructor for class org.springframework.jdbc.support.incrementer.MySQLMaxValueIncrementer
-
Convenience constructor.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
ResultActions.andExpectAll(ResultMatcher...)