Interface WebApiMultipartRequestData


public interface WebApiMultipartRequestData
Represents a multipart request body for a WebApi.
  • Method Details

    • getParameterNames

      List<String> getParameterNames()
      Retrieves the parameters of a multipart request.
      Returns:
      a List of the parameters in this multipart request
    • getValue

      <T> T getValue(String name, WebApiMultipartValueType<T> returnType)
      Retrieves the name and return type of a body parameter.
      Type Parameters:
      T - backing value type of the WebApiMultipartValueType
      Parameters:
      name - parameter name
      returnType - multipart value type
      Returns:
      the parameter value