org.glassfish.jersey.message.internal
Interface Entity


public interface Entity

Jersey message entity internal contract.

Author:
Marek Potociar (marek.potociar at oracle.com)

Nested Class Summary
static interface Entity.Builder<B extends Entity.Builder>
           
 
Method Summary
 void bufferEntity()
           
 java.lang.Object content()
           
<T> T
content(java.lang.Class<T> type)
           
<T> T
content(java.lang.Class<T> type, java.lang.annotation.Annotation[] annotations)
           
<T> T
content(GenericType<T> type)
           
<T> T
content(GenericType<T> type, java.lang.annotation.Annotation[] annotations)
           
 boolean isEmpty()
           
 boolean isEntityRetrievable()
           
 java.lang.reflect.Type type()
           
 

Method Detail

isEmpty

boolean isEmpty()

content

java.lang.Object content()

content

<T> T content(java.lang.Class<T> type)

content

<T> T content(GenericType<T> type)

content

<T> T content(java.lang.Class<T> type,
              java.lang.annotation.Annotation[] annotations)

content

<T> T content(GenericType<T> type,
              java.lang.annotation.Annotation[] annotations)

bufferEntity

void bufferEntity()
                  throws MessageProcessingException
Throws:
MessageProcessingException

isEntityRetrievable

boolean isEntityRetrievable()

type

java.lang.reflect.Type type()


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.