/** * Serves a static resource specified by the URL. * Short for {@code staticResource(resource,0)} */ public static HttpResponse staticResource(URL resource) { return staticResource(resource,0); }
/** * Serves a static resource specified by the URL. * Short for {@code staticResource(resource,0)} */ public static HttpResponse staticResource(URL resource) { return staticResource(resource,0); }
/** * Serves a static resource specified by the URL. * Short for {@code staticResource(resource,0)} */ public static HttpResponse staticResource(URL resource) { return staticResource(resource,0); }
public HttpResponse doPrototype() { return HttpResponses.staticResource(getClass().getResource("/org/kohsuke/stapler/framework/prototype/prototype.js")); }
public HttpResponse doScript() { return HttpResponses.staticResource(getClass().getResource("/org/kohsuke/stapler/bind.js")); }
public HttpResponse doPrototype() { return HttpResponses.staticResource(getClass().getResource("/org/kohsuke/stapler/framework/prototype/prototype.js")); }
public HttpResponse doScript() { return HttpResponses.staticResource(getClass().getResource("/org/kohsuke/stapler/bind.js")); }