Package web5.sdk.dids

Class DidResolutionMetadata

  • All Implemented Interfaces:

    
    public final class DidResolutionMetadata
    
                        

    Holds metadata about the results of the DID resolution process.

    • Constructor Detail

    • Method Detail

      • getContentType

         final String getContentType()

        The MIME type of the DID document. This is mandatory unless an error is present.

      • setContentType

         final Unit setContentType(String contentType)

        The MIME type of the DID document. This is mandatory unless an error is present.

      • getError

         final String getError()

        An error message explaining why the DID resolution failed, if applicable.

      • setError

         final Unit setError(String error)

        An error message explaining why the DID resolution failed, if applicable.