19441: Use Optional instead of Option in http core javadsl
This commit is contained in:
parent
7a39063f2e
commit
57c1dfde8a
54 changed files with 302 additions and 248 deletions
|
|
@ -14,10 +14,10 @@ The ``RequestVal`` builder is made up of 2 steps, initially you need to pick whi
|
|||
match if the header is not present in the request). This is done using one of the below depicted methods::
|
||||
|
||||
RequestVal<T> instance()
|
||||
RequestVal<<Option<T>> optionalInstance()
|
||||
RequestVal<<Optional<T>> optionalInstance()
|
||||
|
||||
RequestVal<String> value()
|
||||
RequestVal<Option<String>> optionalValue()
|
||||
RequestVal<Optional<String>> optionalValue()
|
||||
|
||||
Examples
|
||||
--------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue