Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
hk581
spring-framework
提交
69dd40ec
S
spring-framework
项目概览
hk581
/
spring-framework
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
spring-framework
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
69dd40ec
编写于
7月 15, 2016
作者:
J
Juergen Hoeller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Javadoc fixes and pruning of deprecated references
上级
dee50d5e
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
26 addition
and
30 deletion
+26
-30
spring-context/src/main/java/org/springframework/instrument/classloading/tomcat/TomcatLoadTimeWeaver.java
.../instrument/classloading/tomcat/TomcatLoadTimeWeaver.java
+2
-2
spring-jdbc/src/main/java/org/springframework/jdbc/datasource/ConnectionHandle.java
...org/springframework/jdbc/datasource/ConnectionHandle.java
+2
-2
spring-messaging/src/main/java/org/springframework/messaging/converter/MarshallingMessageConverter.java
...work/messaging/converter/MarshallingMessageConverter.java
+1
-1
spring-messaging/src/main/java/org/springframework/messaging/handler/HandlerMethodSelector.java
...ingframework/messaging/handler/HandlerMethodSelector.java
+1
-1
spring-web/src/main/java/org/springframework/web/method/HandlerMethodSelector.java
...org/springframework/web/method/HandlerMethodSelector.java
+1
-1
spring-web/src/main/java/org/springframework/web/method/annotation/ModelAttributeMethodProcessor.java
.../web/method/annotation/ModelAttributeMethodProcessor.java
+1
-1
spring-web/src/main/java/org/springframework/web/util/HtmlUtils.java
...src/main/java/org/springframework/web/util/HtmlUtils.java
+1
-2
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/WebContentInterceptor.java
...pringframework/web/servlet/mvc/WebContentInterceptor.java
+1
-2
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/MvcUriComponentsBuilder.java
...ervlet/mvc/method/annotation/MvcUriComponentsBuilder.java
+7
-10
spring-webmvc/src/main/java/org/springframework/web/servlet/support/RequestContext.java
...g/springframework/web/servlet/support/RequestContext.java
+9
-8
未找到文件。
spring-context/src/main/java/org/springframework/instrument/classloading/tomcat/TomcatLoadTimeWeaver.java
浏览文件 @
69dd40ec
...
...
@@ -26,8 +26,8 @@ import org.springframework.util.Assert;
import
org.springframework.util.ClassUtils
;
/**
* {@link org.springframework.instrument.classloading.LoadTimeWeaver} implementation
for Tomcat's
*
new {@link org.apache.tomcat.InstrumentableClassLoader
InstrumentableClassLoader}.
* {@link org.springframework.instrument.classloading.LoadTimeWeaver} implementation
*
for Tomcat's new {@code org.apache.tomcat.
InstrumentableClassLoader}.
* Also capable of handling Spring's TomcatInstrumentableClassLoader when encountered.
*
* @author Juergen Hoeller
...
...
spring-jdbc/src/main/java/org/springframework/jdbc/datasource/ConnectionHandle.java
浏览文件 @
69dd40ec
/*
* Copyright 2002-201
4
the original author or authors.
* Copyright 2002-201
6
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
...
...
@@ -26,7 +26,7 @@ import java.sql.Connection;
* @since 1.1
* @see SimpleConnectionHandle
* @see ConnectionHolder
* @see org.springframework.orm.j
do
.JpaDialect#getJdbcConnection
* @see org.springframework.orm.j
pa
.JpaDialect#getJdbcConnection
* @see org.springframework.orm.jdo.JdoDialect#getJdbcConnection
*/
public
interface
ConnectionHandle
{
...
...
spring-messaging/src/main/java/org/springframework/messaging/converter/MarshallingMessageConverter.java
浏览文件 @
69dd40ec
...
...
@@ -40,7 +40,7 @@ import org.springframework.util.MimeType;
* {@link Marshaller} and {@link Unmarshaller} abstractions.
*
* <p>This converter requires a {@code Marshaller} and {@code Unmarshaller} before it can
* be used. These can be injected by the {@linkplain MarshallingMessageConverter(Marshaller)
* be used. These can be injected by the {@linkplain
#
MarshallingMessageConverter(Marshaller)
* constructor} or {@linkplain #setMarshaller(Marshaller) bean properties}.
*
* @author Arjen Poutsma
...
...
spring-messaging/src/main/java/org/springframework/messaging/handler/HandlerMethodSelector.java
浏览文件 @
69dd40ec
...
...
@@ -39,7 +39,7 @@ public abstract class HandlerMethodSelector {
* @param handlerType the handler type to search handler methods on
* @param handlerMethodFilter a {@link MethodFilter} to help recognize handler methods of interest
* @return the selected methods, or an empty set
* @see MethodIntrospector#selectMethods
(Class, MethodFilter)
* @see MethodIntrospector#selectMethods
*/
public
static
Set
<
Method
>
selectMethods
(
Class
<?>
handlerType
,
MethodFilter
handlerMethodFilter
)
{
return
MethodIntrospector
.
selectMethods
(
handlerType
,
handlerMethodFilter
);
...
...
spring-web/src/main/java/org/springframework/web/method/HandlerMethodSelector.java
浏览文件 @
69dd40ec
...
...
@@ -39,7 +39,7 @@ public abstract class HandlerMethodSelector {
* @param handlerType the handler type to search handler methods on
* @param handlerMethodFilter a {@link MethodFilter} to help recognize handler methods of interest
* @return the selected methods, or an empty set
* @see MethodIntrospector#selectMethods
(Class, MethodFilter)
* @see MethodIntrospector#selectMethods
*/
public
static
Set
<
Method
>
selectMethods
(
Class
<?>
handlerType
,
MethodFilter
handlerMethodFilter
)
{
return
MethodIntrospector
.
selectMethods
(
handlerType
,
handlerMethodFilter
);
...
...
spring-web/src/main/java/org/springframework/web/method/annotation/ModelAttributeMethodProcessor.java
浏览文件 @
69dd40ec
...
...
@@ -45,7 +45,7 @@ import org.springframework.web.method.support.ModelAndViewContainer;
* constructor (and then added to the model). Once created the attribute is
* populated via data binding to Servlet request parameters. Validation may be
* applied if the argument is annotated with {@code @javax.validation.Valid}.
* or
{@link @
Validated}.
* or
Spring's own {@code @org.springframework.validation.annotation.
Validated}.
*
* <p>When this handler is created with {@code annotationNotRequired=true}
* any non-simple type argument and return value is regarded as a model
...
...
spring-web/src/main/java/org/springframework/web/util/HtmlUtils.java
浏览文件 @
69dd40ec
/*
* Copyright 2002-201
5
the original author or authors.
* Copyright 2002-201
6
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
...
...
@@ -36,7 +36,6 @@ import org.springframework.util.Assert;
* @author Martin Kersten
* @author Craig Andrews
* @since 01.03.2003
* @see org.apache.commons.lang.StringEscapeUtils
*/
public
abstract
class
HtmlUtils
{
...
...
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/WebContentInterceptor.java
浏览文件 @
69dd40ec
/*
* Copyright 2002-201
5
the original author or authors.
* Copyright 2002-201
6
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
...
...
@@ -102,7 +102,6 @@ public class WebContentInterceptor extends WebContentGenerator implements Handle
* <p>Only relevant for the "cacheMappings" setting.
* @see #setCacheMappings
* @see org.springframework.web.servlet.handler.AbstractUrlHandlerMapping#setUrlPathHelper
* @see org.springframework.web.servlet.mvc.multiaction.AbstractUrlMethodNameResolver#setUrlPathHelper
*/
public
void
setUrlPathHelper
(
UrlPathHelper
urlPathHelper
)
{
Assert
.
notNull
(
urlPathHelper
,
"UrlPathHelper must not be null"
);
...
...
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/MvcUriComponentsBuilder.java
浏览文件 @
69dd40ec
...
...
@@ -38,8 +38,8 @@ import org.springframework.cglib.proxy.Enhancer;
import
org.springframework.cglib.proxy.Factory
;
import
org.springframework.cglib.proxy.MethodProxy
;
import
org.springframework.core.DefaultParameterNameDiscoverer
;
import
org.springframework.core.MethodParameter
;
import
org.springframework.core.MethodIntrospector
;
import
org.springframework.core.MethodParameter
;
import
org.springframework.core.ParameterNameDiscoverer
;
import
org.springframework.core.annotation.AnnotatedElementUtils
;
import
org.springframework.core.annotation.SynthesizingMethodParameter
;
...
...
@@ -118,7 +118,7 @@ public class MvcUriComponentsBuilder {
* @see #fromMethodName(Class, String, Object...)
* @see #fromMethodCall(Object)
* @see #fromMappingName(String)
* @see #fromMethod(
java.lang.reflect.
Method, Object...)
* @see #fromMethod(
Class,
Method, Object...)
*/
protected
MvcUriComponentsBuilder
(
UriComponentsBuilder
baseUrl
)
{
Assert
.
notNull
(
baseUrl
,
"'baseUrl' is required"
);
...
...
@@ -168,7 +168,7 @@ public class MvcUriComponentsBuilder {
/**
* Create a {@link UriComponentsBuilder} from the mapping of a controller
* method and an array of method argument values. This method delegates
* to {@link #fromMethod(
java.lang.reflect.
Method, Object...)}.
* to {@link #fromMethod(
Class,
Method, Object...)}.
* @param controllerType the controller
* @param methodName the method name
* @param args the argument values
...
...
@@ -207,7 +207,7 @@ public class MvcUriComponentsBuilder {
/**
* Create a {@link UriComponentsBuilder} by invoking a "mock" controller method.
* The controller method and the supplied argument values are then used to
* delegate to {@link #fromMethod(
java.lang.reflect.
Method, Object...)}.
* delegate to {@link #fromMethod(
Class,
Method, Object...)}.
* <p>For example, given this controller:
* <pre class="code">
* @RequestMapping("/people/{id}/addresses")
...
...
@@ -361,7 +361,7 @@ public class MvcUriComponentsBuilder {
}
/**
* An alternative to {@link #fromMethod(
java.lang.reflect.
Method, Object...)}
* An alternative to {@link #fromMethod(
Class,
Method, Object...)}
* that accepts a {@code UriComponentsBuilder} representing the base URL.
* This is useful when using MvcUriComponentsBuilder outside the context of
* processing a request or to apply a custom baseUrl not matching the
...
...
@@ -557,8 +557,7 @@ public class MvcUriComponentsBuilder {
* on the controller is invoked, the supplied argument values are remembered
* and the result can then be used to create a {@code UriComponentsBuilder}
* via {@link #fromMethodCall(Object)}.
* <p>
* Note that this is a shorthand version of {@link #controller(Class)} intended
* <p>Note that this is a shorthand version of {@link #controller(Class)} intended
* for inline use (with a static import), for example:
* <pre class="code">
* MvcUriComponentsBuilder.fromMethodCall(on(FooController.class).getFoo(1)).build();
...
...
@@ -574,8 +573,7 @@ public class MvcUriComponentsBuilder {
* on the controller is invoked, the supplied argument values are remembered
* and the result can then be used to create {@code UriComponentsBuilder} via
* {@link #fromMethodCall(Object)}.
* <p>
* This is a longer version of {@link #on(Class)}. It is needed with controller
* <p>This is a longer version of {@link #on(Class)}. It is needed with controller
* methods returning void as well for repeated invocations.
* <pre class="code">
* FooController fooController = controller(FooController.class);
...
...
@@ -778,7 +776,6 @@ public class MvcUriComponentsBuilder {
}
/**
* @see #MethodArgumentBuilder(Class, Method)
* @deprecated as of 4.2, this is deprecated in favor of alternative constructors
* that accept a controllerType argument
*/
...
...
spring-webmvc/src/main/java/org/springframework/web/servlet/support/RequestContext.java
浏览文件 @
69dd40ec
/*
* Copyright 2002-201
5
the original author or authors.
* Copyright 2002-201
6
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
...
...
@@ -53,17 +53,18 @@ import org.springframework.web.util.UrlPathHelper;
import
org.springframework.web.util.WebUtils
;
/**
* Context holder for request-specific state, like current web application context, current locale, current theme,
* and potential binding errors. Provides easy access to localized messages and Errors instances.
* Context holder for request-specific state, like current web application context, current locale,
* current theme, and potential binding errors. Provides easy access to localized messages and
* Errors instances.
*
* <p>Suitable for exposition to views, and usage within JSP's "useBean" tag, JSP scriptlets, JSTL EL,
Velocity
*
templates, etc. Necessary for views that do not have access to the servlet request, like Velocity
templates.
* <p>Suitable for exposition to views, and usage within JSP's "useBean" tag, JSP scriptlets, JSTL EL,
*
etc. Necessary for views that do not have access to the servlet request, like FreeMarker
templates.
*
* <p>Can be instantiated manually, or automatically exposed to views as model attribute via AbstractView's
* "requestContextAttribute" property.
*
* <p>Will also work outside of DispatcherServlet requests, accessing the root WebApplicationContext
and using
* an appropriate fallback for the locale (the HttpServletRequest's primary locale).
* <p>Will also work outside of DispatcherServlet requests, accessing the root WebApplicationContext
* an
d using an
appropriate fallback for the locale (the HttpServletRequest's primary locale).
*
* @author Juergen Hoeller
* @author Rossen Stoyanchev
...
...
@@ -467,7 +468,7 @@ public class RequestContext {
/**
* (De)activate default HTML escaping for messages and errors, for the scope of this RequestContext.
* <p>The default is the application-wide setting (the "defaultHtmlEscape" context-param in web.xml).
* @see org.springframework.web.util.WebUtils#
is
DefaultHtmlEscape
* @see org.springframework.web.util.WebUtils#
get
DefaultHtmlEscape
*/
public
void
setDefaultHtmlEscape
(
boolean
defaultHtmlEscape
)
{
this
.
defaultHtmlEscape
=
defaultHtmlEscape
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录