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