Package hudson.util
Class FormFieldValidator.HudsonURL
java.lang.Object
hudson.util.FormFieldValidator
hudson.util.FormFieldValidator.URLCheck
hudson.util.FormFieldValidator.HudsonURL
- Enclosing class:
- FormFieldValidator
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
ConstructorDescriptionHudsonURL
(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) -
Method Summary
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
-
Constructor Details
-
HudsonURL
public HudsonURL(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
-
-
Method Details
-
check
- Specified by:
check
in classFormFieldValidator
- Throws:
IOException
javax.servlet.ServletException
-