public class FileSystemResource extends BaseResource
DATE_FORMAT, DATETIME_FORMAT, DEFAULT_USER, log, NAME, NO_CACHE, REF, security, UID, uriInfo
Constructor and Description |
---|
FileSystemResource()
Constructs the file system resource.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
resource(String resource)
Get the resource named in the path.
|
static void |
setRoot(String path)
Set the root path from under which resources should be served.
|
accepted, accepted, created, created, date, datetime, deleted, format, format, getData, getUserName, id, integer, notFound, ok, ok, redirect, ref, safeCamelCase, safeToString, serverError, serviceUnavailableError, setDefaultUserName, sid, tag, tag, tag, uid, uid, url, validate, validate, validate, warn, warn
public FileSystemResource()
public static void setRoot(String path)
path
- root resource pathpublic javax.ws.rs.core.Response resource(String resource)
resource
- resource pathCopyright © 2015. All Rights Reserved.