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 org.jboss.resteasy.reactive.common.providers.serialisers.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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanisReadable(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, writeToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.ws.rs.ext.MessageBodyReader
isReadable, readFromMethods inherited from interface jakarta.ws.rs.ext.MessageBodyWriter
getSize, isWriteable, writeTo
-
Constructor Details
-
ServerCharArrayMessageBodyHandler
public ServerCharArrayMessageBodyHandler()
-
-
Method Details
-
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
-