Open glassfishrobot opened 13 years ago
@glassfishrobot Commented Reported by robc
@glassfishrobot Commented @mpotociar said: Out of scope for 2.0. Assigning to the right category and deferring to a future release.
@glassfishrobot Commented This issue was imported from java.net JIRA JAX_RS_SPEC-63
(Email from Guilherme Silveira, http://java.net/projects/jax-rs-spec/lists/jsr339-experts/archive/2011-03/message/90 )
2. Allows custom resource lookup: Extract the process of resource lookup and expose it. This allows anyone to provide its own UrlToResourceTranslator. The default is JAX-RS1 compatible. Other simple implementations are the ones where the verb GET is assumed by default, where getX means the get verb and so on. Every convention (as with the annotation approach) is a different implementation. Implementations can be combined through composition allowing backward and forward compatibility:
public interface UrlToResourceTranslator
{ ResourceMethod translate(RequestInfo info) throws ResourceNotFoundException, MethodNotAllowedException; }
Affected Versions
[2.0]