Package | Description |
---|---|
org.sagebionetworks.bridge.rest | |
org.sagebionetworks.bridge.rest.model |
Modifier and Type | Method and Description |
---|---|
ClientInfo |
ClientManager.getClientInfo() |
Modifier and Type | Method and Description |
---|---|
static String |
RestUtils.getUserAgent(ClientInfo info)
Convert ClientInfo object into a User-Agent header value that can be used by the Bridge
server to filter content appropriately for your app.
|
ClientManager.Builder |
ClientManager.Builder.withClientInfo(ClientInfo clientInfo)
Provide a ClientInfo object for requests made by clients from this ClientManager.
|
Modifier and Type | Method and Description |
---|---|
ClientInfo |
ClientInfo.appName(String appName) |
ClientInfo |
ClientInfo.appVersion(Integer appVersion) |
ClientInfo |
ClientInfo.deviceName(String deviceName) |
ClientInfo |
RequestInfo.getClientInfo()
The `User-Agent` string from the last request as parsed for the purpose of applying filtering criteria.
|
ClientInfo |
ClientInfo.osName(String osName) |
ClientInfo |
ClientInfo.osVersion(String osVersion) |
ClientInfo |
ClientInfo.sdkName(String sdkName) |
ClientInfo |
ClientInfo.sdkVersion(Integer sdkVersion) |
Modifier and Type | Method and Description |
---|---|
RequestInfo |
RequestInfo.clientInfo(ClientInfo clientInfo) |
void |
RequestInfo.setClientInfo(ClientInfo clientInfo) |
Copyright © 2023 Sage Bionetworks. All rights reserved.