@Singleton public class KeyValuesDelimitedByBlankLinesToServerInfo extends Object implements com.google.common.base.Function<HttpResponse,ServerInfo>
Constructor and Description |
---|
KeyValuesDelimitedByBlankLinesToServerInfo(ListOfKeyValuesDelimitedByBlankLinesToServerInfoSet setParser) |
Modifier and Type | Method and Description |
---|---|
ServerInfo |
apply(HttpResponse response) |
@Inject public KeyValuesDelimitedByBlankLinesToServerInfo(ListOfKeyValuesDelimitedByBlankLinesToServerInfoSet setParser)
public ServerInfo apply(HttpResponse response)
apply
in interface Function<HttpResponse,ServerInfo>
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.