Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improve SimpleHttp API #43701

@thomasdarimont

Description

@thomasdarimont

Description

  • Expose configured HTTP method from SimpleHttpRequest
  • Use same ObjectMapper configuration as in JsonSerialization used by the deprecated SimpleHTTP
  • Allow to configure the ObjectMapper to use by SimpleHttp
  • Expose ObjectMapper factory methods in JsonSerialization

Value Proposition

The http method should be exposed to analyze SimpleHttpRequest.
The ObjectMapper mapper should be configurable to allow custom JSON generation.

Goals

Make the ObjectMapper used by SimpleHttp configurable.
The ObjectMapper used by the new SimpleHttp should produce the same Json as the old deprecated SimpleHttp class.

Non-Goals

Discussion

No response

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions