Package io.vertx.mutiny.uritemplate
Class UriTemplate
- java.lang.Object
-
- io.vertx.mutiny.uritemplate.UriTemplate
-
public class UriTemplate extends Object
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
NOTE: This class has been automatically generated from theof(java.lang.String)can fail and create a classloading issue.originalnon Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<UriTemplate>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description UriTemplate(io.vertx.uritemplate.UriTemplate delegate)UriTemplate(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringexpandToString(Variables variables)StringexpandToString(Variables variables, io.vertx.uritemplate.ExpandOptions options)io.vertx.uritemplate.UriTemplategetDelegate()inthashCode()static UriTemplatenewInstance(io.vertx.uritemplate.UriTemplate arg)static UriTemplateof(String uri)StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<UriTemplate> __TYPE_ARG
-
-
Constructor Detail
-
UriTemplate
public UriTemplate(io.vertx.uritemplate.UriTemplate delegate)
-
UriTemplate
public UriTemplate(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.uritemplate.UriTemplate getDelegate()
-
of
public static UriTemplate of(String uri)
- Parameters:
uri- the template string- Returns:
- the template
-
expandToString
public String expandToString(Variables variables)
- Parameters:
variables- the variables- Returns:
- the string expansion of this template with the
variables
-
expandToString
public String expandToString(Variables variables, io.vertx.uritemplate.ExpandOptions options)
- Parameters:
variables- the variablesoptions- the options to control template expansion- Returns:
- the string expansion of this template with the
variables
-
newInstance
public static UriTemplate newInstance(io.vertx.uritemplate.UriTemplate arg)
-
-