Class VespaHttpClient
- java.lang.Object
-
- com.yahoo.vespa.hadoop.mapreduce.util.VespaHttpClient
-
public class VespaHttpClient extends Object
-
-
Constructor Summary
Constructors Constructor Description VespaHttpClient()
VespaHttpClient(VespaConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get(String url)
com.fasterxml.jackson.databind.JsonNode
parseResultJson(String json, String rootNode)
-
-
-
Constructor Detail
-
VespaHttpClient
public VespaHttpClient()
-
VespaHttpClient
public VespaHttpClient(VespaConfiguration configuration)
-
-
Method Detail
-
get
public String get(String url) throws IOException
- Throws:
IOException
-
parseResultJson
public com.fasterxml.jackson.databind.JsonNode parseResultJson(String json, String rootNode) throws IOException
- Throws:
IOException
-
-