Class HttpPath
- java.lang.Object
-
- net.officefloor.web.resource.source.HttpPath
-
public class HttpPath extends java.lang.Object
Path for aHttpResource
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description HttpPath(java.lang.String path)
Instantiate.HttpPath(HttpRequest request, WebServicer webServicer)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPath()
Obtains the path.WebServicer
getWebServicer()
Obtains theWebServicer
.
-
-
-
Constructor Detail
-
HttpPath
public HttpPath(java.lang.String path)
Instantiate.- Parameters:
path
- Path.
-
HttpPath
public HttpPath(HttpRequest request, WebServicer webServicer)
Instantiate.- Parameters:
request
-HttpRequest
to extract the path.
-
-
Method Detail
-
getPath
public java.lang.String getPath()
Obtains the path.- Returns:
- Path.
-
getWebServicer
public WebServicer getWebServicer()
Obtains theWebServicer
.- Returns:
WebServicer
.
-
-