org.xcmis.restatom
Class AbderaResponseEntityProvider
java.lang.Object
org.xcmis.restatom.AbderaResponseEntityProvider
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyReader<org.apache.abdera.protocol.server.ResponseContext>, javax.ws.rs.ext.MessageBodyWriter<org.apache.abdera.protocol.server.ResponseContext>, org.exoplatform.services.rest.provider.EntityProvider<org.apache.abdera.protocol.server.ResponseContext>
@Provider
public class AbderaResponseEntityProvider
- extends Object
- implements org.exoplatform.services.rest.provider.EntityProvider<org.apache.abdera.protocol.server.ResponseContext>
- Version:
- $Id: AbderaResponseEntityProvider.java 44 2010-02-08 17:36:56Z andrew00x $
- Author:
- Andrey Parfonov
|
Method Summary |
long |
getSize(org.apache.abdera.protocol.server.ResponseContext t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
|
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
|
org.apache.abdera.protocol.server.ResponseContext |
readFrom(Class<org.apache.abdera.protocol.server.ResponseContext> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
|
void |
writeTo(org.apache.abdera.protocol.server.ResponseContext t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbderaResponseEntityProvider
public AbderaResponseEntityProvider()
getSize
public long getSize(org.apache.abdera.protocol.server.ResponseContext t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
-
- Specified by:
getSize in interface javax.ws.rs.ext.MessageBodyWriter<org.apache.abdera.protocol.server.ResponseContext>
isReadable
public boolean isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
-
- Specified by:
isReadable in interface javax.ws.rs.ext.MessageBodyReader<org.apache.abdera.protocol.server.ResponseContext>
isWriteable
public boolean isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
-
- Specified by:
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<org.apache.abdera.protocol.server.ResponseContext>
readFrom
public org.apache.abdera.protocol.server.ResponseContext readFrom(Class<org.apache.abdera.protocol.server.ResponseContext> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
throws IOException,
javax.ws.rs.WebApplicationException
-
- Specified by:
readFrom in interface javax.ws.rs.ext.MessageBodyReader<org.apache.abdera.protocol.server.ResponseContext>
- Throws:
IOException
javax.ws.rs.WebApplicationException
writeTo
public void writeTo(org.apache.abdera.protocol.server.ResponseContext t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
throws IOException,
javax.ws.rs.WebApplicationException
-
- Specified by:
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<org.apache.abdera.protocol.server.ResponseContext>
- Throws:
IOException
javax.ws.rs.WebApplicationException
Copyright © 2011 eXo Platform SAS. All Rights Reserved.