Uses of Class
org.restlet.data.Digest
-
Packages that use Digest Package Description org.restlet.representation Common representation data elements.org.restlet.util Various utility classes. -
-
Uses of Digest in org.restlet.representation
Methods in org.restlet.representation that return Digest Modifier and Type Method Description Digest
DigesterRepresentation. computeDigest()
Compute the representation digest according to MD5 algorithm.
If case this algorithm is the same than the one provided at instantiation, the computation operation is made with the current stored computed value and does not require to exhaust entirely the representation's stream.Digest
DigesterRepresentation. computeDigest(java.lang.String algorithm)
Compute the representation digest according to the given algorithm.
Since this method reads entirely the representation's stream, user must take care of the content of the representation in case the latter is transient.Digest
DigesterRepresentation. getComputedDigest()
Returns the current computed digest value of the representation.Digest
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 Digest
WrapperRepresentation. getDigest()
Methods in org.restlet.util with parameters of type Digest Modifier and Type Method Description void
WrapperRepresentation. setDigest(Digest digest)
-