Class CharacterMessageBodyHandler
- java.lang.Object
-
- org.jboss.resteasy.reactive.common.providers.serialisers.PrimitiveBodyHandler
-
- org.jboss.resteasy.reactive.common.providers.serialisers.CharacterMessageBodyHandler
-
- All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyReader<Character>
public class CharacterMessageBodyHandler extends PrimitiveBodyHandler implements javax.ws.rs.ext.MessageBodyReader<Character>
-
-
Constructor Summary
Constructors Constructor Description CharacterMessageBodyHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected char
doReadFrom(InputStream entityStream)
boolean
isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
Character
readFrom(Class<Character> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream)
-
Methods inherited from class org.jboss.resteasy.reactive.common.providers.serialisers.PrimitiveBodyHandler
readFrom
-
-
-
-
Method Detail
-
isReadable
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
- Specified by:
isReadable
in interfacejavax.ws.rs.ext.MessageBodyReader<Character>
-
readFrom
public Character readFrom(Class<Character> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, javax.ws.rs.WebApplicationException
- Specified by:
readFrom
in interfacejavax.ws.rs.ext.MessageBodyReader<Character>
- Throws:
IOException
javax.ws.rs.WebApplicationException
-
doReadFrom
protected char doReadFrom(InputStream entityStream) throws IOException
- Throws:
IOException
-
-