Class WebResource

java.lang.Object
com.foreach.across.modules.web.resource.WebResource

public class WebResource extends Object

Represents a single entry in the WebResourceRegistry.

All constants are deliberately Strings so they can easily be used in different view layers and custom values can be added in other modules.

As of version 3.2.0 the WebResource is mainly used as a static facade for commonly used web resource types (eg. css() and javascript()) and for the global constants of default buckets. Creating instances of WebResource is deprecated and only kept for backwards compatibility.

See Also: