parent
438d6de3c1
commit
07b12666b4
|
|
@ -33,7 +33,7 @@ import org.springframework.lang.Nullable;
|
||||||
*
|
*
|
||||||
* <p>First, creates a new Map of the requested targetType with a size equal to the
|
* <p>First, creates a new Map of the requested targetType with a size equal to the
|
||||||
* size of the source Map. Then copies each element in the source map to the target map.
|
* size of the source Map. Then copies each element in the source map to the target map.
|
||||||
* Will perform a conversion from the source maps's parameterized K,V types to the target
|
* Will perform a conversion from the source map's parameterized K,V types to the target
|
||||||
* map's parameterized types K,V if necessary.
|
* map's parameterized types K,V if necessary.
|
||||||
*
|
*
|
||||||
* @author Keith Donald
|
* @author Keith Donald
|
||||||
|
|
|
||||||
|
|
@ -48,14 +48,14 @@ public interface SimpleJdbcCallOperations {
|
||||||
SimpleJdbcCallOperations withFunctionName(String functionName);
|
SimpleJdbcCallOperations withFunctionName(String functionName);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optionally, specify the name of the schema that contins the stored procedure.
|
* Optionally, specify the name of the schema that contains the stored procedure.
|
||||||
* @param schemaName the name of the schema
|
* @param schemaName the name of the schema
|
||||||
* @return the instance of this SimpleJdbcCall
|
* @return the instance of this SimpleJdbcCall
|
||||||
*/
|
*/
|
||||||
SimpleJdbcCallOperations withSchemaName(String schemaName);
|
SimpleJdbcCallOperations withSchemaName(String schemaName);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optionally, specify the name of the catalog that contins the stored procedure.
|
* Optionally, specify the name of the catalog that contains the stored procedure.
|
||||||
* <p>To provide consistency with the Oracle DatabaseMetaData, this is used to specify the
|
* <p>To provide consistency with the Oracle DatabaseMetaData, this is used to specify the
|
||||||
* package name if the procedure is declared as part of a package.
|
* package name if the procedure is declared as part of a package.
|
||||||
* @param catalogName the catalog or package name
|
* @param catalogName the catalog or package name
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ import org.springframework.messaging.handler.DestinationPatternsMessageCondition
|
||||||
import org.springframework.messaging.handler.MessageCondition;
|
import org.springframework.messaging.handler.MessageCondition;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@link MessageCondition} for SImple Messaging Protocols. Encapsulates the following
|
* {@link MessageCondition} for Simple Messaging Protocols. Encapsulates the following
|
||||||
* request mapping conditions:
|
* request mapping conditions:
|
||||||
* <ol>
|
* <ol>
|
||||||
* <li>{@link SimpMessageTypeMessageCondition}
|
* <li>{@link SimpMessageTypeMessageCondition}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* Annotations and for handling messages from SImple Messaging Protocols such as STOMP.
|
* Annotations and for handling messages from Simple Messaging Protocols such as STOMP.
|
||||||
*/
|
*/
|
||||||
@NonNullApi
|
@NonNullApi
|
||||||
@NonNullFields
|
@NonNullFields
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ import org.springframework.web.multipart.MultipartResolver;
|
||||||
*
|
*
|
||||||
* <p>If no MultipartResolver bean is found, this filter falls back to a default
|
* <p>If no MultipartResolver bean is found, this filter falls back to a default
|
||||||
* MultipartResolver: {@link StandardServletMultipartResolver} for Servlet
|
* MultipartResolver: {@link StandardServletMultipartResolver} for Servlet
|
||||||
* oontainers, based on a multipart-config section in {@code web.xml}.
|
* containers, based on a multipart-config section in {@code web.xml}.
|
||||||
* Note however that at present the Servlet specification only defines how to
|
* Note however that at present the Servlet specification only defines how to
|
||||||
* enable multipart configuration on a Servlet and as a result multipart request
|
* enable multipart configuration on a Servlet and as a result multipart request
|
||||||
* processing is likely not possible in a Filter unless the Servlet container
|
* processing is likely not possible in a Filter unless the Servlet container
|
||||||
|
|
|
||||||
|
|
@ -478,8 +478,8 @@ public abstract class AbstractHandlerMethodMapping<T> extends AbstractHandlerMap
|
||||||
@Override
|
@Override
|
||||||
protected boolean hasCorsConfigurationSource(Object handler) {
|
protected boolean hasCorsConfigurationSource(Object handler) {
|
||||||
return super.hasCorsConfigurationSource(handler) ||
|
return super.hasCorsConfigurationSource(handler) ||
|
||||||
(handler instanceof HandlerMethod handerMethod &&
|
(handler instanceof HandlerMethod handlerMethod &&
|
||||||
this.mappingRegistry.getCorsConfiguration(handerMethod) != null);
|
this.mappingRegistry.getCorsConfiguration(handlerMethod) != null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue