Class NamedBlobPath


  • public class NamedBlobPath
    extends java.lang.Object
    Represents the blob url parsing results for named blob.
    • Method Detail

      • parse

        public static NamedBlobPath parse​(java.lang.String path)
                                   throws RestServiceException
        Parse the input path if it's a named blob request.
        Parameters:
        path - the URI path that needs to be parsed. This path should already be URL decoded and have query paramaters removed. In the request handling path, this would be done by the RestRequest implementation.
        Returns:
        the NamedBlobPath that indicates the parsing result from blobUrl.
        Throws:
        RestServiceException - on parsing errors.
      • getAccountName

        public java.lang.String getAccountName()
        Get the account name.
        Returns:
        account name of the named blob.
      • getContainerName

        public java.lang.String getContainerName()
        Get the container name.
        Returns:
        container name of the named blob.
      • getBlobName

        public java.lang.String getBlobName()
        Get the blob name.
        Returns:
        blob name of named blob.