Class ReverseProxy
java.lang.Object
com.cloudbees.jenkins.support.api.Component
com.cloudbees.jenkins.support.impl.ReverseProxy
- All Implemented Interfaces:
ExtensionPoint
Attempts to detect reverse proxies in front of Jenkins.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.cloudbees.jenkins.support.api.Component
Component.ComponentCategoryNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContents(Container container) Add contents to a containerbooleanThis method will indicate if the component can be generated asynchronously.Specify in whichComponent.ComponentCategorythe current component is related.protected org.kohsuke.stapler.StaplerRequest2Returns the (possibly empty, never null) list of permissions that are required for the user to include this in a bundle.Methods inherited from class com.cloudbees.jenkins.support.api.Component
getDisplayPermissions, getId, isApplicable, isEnabled, isSelectedByDefault, start, supersedes
-
Constructor Details
-
ReverseProxy
public ReverseProxy()
-
-
Method Details
-
canBeGeneratedAsync
public boolean canBeGeneratedAsync()Description copied from class:ComponentThis method will indicate if the component can be generated asynchronously. This is useful for components that need request context info that only be available in a request thread. By default, it will return true.- Overrides:
canBeGeneratedAsyncin classComponent- Returns:
-
getRequiredPermissions
Description copied from class:ComponentReturns the (possibly empty, never null) list of permissions that are required for the user to include this in a bundle. An empty list indicates that any user can include this bundle.- Specified by:
getRequiredPermissionsin classComponent- Returns:
- the (possibly empty, never null) list of permissions that are required for the user to include this in a bundle.
-
getDisplayName
- Specified by:
getDisplayNamein classComponent
-
addContents
Description copied from class:ComponentAdd contents to a container- Specified by:
addContentsin classComponent- Parameters:
container- aContainer
-
getCategory
Description copied from class:ComponentSpecify in whichComponent.ComponentCategorythe current component is related.- Overrides:
getCategoryin classComponent- Returns:
- An enum value of
Component.ComponentCategory.
-
getCurrentRequest
protected org.kohsuke.stapler.StaplerRequest2 getCurrentRequest()
-