# Uses of Class
org.apache.commons.fileupload2.core.MultipartInput.MalformedStreamException

- ## Uses of MultipartInput.MalformedStreamException in org.apache.commons.fileupload2.core

  Methods in org.apache.commons.fileupload2.core that throw MultipartInput.MalformedStreamException
  Modifier and Type
  Method
  Description
  `long`
  MultipartInput.`discardBodyData()`
  Reads `body-data` from the current `encapsulation` and discards it.
  `long`
  MultipartInput.`readBodyData(OutputStream output)`
  Reads `body-data` from the current `encapsulation` and writes its contents into the output `Stream`.
  `boolean`
  MultipartInput.`readBoundary()`
  Skips a `boundary` token, and checks whether more `encapsulations` are contained in the stream.
  `String`
  MultipartInput.`readHeaders()`
  Reads the `header-part` of the current `encapsulation`.