@Path("/{a:path1|path2}")
From resteasy docs:
http://docs.jboss.org/resteasy/docs/1.0.2.GA/userguide/html_single/index.html#_Path_and_regular_expression_mappings
More Related Contents:
- How to handle CORS using JAX-RS with Jersey
- How to implement REST token-based authentication with JAX-RS and Jersey
- File upload along with other object in Jersey restful web service
- When to use @QueryParam vs @PathParam
- How to set up JAX-RS Application using annotations only (no web.xml)?
- Combining Spring project and Jersey
- jersey rest web Service with Activemq middleware integration
- Input and Output binary streams using JERSEY?
- Jersey 415 Unsupported Media Type
- JAX-RS Post multiple objects
- How to configure Jackson in Wildfly?
- How to access parameters in a RESTful POST method
- Can not deserialize instance of java.util.ArrayList out of START_OBJECT token
- Java RestFull WebService: JAX-RS implementation with Jersey 2.3.1 libraries
- MessageBodyWriter not found for media type=application/json
- FileUpload with JAX-RS
- How to deploy a JAX-RS application?
- Jersey + Jackson JSON date format serialization – how to change the format or use custom JacksonJsonProvider
- Jersey 2 injection source for multipart formdata
- How to produce JSON output with Jersey 1.6 using JAXB
- Jersey: Return a list of strings
- Jersey – How to mock service
- How to set response header in JAX-RS so that user sees download popup for Excel?
- Logging request and response in one place with JAX-RS
- RESTful webservice : how to set headers in java to accept XMLHttpRequest allowed by Access-Control-Allow-Origin
- Passing custom type query parameter
- Setting request timeout for JAX-RS 2.0 Client API
- java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map;
- Sort API methods in Swagger-UI
- CXF JAXRS – How do I pass Date as QueryParam