Record Class InputStreamBusinessOut<O>
java.lang.Object
java.lang.Record
io.clonecloudstore.common.quarkus.client.InputStreamBusinessOut<O>
- Type Parameters:
- O- the type for Business Output request (in GET or POST)
- Record Components:
- dtoOut- the Business Out or null if none
- inputStream- the InputStream or null if none
- compressed- True if the InputStream is present and compressed (ZSTD)
public record InputStreamBusinessOut<O>(O dtoOut, InputStream inputStream, boolean compressed)
extends Record
InputStream dnd BusinessOut for Getting both information on Read Object
- 
Constructor SummaryConstructorsConstructorDescriptionInputStreamBusinessOut(O dtoOut, InputStream inputStream, boolean compressed) Creates an instance of aInputStreamBusinessOutrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns the value of thecompressedrecord component.dtoOut()Returns the value of thedtoOutrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinputStreamrecord component.final StringtoString()Returns a string representation of this record class.
- 
Constructor Details- 
InputStreamBusinessOutCreates an instance of aInputStreamBusinessOutrecord class.- Parameters:
- dtoOut- the value for the- dtoOutrecord component
- inputStream- the value for the- inputStreamrecord component
- compressed- the value for the- compressedrecord component
 
 
- 
- 
Method Details- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
dtoOutReturns the value of thedtoOutrecord component.- Returns:
- the value of the dtoOutrecord component
 
- 
inputStreamReturns the value of theinputStreamrecord component.- Returns:
- the value of the inputStreamrecord component
 
- 
compressedpublic boolean compressed()Returns the value of thecompressedrecord component.- Returns:
- the value of the compressedrecord component
 
 
-