Class FormWriter
- java.lang.Object
-
- org.glassfish.admin.rest.provider.FormWriter
-
-
Field Summary
Fields Modifier and Type Field Description protected jakarta.inject.Provider<jakarta.ws.rs.core.UriInfo>uriInfo
-
Constructor Summary
Constructors Constructor Description FormWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetSize(Dom data, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)booleanisWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)voidwriteTo(Dom data, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,Object> headers, OutputStream out)
-
-
-
Method Detail
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteablein interfacejakarta.ws.rs.ext.MessageBodyWriter<Dom>
-
getSize
public long getSize(Dom data, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
- Specified by:
getSizein interfacejakarta.ws.rs.ext.MessageBodyWriter<Dom>
-
writeTo
public void writeTo(Dom data, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,Object> headers, OutputStream out) throws IOException
- Specified by:
writeToin interfacejakarta.ws.rs.ext.MessageBodyWriter<Dom>- Throws:
IOException
-
-