Package com.inductiveautomation.snap.web
Class Request
- java.lang.Object
-
- com.inductiveautomation.snap.web.Request
-
public class Request extends java.lang.Object
A request to a server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Request.Type
-
Constructor Summary
Constructors Constructor Description Request()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebSite
getSite()
Returns the site for the request.Request.Type
getType()
Returns the type of request.WebURL
getURL()
Returns the URL.void
setType(Request.Type aType)
Sets the type of request.void
setURL(WebURL aURL)
Sets the URL.java.lang.String
toString()
Standard toString implementation.
-
-
-
Method Detail
-
getURL
public WebURL getURL()
Returns the URL.
-
setURL
public void setURL(WebURL aURL)
Sets the URL.
-
getSite
public WebSite getSite()
Returns the site for the request.
-
getType
public Request.Type getType()
Returns the type of request.
-
setType
public void setType(Request.Type aType)
Sets the type of request.
-
toString
public java.lang.String toString()
Standard toString implementation.- Overrides:
toString
in classjava.lang.Object
-
-