com.baidubce.http.handler
Class BceMetadataResponseHandler
java.lang.Object
com.baidubce.http.handler.BceMetadataResponseHandler
- All Implemented Interfaces:
- HttpResponseHandler
public class BceMetadataResponseHandler
- extends Object
- implements HttpResponseHandler
HTTP response handler for Baidu BCE responses. Provides common utilities that other specialized BCE response
handlers need to share such as pulling common response metadata (ex: request IDs) out of headers.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BceMetadataResponseHandler
public BceMetadataResponseHandler()
handle
public boolean handle(BceHttpResponse httpResponse,
AbstractBceResponse response)
throws Exception
- Specified by:
handle
in interface HttpResponseHandler
- Throws:
Exception
Copyright © 2018. All rights reserved.