@Provider public static class OpenEntity.Writer extends Object implements javax.ws.rs.ext.MessageBodyWriter<OpenEntity>
MessageBodyWriter
for OpenEntity
.构造器和说明 |
---|
OpenEntity.Writer() |
限定符和类型 | 方法和说明 |
---|---|
long |
getSize(OpenEntity e,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> clazz,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
writeTo(OpenEntity e,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream out) |
public boolean isWriteable(Class<?> clazz, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable
在接口中 javax.ws.rs.ext.MessageBodyWriter<OpenEntity>
public long getSize(OpenEntity e, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize
在接口中 javax.ws.rs.ext.MessageBodyWriter<OpenEntity>
public void writeTo(OpenEntity e, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream out) throws IOException
writeTo
在接口中 javax.ws.rs.ext.MessageBodyWriter<OpenEntity>
IOException
Copyright © 2009 The Apache Software Foundation