org.glassfish.admin.rest.provider
Class FormWriter
java.lang.Object
org.glassfish.admin.rest.provider.FormWriter
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyWriter<org.jvnet.hk2.config.Dom>
@Provider
public class FormWriter
- extends java.lang.Object
- implements javax.ws.rs.ext.MessageBodyWriter<org.jvnet.hk2.config.Dom>
- Author:
- mh124079, Ludovic Champenois ludo@dev.java.net
|
Field Summary |
protected javax.ws.rs.core.UriInfo |
uriInfo
|
|
Method Summary |
long |
getSize(org.jvnet.hk2.config.Dom data,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
|
boolean |
isWriteable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
|
void |
writeTo(org.jvnet.hk2.config.Dom data,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> headers,
java.io.OutputStream out)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
uriInfo
@Context
protected javax.ws.rs.core.UriInfo uriInfo
FormWriter
public FormWriter()
isWriteable
public boolean isWriteable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<org.jvnet.hk2.config.Dom>
getSize
public long getSize(org.jvnet.hk2.config.Dom data,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
- Specified by:
getSize in interface javax.ws.rs.ext.MessageBodyWriter<org.jvnet.hk2.config.Dom>
writeTo
public void writeTo(org.jvnet.hk2.config.Dom data,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> headers,
java.io.OutputStream out)
throws java.io.IOException
- Specified by:
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<org.jvnet.hk2.config.Dom>
- Throws:
java.io.IOException
Copyright © 2012 GlassFish Community. All Rights Reserved.