public final class ReqPathRef extends Object
| Constructor and Description |
|---|
ReqPathRef(String reqPath)
The only constructor for this object, an string representing the path
must be provided.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
findCurrentPath(HttpBridletContext ctx)
A convinient method that returns the current path for the http request,
if any ReqPathRef was put in the HttpBridletContext this method will
return the path for that object, if no ReqPathRef was HttpBridletContext
this method will return the original requested path.
|
String |
getReqPath()
Gets the string representation of the current path for the request.
|
void |
setReqPath(String reqPath)
Sets the string representation of the current path for the request.
|
public ReqPathRef(String reqPath)
reqPath - An string representing the path.public String getReqPath()
public void setReqPath(String reqPath)
reqPath - The string representation of the current path for the
request.public static String findCurrentPath(HttpBridletContext ctx)
ctx - The current bridlet context.Copyright © 2015–2017 Bridje Framework. All rights reserved.