Package io.deephaven.server.resources
Class ServerResource
java.lang.Object
io.deephaven.server.resources.ServerResource
- Direct Known Subclasses:
WebResources
Represents a set of resources that can be provided by the HTTP server. Priority will be controlled by configuration.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ServerResource
public ServerResource()
-
-
Method Details
-
getName
Returns the name of the resource to use in configuration.- Returns:
- the name of the resource
-
getResourceBaseUrl
A URL that can be provided to Jetty to serve the resources.- Returns:
- the URL to the resources
-
getResourceFromClasspath
-