Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
爱吃血肠
spring-framework
提交
c91c93c8
S
spring-framework
项目概览
爱吃血肠
/
spring-framework
通知
1
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 搜索 >>
提交
c91c93c8
编写于
7月 30, 2015
作者:
S
Sam Brannen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Polish reference manual
上级
8bc2bffa
变更
5
展开全部
隐藏空白更改
内联
并排
Showing
5 changed file
with
164 addition
and
79 deletion
+164
-79
src/asciidoc/appendix.adoc
src/asciidoc/appendix.adoc
+1
-1
src/asciidoc/core-beans.adoc
src/asciidoc/core-beans.adoc
+158
-69
src/asciidoc/web-cors.adoc
src/asciidoc/web-cors.adoc
+1
-1
src/asciidoc/web-mvc.adoc
src/asciidoc/web-mvc.adoc
+3
-7
src/asciidoc/web-websocket.adoc
src/asciidoc/web-websocket.adoc
+1
-1
未找到文件。
src/asciidoc/appendix.adoc
浏览文件 @
c91c93c8
...
...
@@ -30,7 +30,7 @@ For the currently recommended usage patterns for Hibernate see <<orm-hibernate>>
[[
orm
-
hibernate
-
template
]]
=====
t
he
HibernateTemplate
=====
T
he
HibernateTemplate
The
basic
programming
model
for
templating
looks
as
follows
,
for
methods
that
can
be
part
of
any
custom
data
access
object
or
business
service
.
There
are
no
restrictions
on
...
...
src/asciidoc/core-beans.adoc
浏览文件 @
c91c93c8
此差异已折叠。
点击以展开。
src/asciidoc/web-cors.adoc
浏览文件 @
c91c93c8
...
...
@@ -96,7 +96,7 @@ then combine attributes from both annotations to create merged CORS configuratio
@RequestMapping("/account")
public class AccountController {
@CrossOrigin(
origins =
"http://domain2.com")
@CrossOrigin("http://domain2.com")
@RequestMapping("/{id}")
public Account retrieve(@PathVariable Long id) {
// ...
...
...
src/asciidoc/web-mvc.adoc
浏览文件 @
c91c93c8
...
...
@@ -627,7 +627,7 @@ to narrow the mapping.
[[mvc-ann-requestmapping-proxying]]
====
++@Controller++'s
and AOP Proxying
====
@Controller
and AOP Proxying
In some cases a controller may need to be decorated with an AOP proxy at runtime.
One example is if you choose to have `@Transactional` annotations directly on the
...
...
@@ -1910,7 +1910,8 @@ which case they apply to matching controllers. This provides an alternative to u
[[mvc-ann-controller-advice]]
==== Advising controllers with the `@ControllerAdvice` annotation
==== Advising controllers with @ControllerAdvice
The `@ControllerAdvice` annotation is a component annotation allowing implementation
classes to be auto-detected through classpath scanning. It is automatically enabled when
using the MVC namespace or the MVC Java config.
...
...
@@ -2518,11 +2519,6 @@ directly on `RequestMappingHandlerAdapter`.
[[mvc-viewresolver]]
== Resolving views
All MVC frameworks for web applications provide a way to address views. Spring provides
...
...
src/asciidoc/web-websocket.adoc
浏览文件 @
c91c93c8
...
...
@@ -1554,7 +1554,7 @@ the TCP connection is established is different from the host providing the
cloud
-
based
STOMP
service
.
[[
websocket
-
stomp
-
destination
-
separator
]]
===
Using
Dot
as
Separator
in
`@
MessageMapping
`
Destinations
===
Using
Dot
as
Separator
in
@
MessageMapping
Destinations
Although
slash
-
separated
path
patterns
are
familiar
to
web
developers
,
in
messaging
it
is
common
to
use
a
"."
as
the
separator
,
for
example
in
the
names
of
topics
,
queues
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录