Skip to content

Decide between a resolved java.net.URL and a deconstructed request URL model #29

Description

@OmarAlJarrah

Problem (decision/spike)

Request stores a single resolved java.net.URL (Request.kt:139). Structured URL manipulation (query params, path templating) has nowhere to live, forcing string surgery elsewhere. Worth resolving pre-1.0.

Proposed change

Prototype a deconstructed URL model (scheme/host/port/path-segments/query) while preserving the current DNS-free equality (url.toExternalForm(), Request.kt:52-71 — keep this; java.net.URL.equals does blocking DNS). Record the decision in docs/architecture.md.

Acceptance

  • Decision recorded with rationale
  • DNS-free equality preserved by whichever model wins

Blocks the QueryParams work.

Dependencies


Priority: high · Effort: large

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsdk-coresdk-core toolkit

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions