Class GetBlobOptionsBuilder

    • Constructor Detail

      • GetBlobOptionsBuilder

        public GetBlobOptionsBuilder()
    • Method Detail

      • resolveRangeOnEmptyBlob

        public GetBlobOptionsBuilder resolveRangeOnEmptyBlob​(boolean resolveRangeOnEmptyBlob)
        Parameters:
        resolveRangeOnEmptyBlob - true to indicate that the router should a successful response for a range request against an empty (0 byte) blob instead of returning a RouterErrorCode.RangeNotSatisfiable error.
        Returns:
        this builder
      • rawMode

        public GetBlobOptionsBuilder rawMode​(boolean rawMode)
        Parameters:
        rawMode - the raw mode flag for this get request. If rawMode is true, the returned GetBlobResult will contain the raw (unserialized) blob payload in the data channel and null blobInfo. This option cannot be used in conjunction with a byte range.
        Returns:
        this builder
      • blobSegment

        public GetBlobOptionsBuilder blobSegment​(int blobSegmentIdx)
        Parameters:
        blobSegmentIdx - blob segment index of a metadata blob that one wants to get.
        Returns:
        this builder