Skip to content

Document Org.Apache.Http.Impl.Entity - #525

Open
jonathanpeppers wants to merge 2 commits into
mainfrom
jonathanpeppers-document-apache-http-impl-entity
Open

Document Org.Apache.Http.Impl.Entity#525
jonathanpeppers wants to merge 2 commits into
mainfrom
jonathanpeppers-document-apache-http-impl-entity

Conversation

@jonathanpeppers

Copy link
Copy Markdown
Member

Refs #258

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR replaces “To be added.” placeholders with XML documentation for key public APIs in the Org.Apache.Http.Impl.Entity namespace, improving the generated API docs without changing any binding members.

Changes:

  • Added class/member summaries and parameter/return documentation for entity serialization/deserialization APIs (EntitySerializer, EntityDeserializer).
  • Documented content-length strategy behaviors for LaxContentLengthStrategy and StrictContentLengthStrategy.
  • Documented namespace summary and sentinel constants in the InterfaceConsts companion XML files.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
docs/xml/Org.Apache.Http.Impl.Entity/StrictContentLengthStrategy+InterfaceConsts.xml Adds summaries for sentinel constant container and its fields.
docs/xml/Org.Apache.Http.Impl.Entity/StrictContentLengthStrategy.xml Documents strategy purpose, constructor, and DetermineLength API.
docs/xml/Org.Apache.Http.Impl.Entity/LaxContentLengthStrategy+InterfaceConsts.xml Adds summaries for sentinel constant container and its fields.
docs/xml/Org.Apache.Http.Impl.Entity/LaxContentLengthStrategy.xml Documents strategy purpose, constructor, and DetermineLength API.
docs/xml/Org.Apache.Http.Impl.Entity/EntitySerializer.xml Documents serializer class plus key serialization methods/parameters.
docs/xml/Org.Apache.Http.Impl.Entity/EntityDeserializer.xml Documents deserializer class plus key deserialization methods/parameters.
docs/xml/ns-Org.Apache.Http.Impl.Entity.xml Adds a namespace-level summary describing the package’s purpose.
Suppressed comments (3)

docs/xml/Org.Apache.Http.Impl.Entity/LaxContentLengthStrategy.xml:123

  • HTTP commonly refers to "chunked"/"identity" as transfer encodings (see e.g. docs/xml/Java.Net/HttpURLConnection.xml:2441). Consider using "transfer encoding" in this return description for consistency and clarity.
        <returns>The body length, or a sentinel value that indicates chunked or identity transfer coding.</returns>

docs/xml/Org.Apache.Http.Impl.Entity/LaxContentLengthStrategy+InterfaceConsts.xml:69

  • For consistency with common HTTP terminology and existing docs (e.g. docs/xml/Java.Net/HttpURLConnection.xml:2441), consider using "identity transfer encoding" here instead of "transfer coding".
        <summary>Indicates that the message uses identity transfer coding.</summary>

docs/xml/Org.Apache.Http.Impl.Entity/StrictContentLengthStrategy+InterfaceConsts.xml:69

  • For consistency with common HTTP terminology and existing docs (e.g. docs/xml/Java.Net/HttpURLConnection.xml:2441), consider using "identity transfer encoding" here instead of "transfer coding".
        <summary>Indicates that the message uses identity transfer coding.</summary>

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/xml/Org.Apache.Http.Impl.Entity/LaxContentLengthStrategy.xml Outdated
Comment thread docs/xml/Org.Apache.Http.Impl.Entity/StrictContentLengthStrategy.xml Outdated
Comment thread docs/xml/Org.Apache.Http.Impl.Entity/LaxContentLengthStrategy+InterfaceConsts.xml Outdated
Refs #258

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jonathanpeppers

Copy link
Copy Markdown
Member Author

@dalexsoto review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants