public class ParseMetadata extends ParseJson<Metadata>
Modifier and Type | Class and Description |
---|---|
static class |
ParseMetadata.CLBMetadata
This class is here only to deal with the metadata format in CLB.
|
Constructor and Description |
---|
ParseMetadata(Json json,
com.google.inject.TypeLiteral<Metadata> type) |
Modifier and Type | Method and Description |
---|---|
Metadata |
apply(HttpResponse response)
parses the http response body to create a new
<T> . |
static Metadata |
transformCLBMetadataToMetadata(List<ParseMetadata.CLBMetadata> clbMetadatum) |
public Metadata apply(HttpResponse response)
ParseJson
<T>
.apply
in interface com.google.common.base.Function<HttpResponse,Metadata>
apply
in class ParseJson<Metadata>
public static Metadata transformCLBMetadataToMetadata(List<ParseMetadata.CLBMetadata> clbMetadatum)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.