A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
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 Velocity 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.
- 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.
- makeObject() - Method in class org.springframework.aop.target.CommonsPool2TargetSource
- makeObject() - Method in class org.springframework.aop.target.CommonsPoolTargetSource
- Deprecated.
- 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 Type 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
attribute. - ManagedAttribute() - Constructor for class org.springframework.jmx.export.metadata.ManagedAttribute
- 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 Type 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 Type 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 Type in org.springframework.jmx.export.annotation
- Type-level annotation that indicates JMX notifications emitted by a bean, containing multiple
ManagedNotifications
. - ManagedOperation - Class in org.springframework.jmx.export.metadata
- Metadata that indicates to expose a given method as JMX operation.
- ManagedOperation - Annotation Type 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 Type 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 Type in org.springframework.jmx.export.annotation
- Method-level annotation used to provide metadata about operation parameters, corresponding to an array of
ManagedOperationParameter
attributes. - 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 Type 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 - 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(Class<?>, TypeDescriptor, TypeDescriptor) - Static method in class org.springframework.core.convert.TypeDescriptor
- Create a new type descriptor from a
Map
type. - MAP - org.springframework.jms.support.converter.MessageType
- 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.
- 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. - 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
- Contains and delegates calls to a
HandlerInterceptor
along with include (and optionally exclude) path patterns to which the interceptor should apply. - MappedInterceptor(String[], String[], WebRequestInterceptor) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
- Create a new MappedInterceptor instance.
- MappedInterceptor(String[], String[], HandlerInterceptor) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
- Create a new MappedInterceptor instance.
- MappedInterceptor(String[], WebRequestInterceptor) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
- Create a new MappedInterceptor instance.
- MappedInterceptor(String[], HandlerInterceptor) - Constructor for class org.springframework.web.servlet.handler.MappedInterceptor
- Create a new MappedInterceptor instance.
- mappedName - Variable in class org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.LookupElement
- mappedObjectNames - Variable in class org.springframework.jmx.support.NotificationListenerHolder
- Mapping - Annotation Type in org.springframework.web.bind.annotation
- Meta annotation that indicates a web mapping annotation.
- MappingCommAreaOperation - Class in org.springframework.jca.cci.object
- EIS operation object for access to COMMAREA records.
- MappingCommAreaOperation() - Constructor for class org.springframework.jca.cci.object.MappingCommAreaOperation
- Create a new MappingCommAreaQuery.
- MappingCommAreaOperation(ConnectionFactory, InteractionSpec) - Constructor for class org.springframework.jca.cci.object.MappingCommAreaOperation
- Create a new MappingCommAreaQuery.
- 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
- MappingJackson2MessageConverter() - Constructor for class org.springframework.messaging.converter.MappingJackson2MessageConverter
- Construct a
MappingJackson2MessageConverter
supporting theapplication/json
MIME type withUTF-8
character set. - MappingJackson2MessageConverter(MimeType...) - Constructor for class org.springframework.messaging.converter.MappingJackson2MessageConverter
- Construct a
MappingJackson2MessageConverter
supporting one or more custom MIME types. - 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
. - 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.servlet.mvc.method.RequestMappingInfo.Builder
- Set the mapping name.
- MappingRecordOperation - Class in org.springframework.jca.cci.object
- EIS operation object that expects mapped input and output objects, converting to and from CCI Records.
- MappingRecordOperation() - Constructor for class org.springframework.jca.cci.object.MappingRecordOperation
- Constructor that allows use as a JavaBean.
- MappingRecordOperation(ConnectionFactory, InteractionSpec) - Constructor for class org.springframework.jca.cci.object.MappingRecordOperation
- Convenient constructor with ConnectionFactory and specifications (connection and interaction).
- MappingRecordOperation.RecordCreatorImpl - Class in org.springframework.jca.cci.object
- Implementation of RecordCreator that calls the enclosing class's
createInputRecord
method. - MappingRecordOperation.RecordExtractorImpl - Class in org.springframework.jca.cci.object
- Implementation of RecordExtractor that calls the enclosing class's
extractOutputData
method. - 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. - 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
- 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.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, ObjectMapper) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
- Deprecated.
- mapToBytesMessage(Object, Session, ObjectWriter) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
- Map the given object to a
BytesMessage
. - mapToMessage(Object, Session, ObjectMapper, MessageType) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
- Deprecated.
- 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, ObjectMapper) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
- Deprecated.
- mapToTextMessage(Object, Session, ObjectWriter) - Method in class org.springframework.jms.support.converter.MappingJackson2MessageConverter
- Map the given object to a
TextMessage
. - 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.
- 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.castor.CastorMarshaller
- Deprecated.
- marshalDomNode(Object, Node) - Method in class org.springframework.oxm.jibx.JibxMarshaller
- 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.xmlbeans.XmlBeansMarshaller
- Deprecated.
- 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.castor.CastorMarshaller
- Deprecated.
- marshalOutputStream(Object, OutputStream) - Method in class org.springframework.oxm.jibx.JibxMarshaller
- 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.xmlbeans.XmlBeansMarshaller
- Deprecated.
- 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.castor.CastorMarshaller
- Deprecated.
- marshalSaxHandlers(Object, ContentHandler, LexicalHandler) - Method in class org.springframework.oxm.jibx.JibxMarshaller
- 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.xmlbeans.XmlBeansMarshaller
- Deprecated.
- 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.castor.CastorMarshaller
- Deprecated.
- marshalWriter(Object, Writer) - Method in class org.springframework.oxm.jibx.JibxMarshaller
- 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.xmlbeans.XmlBeansMarshaller
- Deprecated.
- 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.castor.CastorMarshaller
- Deprecated.
- marshalXmlEventWriter(Object, XMLEventWriter) - Method in class org.springframework.oxm.jibx.JibxMarshaller
- 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.xmlbeans.XmlBeansMarshaller
- Deprecated.
- marshalXmlEventWriter(Object, XMLEventWriter) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
- marshalXmlStreamWriter(Object, XMLStreamWriter) - Method in class org.springframework.oxm.castor.CastorMarshaller
- Deprecated.
- marshalXmlStreamWriter(Object, XMLStreamWriter) - Method in class org.springframework.oxm.jibx.JibxMarshaller
- 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.xmlbeans.XmlBeansMarshaller
- Deprecated.
- marshalXmlStreamWriter(Object, XMLStreamWriter) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
- 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.
- 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(PortletRequest) - Method in interface org.springframework.web.portlet.handler.AbstractMapBasedHandlerMapping.PortletRequestMappingPredicate
- Determine whether the given request matches this predicate.
- 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 given request matches the request criteria.
- match(HttpServletRequest, String) - Method in class org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
- 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 {code 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
. - 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. - 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
- 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
- MatcherAssertionErrors - Class in org.springframework.test.util
- Deprecated.as of Spring 4.2, in favor of the original
MatcherAssert
class with JUnit 4.9 / Hamcrest 1.3 - MatcherAssertionErrors() - Constructor for class org.springframework.test.util.MatcherAssertionErrors
- Deprecated.
- 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(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(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 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<?>) - Method in class org.springframework.cache.jcache.interceptor.JCacheOperationSourcePointcut
- 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 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 enum org.springframework.http.HttpMethod
- Determine whether this
HttpMethod
matches the given method value. - 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
- Determine a match for the given lookup path.
- matches(Properties) - Method in interface org.springframework.beans.factory.config.YamlProcessor.DocumentMatcher
- Test if the given properties match.
- 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(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? - 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.
- 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.
- 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.
- 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
- 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. - 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 super type 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
- MATRIX_VARIABLES_ATTRIBUTE - Static variable in interface org.springframework.web.servlet.HandlerMapping
- Name of the
HttpServletRequest
attribute that contains a map with URI matrix variables. - MatrixVariable - Annotation Type 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.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
- MatrixVariableMethodArgumentResolver - Class in org.springframework.web.servlet.mvc.method.annotation
- Resolves method arguments annotated with
@MatrixVariable
. - MatrixVariableMethodArgumentResolver() - Constructor for class org.springframework.web.servlet.mvc.method.annotation.MatrixVariableMethodArgumentResolver
- max(int) - Static method in class org.springframework.test.web.client.ExpectedCount
- At most
max
number of times. - 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. - MAX_FORWARDS - Static variable in class org.springframework.http.HttpHeaders
- The HTTP
Max-Forwards
header field name. - maxAge() - Method in annotation type org.springframework.web.bind.annotation.CrossOrigin
- The maximum age (in seconds) of the cache duration for pre-flight responses.
- 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 value.
- maxAge(String, Matcher<? super Integer>) - Method in class org.springframework.test.web.servlet.result.CookieResultMatchers
- Assert a cookie's maxAge with a Hamcrest
Matcher
. - 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.
- MBEAN_APPLICATION_KEY - Static variable in class org.springframework.context.support.LiveBeansView
- MBEAN_DOMAIN_PROPERTY_NAME - Static variable in class org.springframework.context.support.LiveBeansView
- 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
- MBeanExportConfiguration.SpecificPlatform - Enum in org.springframework.context.annotation
- 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 anMBeanServer
reference through the standard JMX 1.2MBeanServerFactory
API (which is available on JDK 1.5 or as part of a JMX 1.2 provider).- 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.
- 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 - 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. - MediaTypeEditor - Class in org.springframework.http
- MediaTypeEditor() - Constructor for class org.springframework.http.MediaTypeEditor
- MediaTypeExpression - Interface in org.springframework.web.servlet.mvc.condition
- A contract for media type expressions (e.g.
- MediaTypeFileExtensionResolver - Interface in org.springframework.web.accept
- Strategy to resolve
MediaType
to a list of file extensions. - mediaTypes(Map<String, MediaType>) - Method in class org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer
- member - Variable in class org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
- member - Variable in class org.springframework.expression.spel.support.ReflectivePropertyAccessor.OptimalPropertyAccessor
- The member being accessed.
- 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.MockHttpServletRequestBuilder
- 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.MockMultipartHttpServletRequestBuilder
- merge(String, T) - Method in interface org.springframework.orm.hibernate3.HibernateOperations
- Deprecated.Copy the state of the given object onto the persistent object with the same identifier.
- merge(String, T) - Method in class org.springframework.orm.hibernate3.HibernateTemplate
- Deprecated.
- merge(String, T) - Method in interface org.springframework.orm.hibernate4.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.hibernate4.HibernateTemplate
- 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(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(T) - Method in interface org.springframework.orm.hibernate3.HibernateOperations
- Deprecated.Copy the state of the given object onto the persistent object with the same identifier.
- merge(T) - Method in class org.springframework.orm.hibernate3.HibernateTemplate
- Deprecated.
- merge(T) - Method in interface org.springframework.orm.hibernate4.HibernateOperations
- Copy the state of the given object onto the persistent object with the same identifier.
- merge(T) - Method in class org.springframework.orm.hibernate4.HibernateTemplate
- 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_ATTRIBUTE - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- MERGE_WITH_DEFAULTS - 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.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. - 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 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<? extends ConfigurableApplicationContext>>>, String[], String[], 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<? extends ConfigurableApplicationContext>>>, String[], String[], String[], 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<? extends ConfigurableApplicationContext>>>, 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<? extends ConfigurableApplicationContext>>>, 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() - Method in annotation type 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. - 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.
- 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
- mergeStringArrays(String[], String[]) - Static method in class org.springframework.util.StringUtils
- Deprecated.as of 4.3.15, in favor of manual merging via
LinkedHashSet
(with every entry included at most once, even entries within the first array) - mergeTemplate(VelocityEngine, String, String, Map<String, Object>, Writer) - Static method in class org.springframework.ui.velocity.VelocityEngineUtils
- Deprecated.Merge the specified Velocity template with the given model and write the result to the given Writer.
- mergeTemplate(VelocityEngine, String, Map<String, Object>, Writer) - Static method in class org.springframework.ui.velocity.VelocityEngineUtils
- Deprecated.Use
VelocityEngineUtils.mergeTemplate(VelocityEngine, String, String, Map, Writer)
instead, following Velocity 1.6's corresponding deprecation in its own API. - mergeTemplate(Template, Context, HttpServletResponse) - Method in class org.springframework.web.servlet.view.velocity.VelocityView
- Deprecated.Merge the template with the context.
- mergeTemplateIntoString(VelocityEngine, String, String, Map<String, Object>) - Static method in class org.springframework.ui.velocity.VelocityEngineUtils
- Deprecated.Merge the specified Velocity template with the given model into a String.
- mergeTemplateIntoString(VelocityEngine, String, Map<String, Object>) - Static method in class org.springframework.ui.velocity.VelocityEngineUtils
- Deprecated.Use
VelocityEngineUtils.mergeTemplateIntoString(VelocityEngine, String, String, Map)
instead, following Velocity 1.6's corresponding deprecation in its own API. - Message<T> - Interface in org.springframework.messaging
- A generic message representation with headers and body.
- MESSAGE - org.springframework.messaging.simp.SimpMessageType
- MESSAGE - org.springframework.messaging.simp.stomp.StompCommand
- MESSAGE - 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_SOURCE_BEAN_NAME - Static variable in class org.springframework.context.support.AbstractApplicationContext
- Name of the MessageSource bean in the factory.
- 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
- 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 Type 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
- 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
- A base for classes providing strongly typed getters and setters as well as behavior around specific categories of headers (e.g.
- 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 Type in org.springframework.messaging.handler.annotation
- Annotation for mapping a
Message
onto message-handling methods by matching to the message destination. - 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 convert 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. - 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
- Custom JSP tag to look up a message in the scope of this page.
- MessageTag() - Constructor for class org.springframework.web.servlet.tags.MessageTag
- MessageType - Enum in org.springframework.jms.support.converter
- Constants that indicate a target message type to convert to: a
TextMessage
, aBytesMessage
, aMapMessage
or anObjectMessage
. - 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
- metaAnnotationMap - Variable in class org.springframework.core.type.classreading.AnnotationMetadataReadingVisitor
- metaAnnotationMap - Variable in class org.springframework.core.type.classreading.MethodMetadataReadingVisitor
- MetaAnnotationUtils - Class in org.springframework.test.util
MetaAnnotationUtils
is a collection of utility methods that complements the standard support already available inAnnotationUtils
.- MetaAnnotationUtils() - Constructor for class org.springframework.test.util.MetaAnnotationUtils
- MetaAnnotationUtils.AnnotationDescriptor<T extends Annotation> - Class in org.springframework.test.util
- Descriptor for an
Annotation
, including the class on which the annotation is declared as well as the actual annotation instance. - MetaAnnotationUtils.UntypedAnnotationDescriptor - Class in org.springframework.test.util
- Untyped extension of
AnnotationDescriptor
that is used to describe the declaration of one of several candidate annotation types where the actual annotation type cannot be predetermined. - 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.
- 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.
- 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
. - 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.
- method - Variable in class org.springframework.aop.framework.ReflectiveMethodInvocation
- method() - Method in annotation type 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) - Method in class org.springframework.test.web.servlet.result.HandlerResultMatchers
- Assert the controller method used to process the request.
- method(HttpMethod) - Static method in class org.springframework.test.web.client.match.MockRestRequestMatchers
- Assert the
HttpMethod
of the request. - method(HttpMethod, URI) - Static method in class org.springframework.http.RequestEntity
- Create a builder with the given method and url.
- METHOD - Static variable in class org.springframework.asm.Type
- The sort of method types.
- METHOD_CALL_ON_NULL_OBJECT_NOT_ALLOWED - org.springframework.expression.spel.SpelMessage
- METHOD_FAILURE - 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 - org.springframework.http.HttpStatus
405 Method Not Allowed
.- METHOD_NOT_FOUND - 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_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
- MethodArgumentBuilder(Method) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodArgumentBuilder
- Deprecated.as of 4.2, this is deprecated in favor of alternative constructors that accept a controllerType argument
- MethodArgumentBuilder(UriComponentsBuilder, Class<?>, Method) - Constructor for class org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodArgumentBuilder
- 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. - 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
- 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 am
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.
- 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
- MethodExecutors are built by the resolvers and can be cached by the infrastructure to repeat an operation quickly without going back to the resolvers.
- MethodFilter - Interface in org.springframework.expression
- MethodFilter instances allow SpEL users to fine tune the behaviour of the method resolution process.
- 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.
- MethodInterceptor - Interface in org.aopalliance.intercept
- Intercepts calls on an interface on its way to the target.
- 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() - Constructor for class org.springframework.core.MethodIntrospector
- 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.
- 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() - 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 class, in a form that does not require that class to be loaded yet.
- MethodMetadataReadingVisitor - Class in org.springframework.core.type.classreading
- ASM method visitor which looks for the annotations defined on a method, exposing them through the
MethodMetadata
interface. - MethodMetadataReadingVisitor(String, int, String, String, ClassLoader, Set<MethodMetadata>) - Constructor for class org.springframework.core.type.classreading.MethodMetadataReadingVisitor
- methodMetadataSet - Variable in class org.springframework.core.type.classreading.AnnotationMetadataReadingVisitor
- methodMetadataSet - Variable in class org.springframework.core.type.classreading.MethodMetadataReadingVisitor
- methodMode() - Method in annotation type org.springframework.test.annotation.DirtiesContext
- The mode to use when a test method is annotated with
@DirtiesContext
. - methodName - Variable in class org.springframework.core.type.classreading.MethodMetadataReadingVisitor
- 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
- MethodNameResolver - Interface in org.springframework.web.servlet.mvc.multiaction
- Deprecated.as of 4.3, in favor of annotation-driven handler methods
- 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.
- MethodReference - Class in org.springframework.expression.spel.ast
- Expression language AST node that represents a method reference.
- MethodReference(boolean, String, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.MethodReference
- 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 locate a method and returns a command executor that can be used to invoke that method.
- methods() - Method in annotation type org.springframework.web.bind.annotation.CrossOrigin
- List of supported HTTP request methods, e.g.
- methods(RequestMethod...) - Method in interface org.springframework.web.servlet.mvc.method.RequestMappingInfo.Builder
- Set the request method conditions.
- 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.
- 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
- 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
. - metricType() - Method in annotation type org.springframework.jmx.export.annotation.ManagedMetric
- MetricType - Enum in org.springframework.jmx.support
- Represents how the measurement values of a
ManagedMetric
will change over time. - millis() - Method in annotation type 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.
- MillisecondInstantPrinter - Class in org.springframework.format.datetime.joda
- Prints Long instances using a Joda
DateTimeFormatter
. - MillisecondInstantPrinter(DateTimeFormatter) - Constructor for class org.springframework.format.datetime.joda.MillisecondInstantPrinter
- Create a new ReadableInstantPrinter.
- 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, 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
- 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.
- MISSING_ARRAY_DIMENSION - org.springframework.expression.spel.SpelMessage
- MISSING_CHARACTER - org.springframework.expression.spel.SpelMessage
- MISSING_CONSTRUCTOR_ARGS - 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 - org.springframework.expression.spel.SpelMessage
- MISSING_SELECTION_EXPRESSION - org.springframework.expression.spel.SpelMessage
- 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.
- MissingPortletRequestParameterException - Exception in org.springframework.web.portlet.bind
PortletRequestBindingException
subclass that indicates a missing parameter.- MissingPortletRequestParameterException(String, String) - Constructor for exception org.springframework.web.portlet.bind.MissingPortletRequestParameterException
- Constructor for MissingPortletRequestParameterException.
- 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.
- MissingServletRequestPartException - Exception in org.springframework.web.multipart.support
- Raised when the part of a "multipart/form-data" request identified by its name cannot 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
- MissingSessionUserException(Message<?>) - Constructor for exception org.springframework.messaging.simp.annotation.support.MissingSessionUserException
- MIXED - 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.
- 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. - MockActionRequest - Class in org.springframework.mock.web.portlet
- Mock implementation of the
ActionRequest
interface. - MockActionRequest() - Constructor for class org.springframework.mock.web.portlet.MockActionRequest
- Create a new MockActionRequest with a default
MockPortalContext
and a defaultMockPortletContext
. - MockActionRequest(String) - Constructor for class org.springframework.mock.web.portlet.MockActionRequest
- Create a new MockActionRequest with a default
MockPortalContext
and a defaultMockPortletContext
. - MockActionRequest(PortalContext, PortletContext) - Constructor for class org.springframework.mock.web.portlet.MockActionRequest
- Create a new MockActionRequest.
- MockActionRequest(PortletContext) - Constructor for class org.springframework.mock.web.portlet.MockActionRequest
- Create a new MockActionRequest with a default
MockPortalContext
. - MockActionRequest(PortletMode) - Constructor for class org.springframework.mock.web.portlet.MockActionRequest
- Create a new MockActionRequest with a default
MockPortalContext
and a defaultMockPortletContext
. - MockActionResponse - Class in org.springframework.mock.web.portlet
- Mock implementation of the
ActionResponse
interface. - MockActionResponse() - Constructor for class org.springframework.mock.web.portlet.MockActionResponse
- Create a new MockActionResponse with a default
MockPortalContext
. - MockActionResponse(PortalContext) - Constructor for class org.springframework.mock.web.portlet.MockActionResponse
- Create a new MockActionResponse.
- MockAsyncClientHttpRequest - Class in org.springframework.mock.http.client
- An extension of
MockClientHttpRequest
that also implementsAsyncClientHttpRequest
by wrapping the response in aSettableListenableFuture
. - MockAsyncClientHttpRequest() - Constructor for class org.springframework.mock.http.client.MockAsyncClientHttpRequest
- MockAsyncClientHttpRequest(HttpMethod, URI) - Constructor for class org.springframework.mock.http.client.MockAsyncClientHttpRequest
- MockAsyncContext - Class in org.springframework.mock.web
- Mock implementation of the
AsyncContext
interface. - MockAsyncContext(ServletRequest, ServletResponse) - Constructor for class org.springframework.mock.web.MockAsyncContext
- MockBaseURL - Class in org.springframework.mock.web.portlet
- Mock implementation of the
BaseURL
interface. - MockBaseURL() - Constructor for class org.springframework.mock.web.portlet.MockBaseURL
- MockBodyContent - Class in org.springframework.mock.web
- Mock implementation of the
BodyContent
class. - MockBodyContent(String, Writer) - Constructor for class org.springframework.mock.web.MockBodyContent
- Create a MockBodyContent for the given response.
- 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.
- MockCacheControl - Class in org.springframework.mock.web.portlet
- Mock implementation of the
CacheControl
interface. - MockCacheControl() - Constructor for class org.springframework.mock.web.portlet.MockCacheControl
- MockClientDataRequest - Class in org.springframework.mock.web.portlet
- Mock implementation of the
ClientDataRequest
interface. - MockClientDataRequest() - Constructor for class org.springframework.mock.web.portlet.MockClientDataRequest
- Create a new MockClientDataRequest with a default
MockPortalContext
and a defaultMockPortletContext
. - MockClientDataRequest(PortalContext, PortletContext) - Constructor for class org.springframework.mock.web.portlet.MockClientDataRequest
- Create a new MockClientDataRequest.
- MockClientDataRequest(PortletContext) - Constructor for class org.springframework.mock.web.portlet.MockClientDataRequest
- Create a new MockClientDataRequest with a default
MockPortalContext
. - MockClientHttpRequest - Class in org.springframework.mock.http.client
- Mock implementation of
ClientHttpRequest
. - MockClientHttpRequest() - Constructor for class org.springframework.mock.http.client.MockClientHttpRequest
- Default constructor.
- MockClientHttpRequest(HttpMethod, URI) - Constructor for class org.springframework.mock.http.client.MockClientHttpRequest
- Create an instance with the given HttpMethod and URI.
- MockClientHttpResponse - Class in org.springframework.mock.http.client
- Mock implementation of
ClientHttpResponse
. - MockClientHttpResponse(byte[], HttpStatus) - Constructor for class org.springframework.mock.http.client.MockClientHttpResponse
- Constructor with response body as a byte array.
- MockClientHttpResponse(InputStream, HttpStatus) - Constructor for class org.springframework.mock.http.client.MockClientHttpResponse
- Constructor with response body as InputStream.
- MockEnvironment - Class in org.springframework.mock.env
- Simple
ConfigurableEnvironment
implementation exposingMockEnvironment.setProperty(String, String)
andMockEnvironment.withProperty(String, String)
methods for testing purposes. - MockEnvironment() - Constructor for class org.springframework.mock.env.MockEnvironment
- Create a new
MockEnvironment
with a singleMockPropertySource
. - MockEvent - Class in org.springframework.mock.web.portlet
- Mock implementation of the
Event
interface. - MockEvent(String) - Constructor for class org.springframework.mock.web.portlet.MockEvent
- Create a new MockEvent with the given name.
- MockEvent(String, Serializable) - Constructor for class org.springframework.mock.web.portlet.MockEvent
- Create a new MockEvent with the given name and value.
- MockEvent(QName) - Constructor for class org.springframework.mock.web.portlet.MockEvent
- Create a new MockEvent with the given name.
- MockEvent(QName, Serializable) - Constructor for class org.springframework.mock.web.portlet.MockEvent
- Create a new MockEvent with the given name and value.
- MockEventRequest - Class in org.springframework.mock.web.portlet
- Mock implementation of the
EventRequest
interface. - MockEventRequest(Event) - Constructor for class org.springframework.mock.web.portlet.MockEventRequest
- Create a new MockEventRequest with a default
MockPortalContext
and a defaultMockPortletContext
. - MockEventRequest(Event, PortalContext, PortletContext) - Constructor for class org.springframework.mock.web.portlet.MockEventRequest
- Create a new MockEventRequest.
- MockEventRequest(Event, PortletContext) - Constructor for class org.springframework.mock.web.portlet.MockEventRequest
- Create a new MockEventRequest with a default
MockPortalContext
. - MockEventResponse - Class in org.springframework.mock.web.portlet
- Mock implementation of the
EventResponse
interface. - MockEventResponse() - Constructor for class org.springframework.mock.web.portlet.MockEventResponse
- MockExpressionEvaluator - Class in org.springframework.mock.web
- Mock implementation of the JSP 2.0
ExpressionEvaluator
interface, delegating to the Apache JSTL ExpressionEvaluatorManager. - MockExpressionEvaluator(PageContext) - Constructor for class org.springframework.mock.web.MockExpressionEvaluator
- Create a new MockExpressionEvaluator for the given PageContext.
- MockFilterChain - Class in org.springframework.mock.web
- Mock implementation of the
FilterChain
interface. - MockFilterChain() - Constructor for class org.springframework.mock.web.MockFilterChain
- Register a single do-nothing
Filter
implementation. - MockFilterChain(Servlet) - Constructor for class org.springframework.mock.web.MockFilterChain
- Create a FilterChain with a Servlet.
- MockFilterChain(Servlet, Filter...) - Constructor for class org.springframework.mock.web.MockFilterChain
- Create a
FilterChain
with Filter's and a Servlet. - 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(String) - 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.
- MockHttpInputMessage - Class in org.springframework.mock.http
- Mock implementation of
HttpInputMessage
. - MockHttpInputMessage(byte[]) - Constructor for class org.springframework.mock.http.MockHttpInputMessage
- MockHttpInputMessage(InputStream) - Constructor for class org.springframework.mock.http.MockHttpInputMessage
- MockHttpOutputMessage - Class in org.springframework.mock.http
- Mock implementation of
HttpOutputMessage
. - MockHttpOutputMessage() - Constructor for class org.springframework.mock.http.MockHttpOutputMessage
- 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(String, String) - 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
- 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.
- MockJspWriter - Class in org.springframework.mock.web
- Mock implementation of the
JspWriter
class. - MockJspWriter(Writer) - Constructor for class org.springframework.mock.web.MockJspWriter
- Create a MockJspWriter for the given plain Writer.
- 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.
- MockMimeResponse - Class in org.springframework.mock.web.portlet
- Mock implementation of the
MimeResponse
interface. - MockMimeResponse() - Constructor for class org.springframework.mock.web.portlet.MockMimeResponse
- Create a new MockMimeResponse with a default
MockPortalContext
. - MockMimeResponse(PortalContext) - Constructor for class org.springframework.mock.web.portlet.MockMimeResponse
- Create a new MockMimeResponse.
- MockMimeResponse(PortalContext, PortletRequest) - Constructor for class org.springframework.mock.web.portlet.MockMimeResponse
- Create a new MockMimeResponse.
- MockMultipartActionRequest - Class in org.springframework.mock.web.portlet
- Mock implementation of the
MultipartActionRequest
interface. - MockMultipartActionRequest() - Constructor for class org.springframework.mock.web.portlet.MockMultipartActionRequest
- 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
MockMvcBuilder
s. - MockMvcBuilders() - Constructor for class org.springframework.test.web.servlet.setup.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
- Allows a sub-class to encapsulate logic for pre-configuring a
ConfigurableMockMvcBuilder
for some specific purpose. - 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
- 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. - 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) - Constructor for class org.springframework.test.web.servlet.htmlunit.MockMvcWebConnection
- Deprecated.
- 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.
- MockMvcWebConnection(MockMvc, String) - Constructor for class org.springframework.test.web.servlet.htmlunit.MockMvcWebConnection
- Deprecated.
- 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
. - 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
javax.servlet.http.Part
. - MockPart(String, byte[]) - Constructor for class org.springframework.mock.web.MockPart
- Constructor for a part with byte[] content only.
- MockPart(String, String, byte[]) - Constructor for class org.springframework.mock.web.MockPart
- Constructor for a part with a filename and byte[] content.
- MockPortalContext - Class in org.springframework.mock.web.portlet
- Mock implementation of the
PortalContext
interface. - MockPortalContext() - Constructor for class org.springframework.mock.web.portlet.MockPortalContext
- Create a new MockPortalContext with default PortletModes (VIEW, EDIT, HELP) and default WindowStates (NORMAL, MAXIMIZED, MINIMIZED).
- MockPortalContext(List<PortletMode>, List<WindowState>) - Constructor for class org.springframework.mock.web.portlet.MockPortalContext
- Create a new MockPortalContext with the given PortletModes and WindowStates.
- MockPortletConfig - Class in org.springframework.mock.web.portlet
- Mock implementation of the
PortletConfig
interface. - MockPortletConfig() - Constructor for class org.springframework.mock.web.portlet.MockPortletConfig
- Create a new MockPortletConfig with a default
MockPortletContext
. - MockPortletConfig(String) - Constructor for class org.springframework.mock.web.portlet.MockPortletConfig
- Create a new MockPortletConfig with a default
MockPortletContext
. - MockPortletConfig(PortletContext) - Constructor for class org.springframework.mock.web.portlet.MockPortletConfig
- Create a new MockPortletConfig.
- MockPortletConfig(PortletContext, String) - Constructor for class org.springframework.mock.web.portlet.MockPortletConfig
- Create a new MockPortletConfig.
- MockPortletContext - Class in org.springframework.mock.web.portlet
- Mock implementation of the
PortletContext
interface. - MockPortletContext() - Constructor for class org.springframework.mock.web.portlet.MockPortletContext
- Create a new MockPortletContext with no base path and a DefaultResourceLoader (i.e.
- MockPortletContext(String) - Constructor for class org.springframework.mock.web.portlet.MockPortletContext
- Create a new MockPortletContext using a DefaultResourceLoader.
- MockPortletContext(String, ResourceLoader) - Constructor for class org.springframework.mock.web.portlet.MockPortletContext
- Create a new MockPortletContext.
- MockPortletContext(ResourceLoader) - Constructor for class org.springframework.mock.web.portlet.MockPortletContext
- Create a new MockPortletContext, using the specified ResourceLoader and no base path.
- MockPortletPreferences - Class in org.springframework.mock.web.portlet
- Mock implementation of the
PortletPreferences
interface. - MockPortletPreferences() - Constructor for class org.springframework.mock.web.portlet.MockPortletPreferences
- MockPortletRequest - Class in org.springframework.mock.web.portlet
- Mock implementation of the
PortletRequest
interface. - MockPortletRequest() - Constructor for class org.springframework.mock.web.portlet.MockPortletRequest
- Create a new MockPortletRequest with a default
MockPortalContext
and a defaultMockPortletContext
. - MockPortletRequest(PortalContext, PortletContext) - Constructor for class org.springframework.mock.web.portlet.MockPortletRequest
- Create a new MockPortletRequest.
- MockPortletRequest(PortletContext) - Constructor for class org.springframework.mock.web.portlet.MockPortletRequest
- Create a new MockPortletRequest with a default
MockPortalContext
. - MockPortletRequestDispatcher - Class in org.springframework.mock.web.portlet
- Mock implementation of the
PortletRequestDispatcher
interface. - MockPortletRequestDispatcher(String) - Constructor for class org.springframework.mock.web.portlet.MockPortletRequestDispatcher
- Create a new MockPortletRequestDispatcher for the given URL.
- MockPortletResponse - Class in org.springframework.mock.web.portlet
- Mock implementation of the
PortletResponse
interface. - MockPortletResponse() - Constructor for class org.springframework.mock.web.portlet.MockPortletResponse
- Create a new MockPortletResponse with a default
MockPortalContext
. - MockPortletResponse(PortalContext) - Constructor for class org.springframework.mock.web.portlet.MockPortletResponse
- Create a new MockPortletResponse.
- MockPortletSession - Class in org.springframework.mock.web.portlet
- Mock implementation of the
PortletSession
interface. - MockPortletSession() - Constructor for class org.springframework.mock.web.portlet.MockPortletSession
- Create a new MockPortletSession with a default
MockPortletContext
. - MockPortletSession(PortletContext) - Constructor for class org.springframework.mock.web.portlet.MockPortletSession
- Create a new MockPortletSession.
- MockPortletURL - Class in org.springframework.mock.web.portlet
- Mock implementation of the
PortletURL
interface. - MockPortletURL(PortalContext, String) - Constructor for class org.springframework.mock.web.portlet.MockPortletURL
- Create a new MockPortletURL for the given URL 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
- MockRenderRequest - Class in org.springframework.mock.web.portlet
- Mock implementation of the
RenderRequest
interface. - MockRenderRequest() - Constructor for class org.springframework.mock.web.portlet.MockRenderRequest
- Create a new MockRenderRequest with a default
MockPortalContext
and a defaultMockPortletContext
. - MockRenderRequest(PortalContext, PortletContext) - Constructor for class org.springframework.mock.web.portlet.MockRenderRequest
- Create a new MockRenderRequest.
- MockRenderRequest(PortletContext) - Constructor for class org.springframework.mock.web.portlet.MockRenderRequest
- Create a new MockRenderRequest with a default
MockPortalContext
. - MockRenderRequest(PortletMode) - Constructor for class org.springframework.mock.web.portlet.MockRenderRequest
- Create a new MockRenderRequest with a default
MockPortalContext
and a defaultMockPortletContext
. - MockRenderRequest(PortletMode, WindowState) - Constructor for class org.springframework.mock.web.portlet.MockRenderRequest
- Create a new MockRenderRequest with a default
MockPortalContext
and a defaultMockPortletContext
. - MockRenderResponse - Class in org.springframework.mock.web.portlet
- Mock implementation of the
RenderResponse
interface. - MockRenderResponse() - Constructor for class org.springframework.mock.web.portlet.MockRenderResponse
- Create a new MockRenderResponse with a default
MockPortalContext
. - MockRenderResponse(PortalContext) - Constructor for class org.springframework.mock.web.portlet.MockRenderResponse
- Create a new MockRenderResponse.
- MockRenderResponse(PortalContext, RenderRequest) - Constructor for class org.springframework.mock.web.portlet.MockRenderResponse
- Create a new MockRenderResponse.
- 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.
- MockResourceRequest - Class in org.springframework.mock.web.portlet
- Mock implementation of the
ResourceRequest
interface. - MockResourceRequest() - Constructor for class org.springframework.mock.web.portlet.MockResourceRequest
- Create a new MockResourceRequest with a default
MockPortalContext
and a defaultMockPortletContext
. - MockResourceRequest(String) - Constructor for class org.springframework.mock.web.portlet.MockResourceRequest
- Create a new MockResourceRequest with a default
MockPortalContext
and a defaultMockPortletContext
. - MockResourceRequest(PortalContext, PortletContext) - Constructor for class org.springframework.mock.web.portlet.MockResourceRequest
- Create a new MockResourceRequest.
- MockResourceRequest(PortletContext) - Constructor for class org.springframework.mock.web.portlet.MockResourceRequest
- Create a new MockResourceRequest with a default
MockPortalContext
. - MockResourceRequest(MockResourceURL) - Constructor for class org.springframework.mock.web.portlet.MockResourceRequest
- Create a new MockResourceRequest with a default
MockPortalContext
and a defaultMockPortletContext
. - MockResourceResponse - Class in org.springframework.mock.web.portlet
- Mock implementation of the
ResourceResponse
interface. - MockResourceResponse() - Constructor for class org.springframework.mock.web.portlet.MockResourceResponse
- MockResourceURL - Class in org.springframework.mock.web.portlet
- Mock implementation of the
ResourceURL
interface. - MockResourceURL() - Constructor for class org.springframework.mock.web.portlet.MockResourceURL
- 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 for obtaining a
ResponseCreator
instance. - 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
. - 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(String) - 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.
- 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
- MockStateAwareResponse - Class in org.springframework.mock.web.portlet
- Mock implementation of the
StateAwareResponse
interface. - MockStateAwareResponse() - Constructor for class org.springframework.mock.web.portlet.MockStateAwareResponse
- Create a new MockActionResponse with a default
MockPortalContext
. - MockStateAwareResponse(PortalContext) - Constructor for class org.springframework.mock.web.portlet.MockStateAwareResponse
- Create a new MockActionResponse.
- MockStaticEntityMethods - Annotation Type in org.springframework.mock.staticmock
- Deprecated.as of Spring 4.3, in favor of a custom aspect for such purposes
- mode() - Method in annotation type org.springframework.cache.annotation.EnableCaching
- Indicate how caching advice should be applied.
- mode() - Method in annotation type org.springframework.scheduling.annotation.EnableAsync
- Indicate how async advice should be applied.
- mode() - Method in annotation type org.springframework.transaction.annotation.EnableTransactionManagement
- Indicate how transactional advice should be applied.
- model() - Static method in class org.springframework.test.web.servlet.result.MockMvcResultMatchers
- Access to model-related assertions.
- Model - Interface in org.springframework.ui
- Java-5-specific interface that defines a holder for model attributes.
- MODEL_ATTRIBUTE - Static variable in class org.springframework.web.servlet.ViewRendererServlet
- Name of request attribute that holds the model Map
- 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.portlet
- Holder for both Model and View in the web MVC framework.
- 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.portlet.ModelAndView
- Default constructor for bean-style usage: populating bean properties instead of passing in constructor arguments.
- 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(Object) - Constructor for class org.springframework.web.portlet.ModelAndView
- Convenient constructor when there is no model data to expose.
- ModelAndView(Object, String, Object) - Constructor for class org.springframework.web.portlet.ModelAndView
- Convenient constructor to take a single model object.
- ModelAndView(Object, Map<String, ?>) - Constructor for class org.springframework.web.portlet.ModelAndView
- Create a new ModelAndView given a View object and a model.
- ModelAndView(String) - Constructor for class org.springframework.web.portlet.ModelAndView
- Convenient constructor when there is no model data to expose.
- 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.portlet.ModelAndView
- Convenient constructor to take a single model object.
- 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.portlet.ModelAndView
- Create a new ModelAndView given a view name and a model.
- 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, ?>, HttpStatus) - Constructor for class org.springframework.web.servlet.ModelAndView
- Create a new ModelAndView given a view name, model, and HTTP status.
- ModelAndView(String, HttpStatus) - 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
HandlerMethodArgumentResolver
s andHandlerMethodReturnValueHandler
s 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.portlet
- Exception to be thrown on error conditions that should forward to a specific view with a specific model.
- 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.portlet.ModelAndViewDefiningException
- Create new ModelAndViewDefiningException with the given ModelAndView, typically representing a specific error page.
- 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.
- ModelAttribute - Annotation Type 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.
- 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.
- 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
. - 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.
- 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.
- modules(Module...) - Method in class org.springframework.http.converter.json.Jackson2ObjectMapperBuilder
- Specify one or more modules to be registered with the
ObjectMapper
. - modules(List<Module>) - Method in class org.springframework.http.converter.json.Jackson2ObjectMapperBuilder
- Set a complete list of modules to be registered with the
ObjectMapper
. - 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
. - ModuleVisitor - Class in org.springframework.asm
- A visitor to visit a Java module.
- ModuleVisitor(int) - Constructor for class org.springframework.asm.ModuleVisitor
- ModuleVisitor(int, ModuleVisitor) - Constructor for class org.springframework.asm.ModuleVisitor
- Constructs a new
MethodVisitor
. - MODULUS - org.springframework.expression.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.
- monitor(Object, WeakReferenceMonitor.ReleaseListener) - Static method in class org.springframework.util.WeakReferenceMonitor
- Deprecated.Start to monitor given handle object for becoming weakly reachable.
- MONITORENTER - Static variable in interface org.springframework.asm.Opcodes
- MONITOREXIT - Static variable in interface org.springframework.asm.Opcodes
- MORE_INPUT - org.springframework.expression.spel.SpelMessage
- MOVED_PERMANENTLY - org.springframework.http.HttpStatus
301 Moved Permanently
.- MOVED_TEMPORARILY - org.springframework.http.HttpStatus
- Deprecated.in favor of
HttpStatus.FOUND
which will be returned fromHttpStatus.valueOf(302)
- MULTI_STATUS - org.springframework.http.HttpStatus
207 Multi-Status
.- MULTI_VALUE_ATTRIBUTE_DELIMITERS - Static variable in class org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
- MultiActionController - Class in org.springframework.web.servlet.mvc.multiaction
- Deprecated.as of 4.3, in favor of annotation-driven handler methods
- MultiActionController() - Constructor for class org.springframework.web.servlet.mvc.multiaction.MultiActionController
- Deprecated.Constructor for
MultiActionController
that looks for handler methods in the present subclass. - MultiActionController(Object) - Constructor for class org.springframework.web.servlet.mvc.multiaction.MultiActionController
- Deprecated.Constructor for
MultiActionController
that looks for handler methods in delegate, rather than a subclass of this class. - MULTIANEWARRAY - Static variable in interface org.springframework.asm.Opcodes
- 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 - org.springframework.expression.spel.SpelMessage
- MULTIPART_FORM_DATA - Static variable in class org.springframework.http.MediaType
- Public constant media type for
multipart/form-data
. - MULTIPART_FORM_DATA - Static variable in class org.springframework.util.MimeTypeUtils
- Deprecated.as of 4.3.6, in favor of
MediaType
constants - MULTIPART_FORM_DATA_VALUE - Static variable in class org.springframework.http.MediaType
- A String equivalent of
MediaType.MULTIPART_FORM_DATA
. - MULTIPART_FORM_DATA_VALUE - Static variable in class org.springframework.util.MimeTypeUtils
- Deprecated.as of 4.3.6, in favor of
MediaType
constants - 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_RESOLVER_BEAN_NAME - Static variable in class org.springframework.web.portlet.DispatcherPortlet
- Well-known name for the PortletMultipartResolver object in the bean factory for this namespace.
- 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.
- MultipartActionRequest - Interface in org.springframework.web.portlet.multipart
- Interface which provides additional methods for dealing with multipart content within a portlet request, allowing to access uploaded files.
- 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
- MultipartHttpServletRequest - Interface in org.springframework.web.multipart
- Provides additional methods for dealing with multipart content within a servlet request, allowing to access uploaded files.
- MultipartParsingResult(MultiValueMap<String, MultipartFile>, Map<String, String[]>, Map<String, String>) - Constructor for class org.springframework.web.multipart.commons.CommonsFileUploadSupport.MultipartParsingResult
- 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. - MultipartResolutionDelegate() - Constructor for class org.springframework.web.multipart.support.MultipartResolutionDelegate
- MultipartResolver - Interface in org.springframework.web.multipart
- A strategy interface for multipart file upload resolution in accordance with RFC 1867.
- MULTIPLE_CHOICES - org.springframework.http.HttpStatus
300 Multiple Choices
.- MULTIPLE_POSSIBLE_METHODS - org.springframework.expression.spel.SpelMessage
- MULTIPLY - org.springframework.expression.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.
- MultiValueMap<K,V> - Interface in org.springframework.util
- Extension of the
Map
interface that stores multiple values. - mustRevalidate() - Method in class org.springframework.http.CacheControl
- Add a "must-revalidate" directive.
- 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
- 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
- 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.
- 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 for path matching patterns inHandlerMappings
. - 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.
- 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
- MvcUriComponentsBuilder.MethodInvocationInfo - Interface in org.springframework.web.servlet.mvc.method.annotation
- mvcUriComponentsContributor() - 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 for path matching patterns inHandlerMappings
. - 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() - 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 - org.springframework.orm.jpa.vendor.Database
- 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 All Packages