@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @Extension public class URICheckEncodingMonitor extends AdministrativeMonitor
ExtensionPoint.LegacyInstancesAreScopedToHudson
id
Constructor and Description |
---|
URICheckEncodingMonitor() |
Modifier and Type | Method and Description |
---|---|
FormValidation |
doCheckURIEncoding(org.kohsuke.stapler.StaplerRequest request) |
String |
getDisplayName() |
boolean |
isActivated()
Returns true if this monitor is activated and
wants to produce a warning message.
|
boolean |
isCheckEnabled() |
all, disable, doDisable, getSearchUrl, getTarget, getUrl, isEnabled
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
public boolean isCheckEnabled()
public boolean isActivated()
AdministrativeMonitor
This method is called from the HTML rendering thread, so it should run efficiently.
isActivated
in class AdministrativeMonitor
public String getDisplayName()
getDisplayName
in interface ModelObject
getDisplayName
in class AdministrativeMonitor
public FormValidation doCheckURIEncoding(org.kohsuke.stapler.StaplerRequest request) throws IOException
IOException
Copyright © 2004–2018. All rights reserved.