Uh oh!
There was an error while loading. Please reload this page.
Document Apache HTTP implementations - #528
Conversation
Refs #301 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR updates the XML documentation for the Org.Apache.Http.Impl namespace to replace To be added. placeholders with meaningful summaries/parameter/return descriptions, aligning the generated API docs with the underlying Apache HTTP implementation types exposed in Mono.Android.
Changes:
- Replaced placeholder summaries across core connection/strategy/factory types in
Org.Apache.Http.Impl. - Added parameter and return-value documentation for key methods/properties (e.g., socket binding, buffer creation, metrics lookups).
- Added a namespace-level summary for
Org.Apache.Http.Impl.
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| docs/xml/Org.Apache.Http.Impl/SocketHttpServerConnection.xml | Adds class/member docs for socket-backed HTTP server connections. |
| docs/xml/Org.Apache.Http.Impl/SocketHttpClientConnection.xml | Adds class/member docs for socket-backed HTTP client connections. |
| docs/xml/Org.Apache.Http.Impl/NoConnectionReuseStrategy.xml | Documents the “never reuse” connection reuse strategy (one doc accuracy fix requested). |
| docs/xml/Org.Apache.Http.Impl/HttpConnectionMetricsImpl.xml | Documents connection metrics collection and metric accessors. |
| docs/xml/Org.Apache.Http.Impl/EnglishReasonPhraseCatalog.xml | Documents English HTTP status reason phrase lookup behavior. |
| docs/xml/Org.Apache.Http.Impl/DefaultHttpServerConnection.xml | Documents default server connection implementation details. |
| docs/xml/Org.Apache.Http.Impl/DefaultHttpClientConnection.xml | Documents default client connection implementation details. |
| docs/xml/Org.Apache.Http.Impl/DefaultHttpResponseFactory.xml | Documents default HTTP response creation APIs. |
| docs/xml/Org.Apache.Http.Impl/DefaultHttpRequestFactory.xml | Documents default HTTP request creation APIs. |
| docs/xml/Org.Apache.Http.Impl/DefaultConnectionReuseStrategy.xml | Documents default connection reuse decision logic entry points. |
| docs/xml/Org.Apache.Http.Impl/AbstractHttpServerConnection.xml | Documents base server connection behavior and extensibility points. |
| docs/xml/Org.Apache.Http.Impl/AbstractHttpClientConnection.xml | Documents base client connection behavior and extensibility points. |
| docs/xml/ns-Org.Apache.Http.Impl.xml | Adds a namespace-level summary for Org.Apache.Http.Impl. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Uh oh!
There was an error while loading. Please reload this page.
Refs #301 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
jonathanpeppers
commented
Aug 15, 2026
@dalexsoto review |
1 similar comment
jonathanpeppers
commented
Aug 15, 2026
@dalexsoto review |
dalexsoto
left a comment
There was a problem hiding this comment.
The prior KeepAlive finding is fixed, but three implementation-contract groups remain inaccurate:
EnglishReasonPhraseCatalog.GetReasonignores locale and requires status 100-599;DetermineLocaleignores context and always returns the default locale.DefaultHttpRequestFactorysupports only GET/POST/PUT/HEAD/OPTIONS/DELETE/TRACE, throws for methods such as PATCH/CONNECT, and only POST/PUT are entity-enclosing.- Connection metrics, sockets, addresses, ports, and timeouts can be
nullor-1before initialization/binding; the current docs present them as always available.
Please document these concrete behaviors throughout the affected client/server and metrics XML.
Refs #301 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 70c8c744-f36b-4f2a-9993-b1acdb352c84
jonathanpeppers
left a comment
There was a problem hiding this comment.
Addressed all three contract groups from the AOSP implementation: the reason-catalog range and ignored locale, response-factory default locale and ignored context, request-factory method support and entity-enclosing behavior, and nullable/-1 pre-initialization connection values.
jonathanpeppers
commented
Aug 16, 2026
@dalexsoto review |
dalexsoto
left a comment
There was a problem hiding this comment.
The locale, request-method, metrics, and concrete socket fixes are correct, but the abstract client and server SocketTimeout properties still omit the full sentinel contract. Please document positive milliseconds, 0 as disabled, and -1 as undefined consistently on both abstract APIs: AbstractHttpClientConnection.xml and AbstractHttpServerConnection.xml.
Refs #301 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: a8faf899-f391-481e-97f9-55e0e3e2e54b
jonathanpeppers
commented
Aug 18, 2026
Addressed the remaining |
dalexsoto
left a comment
There was a problem hiding this comment.
The SocketTimeout docs still conflate getter sentinels with setter-valid values. Getting may return -1 when unavailable or undefined, but the socket-backed setters reject negative values; setting accepts nonnegative milliseconds, with 0 meaning an infinite/disabled timeout. Please separate getter and setter behavior on both abstract properties and both concrete socket implementations.
Refs #301 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: a8faf899-f391-481e-97f9-55e0e3e2e54b
jonathanpeppers
commented
Aug 18, 2026
Addressed the getter/setter distinction in bbe5f0c across both abstract properties and both socket-backed implementations. The docs now state that getters may return |
dalexsoto
left a comment
There was a problem hiding this comment.
SocketTimeout getter sentinels and setter-valid values are now correctly distinguished across all four APIs.
Resolve the namespace documentation conflict by preserving the more complete upstream summary and attribution. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: a8faf899-f391-481e-97f9-55e0e3e2e54b
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: a8faf899-f391-481e-97f9-55e0e3e2e54b
jonathanpeppers
commented
Aug 18, 2026
Resolved the |
dalexsoto
left a comment
There was a problem hiding this comment.
The conflict resolution preserves current main documentation while retaining all reviewed implementation contracts and timeout fixes.
Uh oh!
There was an error while loading. Please reload this page.
Closes#301
Sources
Validation
System.Xml.XmlDocument.To be added.placeholders remain inOrg.Apache.Http.Implor its namespace XML.git diff --check.