Class ReverseProxy

java.lang.Object
com.cloudbees.jenkins.support.api.Component
com.cloudbees.jenkins.support.impl.ReverseProxy
All Implemented Interfaces:
ExtensionPoint

@Extension public class ReverseProxy extends Component
Attempts to detect reverse proxies in front of Jenkins.
  • Constructor Details

    • ReverseProxy

      public ReverseProxy()
  • Method Details

    • getRequiredPermissions

      @NonNull public Set<Permission> getRequiredPermissions()
      Description copied from class: Component
      Returns 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:
      getRequiredPermissions in class Component
      Returns:
      the (possibly empty, never null) list of permissions that are required for the user to include this in a bundle.
    • getDisplayName

      @NonNull public String getDisplayName()
      Specified by:
      getDisplayName in class Component
    • addContents

      public void addContents(@NonNull Container container)
      Description copied from class: Component
      Add contents to a container
      Specified by:
      addContents in class Component
      Parameters:
      container - a Container
    • getCategory

      @NonNull public Component.ComponentCategory getCategory()
      Description copied from class: Component
      Specify in which Component.ComponentCategory the current component is related.
      Overrides:
      getCategory in class Component
      Returns:
      An enum value of Component.ComponentCategory.
    • getCurrentRequest

      protected org.kohsuke.stapler.StaplerRequest getCurrentRequest()