RequestParameterAccessor to allow simple access to Parameters in PrimitiveRequest #208

Merged
lars.winzer merged 7 commits from feat/21-requestparameteraccessor into main 2026-03-30 13:22:38 +02:00
lars.winzer commented 2026-03-30 13:21:12 +02:00 (Migrated from git.scicore.unibas.ch)

Added MissingParameterException to be thrown when required parameter is missing.

Added functional ThrowingParser interface to wrap method-reference (e.g. Integer::parseInt ) for implicit conversion.

Added ParameterParseException to be thrown when exception during parsing of value is thrown.

Added RequestParameterAccessor providing methods for getting optional and required values, allows for implicit conversion with ThrowingParser interface.

Added `MissingParameterException` to be thrown when required parameter is missing. Added functional `ThrowingParser` interface to wrap method-reference (e.g. `Integer::parseInt` ) for implicit conversion. Added `ParameterParseException` to be thrown when exception during parsing of value is thrown. Added `RequestParameterAccessor` providing methods for getting optional and required values, allows for implicit conversion with `ThrowingParser` interface.
lars.winzer (Migrated from git.scicore.unibas.ch) scheduled this pull request to auto merge when all checks succeed 2026-03-30 13:21:50 +02:00
lars.winzer commented 2026-03-30 13:22:19 +02:00 (Migrated from git.scicore.unibas.ch)

Closes #21

Closes #21
lars.winzer commented 2026-03-30 13:22:38 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit cb6c9cb339

mentioned in commit cb6c9cb339a75c8463d977669b08d32d5f773693
lars.winzer (Migrated from git.scicore.unibas.ch) merged commit cb6c9cb339 into main 2026-03-30 13:22:38 +02:00
lars.winzer commented 2026-03-30 13:30:10 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in merge request !53

mentioned in merge request !53
lars.winzer commented 2026-03-30 13:31:36 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit 5ee3f34625

mentioned in commit 5ee3f34625939c81e53edda7d4b30a18736f0473
lars.winzer commented 2026-03-30 13:31:57 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in task #21

mentioned in task #21
This repo is archived. You cannot comment on pull requests.
No Reviewers
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: University-of-Basel-Studentprojects/Programmierprojekt#208