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
110f8727
Commit
110f8727
authored
Jul 21, 2016
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix generic type signature (otherwise breaks with Spring 4.3)
parent
54931afa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
ServletWrappingEndpoint.java
...ework/cloud/netflix/endpoint/ServletWrappingEndpoint.java
+6
-4
No files found.
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/endpoint/ServletWrappingEndpoint.java
View file @
110f8727
...
...
@@ -16,6 +16,7 @@
package
org
.
springframework
.
cloud
.
netflix
.
endpoint
;
import
javax.servlet.Servlet
;
import
javax.servlet.ServletContext
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
...
...
@@ -60,8 +61,8 @@ public abstract class ServletWrappingEndpoint implements InitializingBean,
this
.
controller
.
setApplicationContext
(
applicationContext
);
}
protected
ServletWrappingEndpoint
(
Class
<?
>
servletClass
,
String
servletName
,
String
path
,
boolean
sensitive
,
boolean
enabled
)
{
protected
ServletWrappingEndpoint
(
Class
<?
extends
Servlet
>
servletClass
,
String
servletName
,
String
path
,
boolean
sensitive
,
boolean
enabled
)
{
this
.
controller
.
setServletClass
(
servletClass
);
this
.
controller
.
setServletName
(
servletName
);
this
.
path
=
path
;
...
...
@@ -76,12 +77,13 @@ public abstract class ServletWrappingEndpoint implements InitializingBean,
}
public
boolean
isEnabled
()
{
return
enabled
;
return
this
.
enabled
;
}
public
ServletWrappingController
getController
()
{
return
controller
;
return
this
.
controller
;
}
@Override
public
String
getPath
()
{
return
this
.
path
;
...
...
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