Skip to main content

[jax-rs-spec issues] [JIRA] Updated: (JAX_RS_SPEC-63) Custom resource lookup

  • From: "Marek Potociar (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [jax-rs-spec issues] [JIRA] Updated: (JAX_RS_SPEC-63) Custom resource lookup
  • Date: Mon, 21 May 2012 19:45:20 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated


     [ 
http://java.net/jira/browse/JAX_RS_SPEC-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marek Potociar updated JAX_RS_SPEC-63:
--------------------------------------

    Fix Version/s: ice box
                       (was: 2.0)
      Component/s: model api

Out of scope for 2.0. Assigning to the right category and deferring to a 
future release.

> Custom resource lookup
> ----------------------
>
>                 Key: JAX_RS_SPEC-63
>                 URL: http://java.net/jira/browse/JAX_RS_SPEC-63
>             Project: jax-rs-spec
>          Issue Type: New Feature
>          Components: model api
>            Reporter: robc
>            Priority: Minor
>             Fix For: ice box
>
>
> (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;
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[jax-rs-spec issues] [JIRA] Updated: (JAX_RS_SPEC-63) Custom resource lookup

Marek Potociar (JIRA) 05/21/2012
 
 
Close
loading
Please Confirm
Close