Class B2HeadersImpl
- java.lang.Object
- 
- com.backblaze.b2.client.contentSources.B2HeadersImpl
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classB2HeadersImpl.Builder
 - 
Field Summary- 
Fields inherited from interface com.backblaze.b2.client.contentSources.B2HeadersAUTHORIZATION, CLIENT_UNAUTHORIZED_TO_READ, CONTENT_LENGTH, CONTENT_MD5, CONTENT_RANGE, CONTENT_SHA1, CONTENT_TYPE, CUSTOM_UPLOAD_TIMESTAMP, EXPECT, FILE_ID, FILE_INFO_PREFIX, FILE_LEGAL_HOLD, FILE_NAME, FILE_RETENTION_MODE, FILE_RETENTION_RETAIN_UNTIL_TIMESTAMP, HEX_DIGITS_AT_END, LARGE_FILE_SHA1, LARGE_FILE_SHA1_INFO_NAME, PART_NUMBER, RANGE, REPLICATION_STATUS, RETRY_AFTER, SERVER_SIDE_ENCRYPTION, SERVER_SIDE_ENCRYPTION_CUSTOMER_ALGORITHM, SERVER_SIDE_ENCRYPTION_CUSTOMER_KEY, SERVER_SIDE_ENCRYPTION_CUSTOMER_KEY_MD5, SRC_LAST_MODIFIED_MILLIS, SRC_LAST_MODIFIED_MILLIS_INFO_NAME, TEST_MODE, UPLOAD_TIMESTAMP, USER_AGENT
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static B2HeadersImpl.Builderbuilder()static B2HeadersImpl.Builderbuilder(B2Headers headersOrNull)java.util.Collection<java.lang.String>getNames()java.lang.StringgetValueOrNull(java.lang.String name)java.lang.StringtoString()- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface com.backblaze.b2.client.contentSources.B2HeadersgetB2FileInfo, getClientUnauthorizedToReadHeaderList, getContentLength, getContentMd5OrNull, getContentSha1EvenIfUnverifiedOrNull, getContentSha1OrNull, getContentType, getFileLegalHoldOrNull, getFileNameOrNull, getFileRetentionModeOrNull, getFileRetentionRetainUntilTimestampOrNull, getLargeFileSha1OrNull, getReplicationStatusOrNull, getServerSideEncryptionOrNull, getSrcLastModifiedMillis, getSseCustomerAlgorithmOrNull, getSseCustomerKeyMd5OrNull, getUploadTimestampOrNull, hasContentRange, isClientUnauthorizedToReadFileRetention, isClientUnauthorizedToReadLegalHold
 
- 
 
- 
- 
- 
Method Detail- 
getNamespublic java.util.Collection<java.lang.String> getNames() 
 - 
getValueOrNullpublic java.lang.String getValueOrNull(java.lang.String name) - Specified by:
- getValueOrNullin interface- B2Headers
- Returns:
- the value for the given header name, or null if none.
 
 - 
builderpublic static B2HeadersImpl.Builder builder() - Returns:
- a new builder with no headers set yet.
 
 - 
builderpublic static B2HeadersImpl.Builder builder(B2Headers headersOrNull) - Parameters:
- headersOrNull- if non-null, the headers to prepopulate in the builder.
- Returns:
- a new builder. if headersOrNull != null, the values from those headers will have already been set on the returned builder.
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-