Class FormWriter
- java.lang.Object
-
- org.glassfish.admin.rest.provider.FormWriter
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyWriter<Dom>
@Produces("application/x-www-form-urlencoded") @Provider public class FormWriter extends Object implements jakarta.ws.rs.ext.MessageBodyWriter<Dom>
- Author:
- mh124079, Ludovic Champenois [email protected]
-
-
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 long
getSize(Dom data, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
boolean
isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
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)
-
-
-
Method Detail
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteable
in 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:
getSize
in 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:
writeTo
in interfacejakarta.ws.rs.ext.MessageBodyWriter<Dom>
- Throws:
IOException
-
-