Package io.micronaut.jaxrs.common
Class HttpMessageEntityReader
java.lang.Object
io.micronaut.jaxrs.common.HttpMessageEntityReader
En entity reader.
- Since:
- 4.6
- Author:
- Denis Stepanov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TreadEntity(ByteBuffer<?> byteBuffer, Argument<T> entityType) Read the entity.<T> TreadEntity(HttpMessage<?> message, Argument<T> entityType) Read the entity.
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
HttpMessageEntityReader
public HttpMessageEntityReader()
-
-
Method Details
-
readEntity
Read the entity.- Type Parameters:
T- The entity type- Parameters:
message- The messageentityType- the entity type- Returns:
- The entity value
-
readEntity
Read the entity.- Type Parameters:
T- The entity type- Parameters:
byteBuffer- The bufferentityType- the entity type- Returns:
- The entity value
-