Class ServerCharArrayMessageBodyHandler
- java.lang.Object
-
- org.jboss.resteasy.reactive.common.providers.serialisers.CharArrayMessageBodyHandler
-
- org.jboss.resteasy.reactive.server.providers.serialisers.ServerCharArrayMessageBodyHandler
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<char[]>,jakarta.ws.rs.ext.MessageBodyWriter<char[]>,ServerMessageBodyReader<char[]>,ServerMessageBodyWriter<char[]>
public class ServerCharArrayMessageBodyHandler extends CharArrayMessageBodyHandler implements ServerMessageBodyWriter<char[]>, ServerMessageBodyReader<char[]>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter
ServerMessageBodyWriter.AllWriteableMessageBodyWriter
-
-
Constructor Summary
Constructors Constructor Description ServerCharArrayMessageBodyHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisReadable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo lazyMethod, jakarta.ws.rs.core.MediaType mediaType)booleanisWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType)char[]readFrom(Class<char[]> type, Type genericType, jakarta.ws.rs.core.MediaType mediaType, ServerRequestContext context)voidwriteResponse(char[] o, Type genericType, ServerRequestContext context)-
Methods inherited from class org.jboss.resteasy.reactive.common.providers.serialisers.CharArrayMessageBodyHandler
isReadable, isWriteable, readFrom, writeTo
-
-
-
-
Method Detail
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteablein interfaceServerMessageBodyWriter<char[]>
-
writeResponse
public void writeResponse(char[] o, Type genericType, ServerRequestContext context) throws jakarta.ws.rs.WebApplicationException- Specified by:
writeResponsein interfaceServerMessageBodyWriter<char[]>- Throws:
jakarta.ws.rs.WebApplicationException
-
isReadable
public boolean isReadable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo lazyMethod, jakarta.ws.rs.core.MediaType mediaType)
- Specified by:
isReadablein interfaceServerMessageBodyReader<char[]>
-
readFrom
public char[] readFrom(Class<char[]> type, Type genericType, jakarta.ws.rs.core.MediaType mediaType, ServerRequestContext context) throws jakarta.ws.rs.WebApplicationException, IOException
- Specified by:
readFromin interfaceServerMessageBodyReader<char[]>- Throws:
jakarta.ws.rs.WebApplicationExceptionIOException
-
-