Package com.google.gerrit.common.data
Class HostPageData
- java.lang.Object
-
- com.google.gerrit.common.data.HostPageData
-
public class HostPageData extends Object
Data sent as part of the host page, to bootstrap the UI.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HostPageData.Message
static class
HostPageData.Theme
-
Field Summary
Fields Modifier and Type Field Description DiffPreferencesInfo
accountDiffPref
boolean
canLoadInIFrame
boolean
isNoteDbEnabled
List<HostPageData.Message>
messages
List<String>
plugins
Integer
pluginsLoadTimeout
HostPageData.Theme
theme
String
version
static String
XSRF_COOKIE_NAME
Name of the cookie in which the XSRF token is sent from the server to the client during host page bootstrapping.static String
XSRF_HEADER_NAME
Name of the HTTP header in which the client must send the XSRF token to the server on each request.
-
Constructor Summary
Constructors Constructor Description HostPageData()
-
-
-
Field Detail
-
XSRF_COOKIE_NAME
public static final String XSRF_COOKIE_NAME
Name of the cookie in which the XSRF token is sent from the server to the client during host page bootstrapping.- See Also:
- Constant Field Values
-
XSRF_HEADER_NAME
public static final String XSRF_HEADER_NAME
Name of the HTTP header in which the client must send the XSRF token to the server on each request.- See Also:
- Constant Field Values
-
version
public String version
-
accountDiffPref
public DiffPreferencesInfo accountDiffPref
-
theme
public HostPageData.Theme theme
-
messages
public List<HostPageData.Message> messages
-
pluginsLoadTimeout
public Integer pluginsLoadTimeout
-
isNoteDbEnabled
public boolean isNoteDbEnabled
-
canLoadInIFrame
public boolean canLoadInIFrame
-
-