public class Context
extends java.lang.Object
getProperty(String)
.Modifier and Type | Class and Description |
---|---|
protected static class |
Context.ContextBaseBuilder<R extends Context,B extends Context.ContextBaseBuilder<R,B>> |
static class |
Context.ContextBuilder |
Modifier | Constructor and Description |
---|---|
protected |
Context() |
protected |
Context(java.lang.String platform,
java.util.Map<java.lang.String,java.lang.Object> properties) |
Modifier and Type | Method and Description |
---|---|
static Context.ContextBuilder |
builder() |
boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getPlatform() |
java.util.Map<java.lang.String,java.lang.Object> |
getProperties() |
java.lang.Object |
getProperty(java.lang.String key)
Get the value of a field in the request with the given key.
|
int |
hashCode() |
java.lang.String |
toString() |
protected Context()
protected Context(java.lang.String platform, java.util.Map<java.lang.String,java.lang.Object> properties)
public java.lang.String getPlatform()
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
public java.lang.Object getProperty(java.lang.String key)
key
- the key of the value to retrievepublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static Context.ContextBuilder builder()