Package com.google.apphosting.runtime
Class RequestManager.RequestToken
- java.lang.Object
-
- com.google.apphosting.runtime.RequestManager.RequestToken
-
- Enclosing class:
- RequestManager
public static class RequestManager.RequestToken extends Object
RequestTokenacts as a Memento object that passes state between a call tostartRequestandfinishRequest. It should be treated as opaque by clients.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAppLogMessage(com.google.apphosting.api.ApiProxy.LogRecord.Level level, String message)AppVersiongetAppVersion()AppVersionKeygetAppVersionKey()longgetDeadline()StringgetRequestId()StringgetSecurityTicket()longgetStartTimeMillis()RequestStategetState()
-
-
-
Method Detail
-
getState
public RequestState getState()
-
getRequestId
public String getRequestId()
-
getSecurityTicket
public String getSecurityTicket()
-
getAppVersion
public AppVersion getAppVersion()
-
getAppVersionKey
public AppVersionKey getAppVersionKey()
-
getDeadline
public long getDeadline()
-
getStartTimeMillis
public long getStartTimeMillis()
-
addAppLogMessage
public void addAppLogMessage(com.google.apphosting.api.ApiProxy.LogRecord.Level level, String message)
-
-