org.trialox.jaxrs.blackbox
Class TestPutWithReader.MyReader

java.lang.Object
  extended by org.trialox.jaxrs.blackbox.TestPutWithReader.MyReader
All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyReader<TestPutWithReader.MyMessage>
Enclosing class:
TestPutWithReader

@Provider
public static class TestPutWithReader.MyReader
extends java.lang.Object
implements javax.ws.rs.ext.MessageBodyReader<TestPutWithReader.MyMessage>


Constructor Summary
TestPutWithReader.MyReader()
           
 
Method Summary
 boolean isReadable(java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations)
           
 TestPutWithReader.MyMessage readFrom(java.lang.Class<TestPutWithReader.MyMessage> 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.String> httpHeaders, java.io.InputStream entityStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestPutWithReader.MyReader

public TestPutWithReader.MyReader()
Method Detail

isReadable

public boolean isReadable(java.lang.Class<?> type,
                          java.lang.reflect.Type genericType,
                          java.lang.annotation.Annotation[] annotations)
Specified by:
isReadable in interface javax.ws.rs.ext.MessageBodyReader<TestPutWithReader.MyMessage>

readFrom

public TestPutWithReader.MyMessage readFrom(java.lang.Class<TestPutWithReader.MyMessage> 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.String> httpHeaders,
                                            java.io.InputStream entityStream)
                                     throws java.io.IOException,
                                            javax.ws.rs.WebApplicationException
Specified by:
readFrom in interface javax.ws.rs.ext.MessageBodyReader<TestPutWithReader.MyMessage>
Throws:
java.io.IOException
javax.ws.rs.WebApplicationException


Copyright © 2008. All Rights Reserved.