Class NettyCompletedAttribute
java.lang.Object
io.micronaut.http.server.netty.multipart.NettyCompletedAttribute
- All Implemented Interfaces:
- CompletedPart,- PartData
A delegation of the Netty 
Attribute to implement
 the CompletedPart contract.- Since:
- 1.3.0
- Author:
- James Kleeh
- 
Constructor SummaryConstructorsConstructorDescriptionNettyCompletedAttribute(io.netty.handler.codec.http.multipart.Attribute attribute) 
- 
Method Summary
- 
Constructor Details- 
NettyCompletedAttributepublic NettyCompletedAttribute(io.netty.handler.codec.http.multipart.Attribute attribute) - Parameters:
- attribute- The netty attribute
 
 
- 
- 
Method Details- 
getName- Specified by:
- getNamein interface- CompletedPart
- Returns:
- The name of the part
 
- 
getInputStreamDescription copied from interface:PartDataGets the content of this chunk as anInputStream.- Specified by:
- getInputStreamin interface- PartData
- Returns:
- The content of this chunk as an InputStream
- Throws:
- IOException- If an error occurs in retrieving the content
 
- 
getBytesDescription copied from interface:PartDataGets the content of this chunk as abyte[].- Specified by:
- getBytesin interface- PartData
- Returns:
- The content of this chunk as a byte[]
- Throws:
- IOException- If an error occurs in retrieving the content
 
- 
getByteBufferDescription copied from interface:PartDataGets the content of this chunk as aByteBuffer.- Specified by:
- getByteBufferin interface- PartData
- Returns:
- The content of this chunk as a ByteBuffer
- Throws:
- IOException- If an error occurs in retrieving the content
 
- 
getContentTypeDescription copied from interface:PartDataGets the content type of this chunk.- Specified by:
- getContentTypein interface- PartData
- Returns:
- The content type of this chunk.
 
 
-