1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.pluto.services.information;
18
19 public interface ResourceURLProvider
20 {
21
22
23 /***
24 * Sets the absolute URL to be returned by the provider.
25 * E.g. http://host/wps/portal/hello.gif
26 *
27 * @param path the new absolute url
28 */
29 public void setAbsoluteURL(String path);
30
31 /***
32 * Sets a full path URI including the context root.
33 * E.g. /wps/portal/hello.gif
34 *
35 * @param path the new absolute url
36 */
37 public void setFullPath(String path);
38
39 /***
40 * Returns a url to a resource as absolute URL starting with
41 * protocol so that it can be accessed by a browser.
42 *
43 * @return the URL as string
44 */
45 public String toString();
46 }