public class StorageMetadataResponseHandler extends AbstractResponseHandler<ObjectMetadata>
ObjectMetadata
オブジェクトへ
その情報を変換するレスポンスハンドラですConstructor and Description |
---|
StorageMetadataResponseHandler() |
Modifier and Type | Method and Description |
---|---|
IIJGIOWebServiceResponse<ObjectMetadata> |
handle(HttpResponse response)
HTTPレスポンスオブジェクトを受け取り、任意の型のオブジェクトを変えhします。
それぞれの実装ではレスポンスを処理するか選択することが出来ます。しかし、
なんらかの型のレスポンスは返す必要があります
|
needsConnectionLeftOpen, parseResponseMetadata, populateObjectMetadata
public IIJGIOWebServiceResponse<ObjectMetadata> handle(HttpResponse response) throws Exception
HttpResponseHandler
response
- 処理を行う、IIJ GIOストレージ&アナリシスサービス APIより返された
HTTPレスポンスオブジェクトException
- レスポンスの処理で問題が発生した場合HttpResponseHandler.handle(com.iijgio.dag.http.HttpResponse)
Copyright © 2018. All rights reserved.