public class FindFileForSharedLinkHeaders extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FindFileForSharedLinkHeaders.Builder |
| Modifier and Type | Field and Description |
|---|---|
String |
boxapi
A header containing the shared link and optional password for the shared link.
|
Map<String,String> |
extraHeaders
Extra headers that will be included in the HTTP request.
|
String |
ifNoneMatch
Ensures an item is only returned if it has changed.
|
| Modifier | Constructor and Description |
|---|---|
protected |
FindFileForSharedLinkHeaders(FindFileForSharedLinkHeaders.Builder builder) |
|
FindFileForSharedLinkHeaders(String boxapi) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBoxapi() |
Map<String,String> |
getExtraHeaders() |
String |
getIfNoneMatch() |
public String ifNoneMatch
Pass in the item's last observed `etag` value into this header and the endpoint will fail with a `304 Not Modified` if the item has not changed since.
public final String boxapi
The format for this header is as follows:
`shared_link=[link]&shared_link_password=[password]`.
public Map<String,String> extraHeaders
public FindFileForSharedLinkHeaders(String boxapi)
protected FindFileForSharedLinkHeaders(FindFileForSharedLinkHeaders.Builder builder)
public String getIfNoneMatch()
public Map<String,String> getExtraHeaders()