Class HttpPath
- java.lang.Object
-
- net.officefloor.web.resource.source.HttpPath
-
public class HttpPath extends java.lang.ObjectPath 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.StringgetPath()Obtains the path.WebServicergetWebServicer()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-HttpRequestto extract the path.
-
-
Method Detail
-
getPath
public java.lang.String getPath()
Obtains the path.- Returns:
- Path.
-
getWebServicer
public WebServicer getWebServicer()
Obtains theWebServicer.- Returns:
WebServicer.
-
-