public interface ReverseRoute
Modifier and Type | Method and Description |
---|---|
ReverseRoute |
appendQueryString(Map<String,?> parameters)
Append a bunch of parameters to this ReverseRoute Query String.
|
ReverseRoute |
appendQueryString(String key, String... values)
Append a parameter to this ReverseRoute Query String.
|
String |
httpUrl() |
String |
httpUrl(boolean secure) |
Method |
method() |
String |
uri() |
String |
webSocketUrl() |
String |
webSocketUrl(boolean secure) |
ReverseRoute |
withFragmentIdentifier(String fragmentIdentifier) |
Method method()
String uri()
ReverseRoute appendQueryString(String key, String... values)
key
- QueryString key
values
- QueryString values
IllegalArgumentException
- when key is null or empty, or when value is null
ReverseRoute appendQueryString(Map<String,?> parameters)
parameters
Map is a Map<String,List<?>> then each value of each list is appended to the Query String.
This is the result of each value's toString()
method that is appended to the Query String.
parameters
- Parameters as a Map
IllegalArgumentException
- when parameters is null, or when one key is null or empty, or when one value is null
ReverseRoute withFragmentIdentifier(String fragmentIdentifier)
fragmentIdentifier
- Fragment identifier
String httpUrl()
String httpUrl(boolean secure)
secure
- is the URL secure?
String webSocketUrl()
String webSocketUrl(boolean secure)
secure
- is the URL secure?