Package dev.relism.flash.models
Class PathParams
java.lang.Object
dev.relism.flash.models.PathParams
Path parameters captured during routing, stored as byte offsets into the path view.
get(java.lang.String) allocates a String on call; view(java.lang.String) is zero-copy.-
Constructor Summary
ConstructorsConstructorDescriptionPathParams(dev.relism.fpr.core.ByteView source, String[] names, int[] starts, int[] lens) -
Method Summary
-
Constructor Details
-
PathParams
-
-
Method Details
-
inject
Injects path parameters into a request. The cross-package bridge fromAbstractRouter— keepsRequest.setPathParams(dev.relism.flash.models.PathParams)package-private while allowing the router to set params without a public setter. -
get
-