Class FieldFilter

  • All Implemented Interfaces:
    javax.ws.rs.container.ContainerResponseFilter

    @Provider
    public class FieldFilter
    extends Object
    implements javax.ws.rs.container.ContainerResponseFilter
    Filter response entities dynamically, based on a list of selected fields. Returns partial objects.
    Author:
    Alex Bogdanovski [[email protected]]
    • Constructor Detail

      • FieldFilter

        public FieldFilter()
    • Method Detail

      • filter

        public void filter​(javax.ws.rs.container.ContainerRequestContext requestContext,
                           javax.ws.rs.container.ContainerResponseContext responseContext)
                    throws IOException
        Specified by:
        filter in interface javax.ws.rs.container.ContainerResponseFilter
        Throws:
        IOException