Package org.apache.commons.fileupload2.core

# Class RFC2231UtilityTestCase

java.lang.Object
org.apache.commons.fileupload2.core.RFC2231UtilityTestCase

public final class RFC2231UtilityTestCase extends Object
The expected characters are encoded in UTF16, while the actual characters may be encoded in UTF-8/ISO-8859-1 RFC 5987 recommends to support both UTF-8 and ISO 8859-1. Test values are taken from https://tools.ietf.org/html/rfc5987#section-3.2.2

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RFC2231UtilityTestCase()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `testDecodeInvalidEncoding()`
  `void`
  `testDecodeIso88591()`
  `void`
  `testDecodeUtf8()`
  `void`
  `testHasEncodedValue()`
  `void`
  `testNoNeedToDecode()`
  `void`
  `testStripDelimiter()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### RFC2231UtilityTestCase

    public RFC2231UtilityTestCase()

- ## Method Details

  - ### testDecodeInvalidEncoding

    @Test public void testDecodeInvalidEncoding() throws Exception
    Throws:
      `Exception`

  - ### testDecodeIso88591

    @Test public void testDecodeIso88591() throws Exception
    Throws:
      `Exception`

  - ### testDecodeUtf8

    @Test public void testDecodeUtf8() throws Exception
    Throws:
      `Exception`

  - ### testHasEncodedValue

    @Test public void testHasEncodedValue()

  - ### testNoNeedToDecode

    @Test public void testNoNeedToDecode() throws Exception
    Throws:
      `Exception`

  - ### testStripDelimiter

    @Test public void testStripDelimiter()