Uses of Class
org.restlet.data.Digest

Packages that use Digest
Package
Description
Common representation data elements.
Various utility classes.
  • Uses of Digest in org.restlet.representation

    Methods in org.restlet.representation that return Digest
    Modifier and Type
    Method
    Description
    DigesterRepresentation.computeDigest()
    Compute the representation digest according to MD5 algorithm.
    If case this algorithm is the same as the one provided at instantiation, the computation operation is made with the current stored computed value and does not require to entirely exhaust the representation's stream.
    DigesterRepresentation.computeDigest(String algorithm)
    Compute the representation digest according to the given algorithm.
    Since this method entirely reads the representation stream, user must take care of the content of the representation in case the latter is transient.
    DigesterRepresentation.getComputedDigest()
    Returns the current computed digest value of the representation.
    Representation.getDigest()
    Returns the representation digest if any.

    Note that when used with HTTP connectors, this property maps to the "Content-MD5" header.
    Methods in org.restlet.representation with parameters of type Digest
    Modifier and Type
    Method
    Description
    void
    Representation.setDigest(Digest digest)
    Sets the representation digest.

    Note that when used with HTTP connectors, this property maps to the "Content-MD5" header.
  • Uses of Digest in org.restlet.util

    Methods in org.restlet.util that return Digest
    Modifier and Type
    Method
    Description
    WrapperRepresentation.getDigest()
     
    Methods in org.restlet.util with parameters of type Digest
    Modifier and Type
    Method
    Description
    void
    WrapperRepresentation.setDigest(Digest digest)