Class HorizonResponse
- java.lang.Object
-
- com.yahoo.vespa.hosted.controller.api.integration.horizon.HorizonResponse
-
- All Implemented Interfaces:
AutoCloseable
public class HorizonResponse extends Object implements AutoCloseable
- Author:
- valerijf
-
-
Constructor Summary
Constructors Constructor Description HorizonResponse(int code, InputStream inputStream)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intcode()static HorizonResponseempty()InputStreaminputStream()
-
-
-
Constructor Detail
-
HorizonResponse
public HorizonResponse(int code, InputStream inputStream)
-
-
Method Detail
-
code
public int code()
-
inputStream
public InputStream inputStream()
-
empty
public static HorizonResponse empty()
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
-