Class EntityPartFilter

  • All Implemented Interfaces:
    jakarta.ws.rs.container.ContainerRequestFilter

    @Provider
    public class EntityPartFilter
    extends Object
    implements jakarta.ws.rs.container.ContainerRequestFilter
    Checks the method found to see if it as a FormParam or FormParam annotation on an EntityPart or List parameter. If so, the multipart parts are parsed and a MultipartContent is created and placed on the context to be used in other readers and parameter injector.
    Since:
    6.2.8.Final
    Author:
    James R. Perkins
    • Constructor Detail

      • EntityPartFilter

        public EntityPartFilter()
    • Method Detail

      • filter

        public void filter​(jakarta.ws.rs.container.ContainerRequestContext requestContext)
                    throws IOException
        Specified by:
        filter in interface jakarta.ws.rs.container.ContainerRequestFilter
        Throws:
        IOException