- java.lang.Object
-
- com.gluonhq.connect.converter.InputStreamInputConverter<Void>
-
- com.gluonhq.connect.converter.VoidInputConverter
-
- All Implemented Interfaces:
InputConverter<Void>
public class VoidInputConverter extends InputStreamInputConverter<Void>
An InputConverter that reads the entire InputStream, while discarding its contents.
-
-
Constructor Summary
Constructors Constructor Description VoidInputConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
read()
Reads from an InputStream and always returnsnull
.-
Methods inherited from class com.gluonhq.connect.converter.InputStreamInputConverter
getInputStream, setInputStream
-
-
-
-
Method Detail
-
read
public Void read()
Reads from an InputStream and always returnsnull
.- Returns:
- A
null
object.
-
-