Class NettyCompletedAttribute
java.lang.Object
io.micronaut.http.server.netty.multipart.NettyCompletedAttribute
- All Implemented Interfaces:
io.micronaut.http.multipart.CompletedPart,io.micronaut.http.multipart.PartData
@Internal
public class NettyCompletedAttribute
extends Object
implements io.micronaut.http.multipart.CompletedPart
A delegation of the Netty
Attribute to implement
the CompletedPart contract.- Since:
- 1.3.0
-
Constructor Summary
ConstructorsConstructorDescriptionNettyCompletedAttribute(io.netty.handler.codec.http.multipart.Attribute attribute) -
Method Summary
-
Constructor Details
-
NettyCompletedAttribute
public NettyCompletedAttribute(io.netty.handler.codec.http.multipart.Attribute attribute) - Parameters:
attribute- The netty attribute
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceio.micronaut.http.multipart.CompletedPart
-
getInputStream
- Specified by:
getInputStreamin interfaceio.micronaut.http.multipart.PartData- Throws:
IOException
-
getBytes
- Specified by:
getBytesin interfaceio.micronaut.http.multipart.PartData- Throws:
IOException
-
getByteBuffer
- Specified by:
getByteBufferin interfaceio.micronaut.http.multipart.PartData- Throws:
IOException
-
getContentType
- Specified by:
getContentTypein interfaceio.micronaut.http.multipart.PartData
-