Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
12d9ebfc
Commit
12d9ebfc
authored
Nov 16, 2016
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish ErrorPageFilter.getDescription javadoc
See gh-7393
parent
00452877
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
ErrorPageFilter.java
...org/springframework/boot/web/support/ErrorPageFilter.java
+7
-0
No files found.
spring-boot/src/main/java/org/springframework/boot/web/support/ErrorPageFilter.java
View file @
12d9ebfc
...
@@ -185,6 +185,13 @@ public class ErrorPageFilter implements Filter, ErrorPageRegistry {
...
@@ -185,6 +185,13 @@ public class ErrorPageFilter implements Filter, ErrorPageRegistry {
request
.
getRequestDispatcher
(
path
).
forward
(
request
,
response
);
request
.
getRequestDispatcher
(
path
).
forward
(
request
,
response
);
}
}
/**
* Return the description for the given request. By default this method will return a
* description based on the request {@code servletPath} and {@code pathInfo}.
* @param request the source request
* @return the description
* @since 1.5.0
*/
protected
String
getDescription
(
HttpServletRequest
request
)
{
protected
String
getDescription
(
HttpServletRequest
request
)
{
return
"["
+
request
.
getServletPath
()
return
"["
+
request
.
getServletPath
()
+
(
request
.
getPathInfo
()
==
null
?
""
:
request
.
getPathInfo
())
+
"]"
;
+
(
request
.
getPathInfo
()
==
null
?
""
:
request
.
getPathInfo
())
+
"]"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment