Class HelloGetResourceAsStream
java.lang.Object
test.HelloGetResourceAsStream
- All Implemented Interfaces:
hudson.remoting.Callable<String, IOException>, Serializable, org.jenkinsci.remoting.RoleSensitive
public class HelloGetResourceAsStream
extends Object
implements hudson.remoting.Callable<String, IOException>
Gets a single resource as a stream.
This call uses
Class.getResourceAsStream(java.lang.String) instead
of access by URL like HelloGetResource does.- Author:
- Kohsuke Kawaguchi
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall()voidcheckRoles(org.jenkinsci.remoting.RoleChecker checker) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.remoting.Callable
getChannelOrFail, getOpenChannelOrFail
-
Constructor Details
-
HelloGetResourceAsStream
public HelloGetResourceAsStream()
-
-
Method Details
-
call
- Specified by:
callin interfacehudson.remoting.Callable<String, IOException>- Throws:
IOException
-
checkRoles
- Specified by:
checkRolesin interfaceorg.jenkinsci.remoting.RoleSensitive- Throws:
SecurityException
-