Class SimpleResource

java.lang.Object
io.milton.http.SimpleResource
All Implemented Interfaces:
GetableResource, PostableResource, Resource
Direct Known Subclasses:
SimpleDigestResource

public class SimpleResource extends Object implements GetableResource, PostableResource
A very simple resource implementation, which simply takes parameters in the constructor to define the resource, which includes the content Can be useful for resources defined in by code, where the content is a classpath item