citrusframework / citrusframework/citrus

Add self-explaining method for adding selectors e.g. to HttpServerRequestActionBuilder

Open
#470 0 comments 0 reactions 0 assignees View on GitHub
enhancement prio-low
Dominant language
Java
Stars
485
Forks
155
Avg merge
4d 22h
Merged PRs (30d)
6

Description

**User story**
As a citrus newbie, I would love to see a self-explaining method for adding selectors e.g. to `HttpServerRequestActionBuilder`, so that I know how to use selectors without reading the docs.

**Additional context**
Both `selector(Map)` and `selector(String)` are not really self-explaining (and JavaDoc does not help much, too). I suggest to overload this method with something like
`selector(CitrusHttpMethodHeader, String)`, where `CitrusHttpMethodHeader` would be an enum or typed constants.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.