Package io.vertx.mutiny.uritemplate
Class UriTemplate
java.lang.Object
io.vertx.mutiny.uritemplate.UriTemplate
- All Implemented Interfaces:
MutinyDelegate
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(java.lang.String) can fail and create
a classloading issue.
original non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUriTemplate(io.vertx.uritemplate.UriTemplate delegate) UriTemplate(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexpandToString(Variables variables) expandToString(Variables variables, io.vertx.uritemplate.ExpandOptions options) io.vertx.uritemplate.UriTemplateinthashCode()static UriTemplatenewInstance(io.vertx.uritemplate.UriTemplate arg) static UriTemplatetoString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
UriTemplate
public UriTemplate(io.vertx.uritemplate.UriTemplate delegate) -
UriTemplate
-
-
Method Details
-
getDelegate
public io.vertx.uritemplate.UriTemplate getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
of
- Parameters:
uri- the template string- Returns:
- the template
-
expandToString
- Parameters:
variables- the variables- Returns:
- the string expansion of this template with the
variables
-
expandToString
- Parameters:
variables- the variablesoptions- the options to control template expansion- Returns:
- the string expansion of this template with the
variables
-
newInstance
-