Package org.jenkinsci.plugins.ssegateway
Class Endpoint
- java.lang.Object
-
- hudson.security.csrf.CrumbExclusion
-
- org.jenkinsci.plugins.ssegateway.Endpoint
-
- All Implemented Interfaces:
ExtensionPoint
,Action
,ModelObject
,RootAction
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @Extension public class Endpoint extends CrumbExclusion implements RootAction
- Author:
- tom.fennelly@gmail.com
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static String
SSE_GATEWAY_URL
static String
SSE_LISTEN_URL_PREFIX
-
Constructor Summary
Constructors Constructor Description Endpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kohsuke.stapler.HttpResponse
doConfigure(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
org.kohsuke.stapler.HttpResponse
doConnect(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
org.kohsuke.stapler.HttpResponse
doPing(org.kohsuke.stapler.StaplerRequest request)
String
getDisplayName()
String
getIconFileName()
String
getUrlName()
protected void
init()
boolean
process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain)
-
Methods inherited from class hudson.security.csrf.CrumbExclusion
all
-
-
-
-
Field Detail
-
SSE_GATEWAY_URL
public static final String SSE_GATEWAY_URL
- See Also:
- Constant Field Values
-
SSE_LISTEN_URL_PREFIX
public static final String SSE_LISTEN_URL_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
process
public boolean process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
- Specified by:
process
in classCrumbExclusion
- Throws:
IOException
javax.servlet.ServletException
-
init
protected void init() throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
doConnect
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public org.kohsuke.stapler.HttpResponse doConnect(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException
- Throws:
IOException
-
doConfigure
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public org.kohsuke.stapler.HttpResponse doConfigure(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException
- Throws:
IOException
-
doPing
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public org.kohsuke.stapler.HttpResponse doPing(org.kohsuke.stapler.StaplerRequest request) throws IOException
- Throws:
IOException
-
-