Hi Everyone, 

Need help with Entity filtering.  I am using  dropwizard 0.9.2  and have a 
requirement to apply  entity filtering based on a header.

@XmlRootElement
public class Foo
{
    @XmlElement
    private String general;

    @XmlElement
    @Detail1
    private String detail1;

    @XmlElement
    @Detail2
    private String detail2;

}


For the above  Entity Foo,  if  header exists in the request with detail=1, 
  I want fields annotated with @Detail1.   In case the detail=2  I want to 
all fields which are annotated with @Detail1 and @Detail2 and so on.


Thanks
Ashish

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to