Record Class InputStreamBusinessOut<O>
java.lang.Object
java.lang.Record
io.clonecloudstore.accessor.apache.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 noneinputStream
- the InputStream or null if none
InputStream dnd BusinessOut for Getting both information on Read Object
-
Constructor Summary
ConstructorsConstructorDescriptionInputStreamBusinessOut
(O dtoOut, InputStream inputStream) Creates an instance of aInputStreamBusinessOut
record class. -
Method Summary
Modifier and TypeMethodDescriptiondtoOut()
Returns the value of thedtoOut
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theinputStream
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
InputStreamBusinessOut
Creates an instance of aInputStreamBusinessOut
record class.- Parameters:
dtoOut
- the value for thedtoOut
record componentinputStream
- the value for theinputStream
record component
-
-
Method Details
-
toString
Returns 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. -
hashCode
public 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. -
equals
Indicates 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. All components in this record class are compared withObjects::equals(Object,Object)
. -
dtoOut
Returns the value of thedtoOut
record component.- Returns:
- the value of the
dtoOut
record component
-
inputStream
Returns the value of theinputStream
record component.- Returns:
- the value of the
inputStream
record component
-