Class UriTemplate
java.lang.Object
io.vertx.reactivex.uritemplate.UriTemplate
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
A URI template that follows the rfc6570 level 4.
A template is immutable and thread safe, it can be safely shared between threads after its creation.
If you are sharing a template as a static variables, keep in mind that of(String) can fail and create
a classloading issue.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexpandToString(Variables variables) Expand this template to a string.expandToString(Variables variables, ExpandOptions options) Expand this template to a string.inthashCode()static UriTemplatenewInstance(UriTemplate arg) static UriTemplateCreate a template from a stringuri.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
UriTemplate
-
UriTemplate
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
of
Create a template from a stringuri.The string
uriis validated and parsed, invalid inputs are rejected with aIllegalArgumentException.- Parameters:
uri- the template string- Returns:
- the template
-
expandToString
-
expandToString
Expand this template to a string.- Parameters:
variables- the variablesoptions- the options to control template expansion- Returns:
- the string expansion of this template with the
variables
-
newInstance
-