@Extension @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public class WebSocketEcho extends InvisibleAction implements RootAction
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
WebSocketEcho() |
Modifier and Type | Method and Description |
---|---|
org.kohsuke.stapler.HttpResponse |
doIndex() |
String |
getUrlName()
Gets the URL path name.
|
getDisplayName, getIconFileName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName, getIconFileName
public String getUrlName()
Action
For example, if this method returns "xyz", and if the parent object (that this action is associated with) is bound to /foo/bar/zot, then this action object will be exposed to /foo/bar/zot/xyz.
This method should return a string that's unique among other Action
s.
The returned string can be an absolute URL, like "http://www.sun.com/", which is useful for directly connecting to external systems.
If the returned string starts with '/', like '/foo', then it's assumed to be relative to the context path of the Jenkins webapp.
getUrlName
in interface Action
getUrlName
in class InvisibleAction
Action.getIconFileName()
.Functions.getActionUrl(String, Action)
public org.kohsuke.stapler.HttpResponse doIndex()
Copyright © 2004–2022. All rights reserved.