org.apache.hadoop.fs.http.server
Class HttpFSParams.FsPathParam
java.lang.Object
org.apache.hadoop.lib.wsrs.Param<String>
org.apache.hadoop.lib.wsrs.StringParam
org.apache.hadoop.fs.http.server.HttpFSParams.FsPathParam
- Enclosing class:
- HttpFSParams
public static class HttpFSParams.FsPathParam
- extends StringParam
Class for path parameter.
Fields inherited from class org.apache.hadoop.lib.wsrs.Param |
value |
Method Summary |
void |
makeAbsolute()
Makes the path absolute adding '/' to it. |
HttpFSParams.FsPathParam
public HttpFSParams.FsPathParam(String path)
- Constructor.
- Parameters:
path
- parameter value.
makeAbsolute
public void makeAbsolute()
- Makes the path absolute adding '/' to it.
This is required because JAX-RS resolution of paths does not add
the root '/'.
Copyright © 2012 Apache Software Foundation. All Rights Reserved.