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
 Object content()
           
<T> T
content(Class<T> type)
           
<T> T
content(Class<T> type, Annotation[] annotations)
           
<T> T
content(javax.ws.rs.core.GenericType<T> type)
           
<T> T
content(javax.ws.rs.core.GenericType<T> type, Annotation[] annotations)
           
 boolean isEmpty()
           
 Type type()
           
 

Method Detail

isEmpty

boolean isEmpty()

content

Object content()

content

<T> T content(Class<T> type)

content

<T> T content(javax.ws.rs.core.GenericType<T> type)

content

<T> T content(Class<T> type,
              Annotation[] annotations)

content

<T> T content(javax.ws.rs.core.GenericType<T> type,
              Annotation[] annotations)

type

Type type()


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