rocks.bastion.core.RouteParam Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bastion Show documentation
Show all versions of bastion Show documentation
A Java library for testing HTTP API endpoints.
package rocks.bastion.core;
/**
*
* Represents a key-value pair describing an assignment for a URL route parameter. Route params are given as variables in
* the request's URL. For example, the following URL:
*
*
* {@code http://sushi.test/{id}/ingredients}
*
* The URL above contains one route parameter called "id" which can be assigned a numerical value which will be replaced
* when the actual HTTP takes place.
*
*/
public class RouteParam extends ApiProperty {
public RouteParam(String name, String value) {
super(name, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy