| java.lang.Object HTTPClient.ContentMD5Module
ContentMD5Module | class ContentMD5Module implements HTTPClientModule,GlobalConstants(Code) | | This module handles the Content-MD5 response header. If this header was
sent with a response and the entity isn't encoded using an unknown
transport encoding then an MD5InputStream is wrapped around the response
input stream. The MD5InputStream keeps a running digest and checks this
against the expected digest from the Content-MD5 header the stream is
closed. An IOException is thrown at that point if the digests don't match.
version: 0.3-2 18/06/1999 author: Ronald Tschalär |
ContentMD5Module | ContentMD5Module()(Code) | | |
responsePhase1Handler | public void responsePhase1Handler(Response resp, RoRequest req)(Code) | | Invoked by the HTTPClient.
|
responsePhase2Handler | public int responsePhase2Handler(Response resp, Request req)(Code) | | Invoked by the HTTPClient.
|
|
|