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
11b98620
Commit
11b98620
authored
Feb 21, 2020
by
Brian Clozel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Clear ProducesRequestCondition cache attribute"
Closes gh-20292
parent
3f0a5a54
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
AbstractWebFluxEndpointHandlerMapping.java
...t/web/reactive/AbstractWebFluxEndpointHandlerMapping.java
+0
-6
AbstractWebMvcEndpointHandlerMapping.java
...int/web/servlet/AbstractWebMvcEndpointHandlerMapping.java
+0
-10
No files found.
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/reactive/AbstractWebFluxEndpointHandlerMapping.java
View file @
11b98620
...
...
@@ -198,12 +198,6 @@ public abstract class AbstractWebFluxEndpointHandlerMapping extends RequestMappi
return
this
.
corsConfiguration
;
}
@Override
public
Mono
<
HandlerMethod
>
getHandlerInternal
(
ServerWebExchange
exchange
)
{
return
super
.
getHandlerInternal
(
exchange
)
.
doOnTerminate
(()
->
ProducesRequestCondition
.
clearMediaTypesAttribute
(
exchange
));
}
@Override
protected
boolean
isHandler
(
Class
<?>
beanType
)
{
return
false
;
...
...
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/servlet/AbstractWebMvcEndpointHandlerMapping.java
View file @
11b98620
...
...
@@ -231,16 +231,6 @@ public abstract class AbstractWebMvcEndpointHandlerMapping extends RequestMappin
return
this
.
corsConfiguration
;
}
@Override
protected
HandlerMethod
getHandlerInternal
(
HttpServletRequest
request
)
throws
Exception
{
try
{
return
super
.
getHandlerInternal
(
request
);
}
finally
{
ProducesRequestCondition
.
clearMediaTypesAttribute
(
request
);
}
}
@Override
protected
boolean
isHandler
(
Class
<?>
beanType
)
{
return
false
;
...
...
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