Record Class ByteBodyFactory.StreamingBody
java.lang.Object
java.lang.Record
io.micronaut.http.body.ByteBodyFactory.StreamingBody
- Record Components:
- The shared buffer to write data torootBody- The root body to read data from
- Enclosing class:
ByteBodyFactory
@Internal
public static record ByteBodyFactory.StreamingBody(BaseSharedBuffer sharedBuffer, BaseStreamingByteBody<?> rootBody)
extends Record
Return type for
ByteBodyFactory.createStreamingBody(BodySizeLimits, BufferConsumer.Upstream).
Internal API.- Since:
- 4.8.0
- Author:
- Jonas Konrad
-
Constructor Summary
ConstructorsConstructorDescriptionStreamingBody(BaseSharedBuffer sharedBuffer, BaseStreamingByteBody<?> rootBody) Creates an instance of aStreamingBodyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.rootBody()Returns the value of therootBodyrecord component.Returns the value of thesharedBufferrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
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). -
rootBody
-