Package hudson.util
Class FormFieldValidator.HudsonURL
- java.lang.Object
-
- hudson.util.FormFieldValidator
-
- hudson.util.FormFieldValidator.URLCheck
-
- hudson.util.FormFieldValidator.HudsonURL
-
- Enclosing class:
- FormFieldValidator
public static class FormFieldValidator.HudsonURL extends FormFieldValidator.URLCheck
Checks if the given value is an URL to some Hudson's top page.- Since:
- 1.192
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.util.FormFieldValidator
FormFieldValidator.Base64, FormFieldValidator.Executable, FormFieldValidator.HudsonURL, FormFieldValidator.NonNegativeInteger, FormFieldValidator.URLCheck, FormFieldValidator.WorkspaceDirectory, FormFieldValidator.WorkspaceFileMask, FormFieldValidator.WorkspaceFilePath
-
-
Field Summary
-
Fields inherited from class hudson.util.FormFieldValidator
CHECK, permission, request, response, subject
-
-
Constructor Summary
Constructors Constructor Description HudsonURL(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
check()
-
Methods inherited from class hudson.util.FormFieldValidator.URLCheck
findText, handleIOException, open
-
Methods inherited from class hudson.util.FormFieldValidator
error, error, errorWithMarkup, getFileParameter, ok, ok, ok, okWithMarkup, process, respond, warning, warning, warningWithMarkup
-
-
-
-
Method Detail
-
check
protected void check() throws IOException, javax.servlet.ServletException
- Specified by:
check
in classFormFieldValidator
- Throws:
IOException
javax.servlet.ServletException
-
-