public void unmarshal(HttpMethodBase response, HttpChannel context)
public void unmarshal(HttpMethod response, HttpChannel context)
    public void unmarshal(HttpMethodBase response, HttpChannel context)        throws ImageServiceException, IOException    {        //Make sure we actually got a binary stream.        checkStatusCode(response);        checkContentType(response, MIME_TYPE);                //Read the stream into buffer.        readResponseStream(response.getResponseBodyAsStream(), buffer,                            context.getBlockSize());    }