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