Package com.inductiveautomation.snap.web
Class Request
- java.lang.Object
-
- com.inductiveautomation.snap.web.Request
-
public class Request extends java.lang.ObjectA request to a server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRequest.Type
-
Constructor Summary
Constructors Constructor Description Request()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebSitegetSite()Returns the site for the request.Request.TypegetType()Returns the type of request.WebURLgetURL()Returns the URL.voidsetType(Request.Type aType)Sets the type of request.voidsetURL(WebURL aURL)Sets the URL.java.lang.StringtoString()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:
toStringin classjava.lang.Object
-
-