Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
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
openSource
spring-cloud-netflix
Commits
ab2cf59b
Commit
ab2cf59b
authored
May 03, 2017
by
Ryan Baxter
Committed by
GitHub
May 03, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1907 from spccold/zuul-filter-bugfix
change HttpServletResponse to HttpServletRequest
parents
a315ac9e
c6347ec9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
RibbonRoutingFilter.java
...cloud/netflix/zuul/filters/route/RibbonRoutingFilter.java
+1
-1
No files found.
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/filters/route/RibbonRoutingFilter.java
View file @
ab2cf59b
...
@@ -70,7 +70,7 @@ public class RibbonRoutingFilter extends ZuulFilter {
...
@@ -70,7 +70,7 @@ public class RibbonRoutingFilter extends ZuulFilter {
this
.
requestCustomizers
=
requestCustomizers
;
this
.
requestCustomizers
=
requestCustomizers
;
// To support Servlet API 3.0.1 we need to check if getcontentLengthLong exists
// To support Servlet API 3.0.1 we need to check if getcontentLengthLong exists
try
{
try
{
HttpServletRe
sponse
.
class
.
getMethod
(
"getContentLengthLong"
);
HttpServletRe
quest
.
class
.
getMethod
(
"getContentLengthLong"
);
}
catch
(
NoSuchMethodException
e
)
{
}
catch
(
NoSuchMethodException
e
)
{
useServlet31
=
false
;
useServlet31
=
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