Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-297

Add StringEntity APIs that use Charset instead of chaset name Strings

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.2
    • Component/s: None
    • Labels:
      None
    • Environment:

      Description

      Add:

      • org.apache.http.entity.StringEntity.StringEntity(String, Charset)
      • org.apache.http.entity.StringEntity.StringEntity(String, String, Charset)

      To match the existing:

      • org.apache.http.entity.StringEntity.StringEntity(String, String)
      • org.apache.http.entity.StringEntity.StringEntity(String, String, String)

      Same idea for:

      • org.apache.http.nio.entity.NStringEntity
      • org.apache.http.nio.entity.StringNIOEntity

        Attachments

        1. httpcore-297-simple.diff
          2 kB
          Gary Gregory
        2. httpcore-297-more.diff
          19 kB
          Gary Gregory
        3. StringEntities.diff
          4 kB
          Gary Gregory

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ggregory Gary Gregory
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: