Class ResourceListing
java.lang.Object
org.eclipse.jetty.server.ResourceListing
Utility methods to generate a List of paths.
TODO: add XML and JSON versions?
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetAsXHTML(Resource resource, String base, boolean parent, String query) Convert the Resource directory into an XHTML directory listing. 
- 
Field Details
- 
LOG
public static final org.slf4j.Logger LOG 
 - 
 - 
Constructor Details
- 
ResourceListing
public ResourceListing() 
 - 
 - 
Method Details
- 
getAsXHTML
Convert the Resource directory into an XHTML directory listing.- Parameters:
 resource- the resource to build the listing frombase- The base URLparent- True if the parent directory should be includedquery- query params- Returns:
 - the XHTML as String
 
 
 -