public class ParseAccountMetadataResponseFromHeaders extends Object implements com.google.common.base.Function<HttpResponse,AccountMetadata>
AccountMetadata
from HTTP headers.Constructor and Description |
---|
ParseAccountMetadataResponseFromHeaders() |
Modifier and Type | Method and Description |
---|---|
AccountMetadata |
apply(HttpResponse from)
parses the http response headers to create a new
AccountMetadata object. |
public ParseAccountMetadataResponseFromHeaders()
public AccountMetadata apply(HttpResponse from)
AccountMetadata
object.apply
in interface com.google.common.base.Function<HttpResponse,AccountMetadata>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.