Interface MultipartProcessorListener

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface MultipartProcessorListener
Listener used to process a part in a multipart request body.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onPart(Part part)
    Called when a part has been detected when parsing a multipart http request body.
  • Method Details

    • onPart

      void onPart(Part part) throws IOException
      Called when a part has been detected when parsing a multipart http request body.
      Parameters:
      part - An object representing the part.
      Throws:
      IOException - If the underlying part throws this exception, or at implementer's discretion.