-
-
Notifications
You must be signed in to change notification settings - Fork 5
Path parameters
Ahmad K. Bawaneh edited this page Feb 16, 2020
·
2 revisions
Domino-rest can map method argument to path variable using the @PathParam
annotation.
@RequestFactory
public interface MoviesService {
@Path("library/movies/{name}")
@GET
Movie getMovieByName(@PathParam("name") String movieName);
}
When the request is sent the {name}
path will be replaced with the value of the movieName
method argument.
- Home
- Quick start
- Sharing clients
-
Configuration
- Locating resource classes
- Service root
- Resource root
- Http methods
- Service method path mapping
- Service path
- Query parameters
- Path parameters
- Header parameters
- Date format
- Request body
- Request and Response mapping
- Produces and Consumes
- Success codes
- Timeout and maximum retries
- With credentials
- Custom request URL
- Global interceptors
- Default failed response handler
- Interface inheritance
- Multipart form data