public class Context
extends java.lang.Object
| Constructor and Description |
|---|
Context() |
| Modifier and Type | Method and Description |
|---|---|
Context |
address(Address address) |
Context |
application(Application application) |
Context |
beacon(java.lang.Boolean beacon) |
Context |
browser(Browser browser) |
Context |
channel(ChannelType channel) |
Context |
clientHints(ClientHints clientHints) |
boolean |
equals(java.lang.Object o) |
Context |
geo(Geo geo) |
Address |
getAddress()
Get address
|
Application |
getApplication()
Get application
|
java.lang.Boolean |
getBeacon()
In case beacon = true is provided in the request, the server will return a 204 No Content
response with no response body.
|
Browser |
getBrowser()
Get browser
|
ChannelType |
getChannel()
Get channel
|
ClientHints |
getClientHints()
Get clientHints
|
Geo |
getGeo()
Get geo
|
MobilePlatform |
getMobilePlatform()
Get mobilePlatform
|
Screen |
getScreen()
Get screen
|
java.lang.Double |
getTimeOffsetInMinutes()
Specifies minutes from UTC for specific client
|
java.lang.String |
getUserAgent()
User-Agent should be sent only via this property.
|
Window |
getWindow()
Get window
|
int |
hashCode() |
Context |
mobilePlatform(MobilePlatform mobilePlatform) |
Context |
screen(Screen screen) |
void |
setAddress(Address address) |
void |
setApplication(Application application) |
void |
setBeacon(java.lang.Boolean beacon) |
void |
setBrowser(Browser browser) |
void |
setChannel(ChannelType channel) |
void |
setClientHints(ClientHints clientHints) |
void |
setGeo(Geo geo) |
void |
setMobilePlatform(MobilePlatform mobilePlatform) |
void |
setScreen(Screen screen) |
void |
setTimeOffsetInMinutes(java.lang.Double timeOffsetInMinutes) |
void |
setUserAgent(java.lang.String userAgent) |
void |
setWindow(Window window) |
Context |
timeOffsetInMinutes(java.lang.Double timeOffsetInMinutes) |
java.lang.String |
toString() |
Context |
userAgent(java.lang.String userAgent) |
Context |
window(Window window) |
public Context channel(ChannelType channel)
public ChannelType getChannel()
public void setChannel(ChannelType channel)
public Context mobilePlatform(MobilePlatform mobilePlatform)
public MobilePlatform getMobilePlatform()
public void setMobilePlatform(MobilePlatform mobilePlatform)
public Context application(Application application)
public Application getApplication()
public void setApplication(Application application)
public Screen getScreen()
public void setScreen(Screen screen)
public Window getWindow()
public void setWindow(Window window)
public Browser getBrowser()
public void setBrowser(Browser browser)
public Address getAddress()
public void setAddress(Address address)
public Geo getGeo()
public void setGeo(Geo geo)
public Context timeOffsetInMinutes(java.lang.Double timeOffsetInMinutes)
public java.lang.Double getTimeOffsetInMinutes()
public void setTimeOffsetInMinutes(java.lang.Double timeOffsetInMinutes)
public Context userAgent(java.lang.String userAgent)
public java.lang.String getUserAgent()
public void setUserAgent(java.lang.String userAgent)
public Context clientHints(ClientHints clientHints)
public ClientHints getClientHints()
public void setClientHints(ClientHints clientHints)
public Context beacon(java.lang.Boolean beacon)
public java.lang.Boolean getBeacon()
public void setBeacon(java.lang.Boolean beacon)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object