- java.lang.Object
-
- com.gluonhq.connect.converter.OutputStreamOutputConverter<Void>
-
- com.gluonhq.connect.converter.VoidOutputConverter
-
- All Implemented Interfaces:
OutputConverter<Void>
public class VoidOutputConverter extends OutputStreamOutputConverter<Void>
An OutputConverter that doesn't write anything to an OutputStream.
-
-
Constructor Summary
Constructors Constructor Description VoidOutputConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(Void v)
Just closes the provided OutputStream.-
Methods inherited from class com.gluonhq.connect.converter.OutputStreamOutputConverter
getOutputStream, setOutputStream
-
-
-
-
Method Detail
-
write
public void write(Void v)
Just closes the provided OutputStream.- Parameters:
v
- the void instance, which is alwaysnull
.
-
-