Class LazyApiProxyEnvironment (2.0.0)

public class LazyApiProxyEnvironment implements ApiProxy.Environment

Inheritance

java.lang.Object > LazyApiProxyEnvironment

Constructors

LazyApiProxyEnvironment(Supplier<ApiProxyEnvironment> supplier)

public LazyApiProxyEnvironment(Supplier<ApiProxyEnvironment> supplier)
Parameter
Name Description
supplier Supplier<ApiProxyEnvironment>

Methods

aSyncApiCallAdded(long maxWaitMs)

public void aSyncApiCallAdded(long maxWaitMs)
Parameter
Name Description
maxWaitMs long
Exceptions
Type Description
ApiProxyException

addLogRecord(ApiProxy.LogRecord record)

public void addLogRecord(ApiProxy.LogRecord record)
Parameter
Name Description
record LogRecord

apiCallCompleted()

public void apiCallCompleted()

apiCallStarted(long maxWaitMs, boolean releasePendingCall)

public void apiCallStarted(long maxWaitMs, boolean releasePendingCall)
Parameters
Name Description
maxWaitMs long
releasePendingCall boolean
Exceptions
Type Description
ApiProxyException

flushLogs()

public void flushLogs()

getAppId()

public String getAppId()
Returns
Type Description
String

getAttributes()

public Map<String,Object> getAttributes()
Returns
Type Description
Map<String,Object>

getAuthDomain()

public String getAuthDomain()
Returns
Type Description
String

getEmail()

public String getEmail()
Returns
Type Description
String

getModuleId()

public String getModuleId()
Returns
Type Description
String

getRemainingMillis()

public long getRemainingMillis()
Returns
Type Description
long

getRequestNamespace()

public String getRequestNamespace()
Returns
Type Description
String

getServer()

public String getServer()
Returns
Type Description
String

getTicket()

public String getTicket()
Returns
Type Description
String

getVersionId()

public String getVersionId()
Returns
Type Description
String

isAdmin()

public boolean isAdmin()
Returns
Type Description
boolean

isLoggedIn()

public boolean isLoggedIn()
Returns
Type Description
boolean