Class UserMessageBodyWriter
- java.lang.Object
-
- org.apache.openmeetings.webservice.util.UserMessageBodyWriter
-
-
Constructor Summary
Constructors Constructor Description UserMessageBodyWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetSize(UserDTO t, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)booleanisWriteable(Class<?> clazz, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)voidwriteTo(UserDTO t, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream out)
-
-
-
Method Detail
-
isWriteable
public boolean isWriteable(Class<?> clazz, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteablein interfacejavax.ws.rs.ext.MessageBodyWriter<UserDTO>
-
getSize
public long getSize(UserDTO t, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
- Specified by:
getSizein interfacejavax.ws.rs.ext.MessageBodyWriter<UserDTO>
-
writeTo
public void writeTo(UserDTO t, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream out) throws IOException
- Specified by:
writeToin interfacejavax.ws.rs.ext.MessageBodyWriter<UserDTO>- Throws:
IOException
-
-