[ 
https://issues.apache.org/jira/browse/DELTASPIKE-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996302#comment-13996302
 ] 

Romain Manni-Bucau edited comment on DELTASPIKE-591 at 5/13/14 11:58 AM:
-------------------------------------------------------------------------

Hi

I'd go for a servlet and not a filter to be able to intercept it easily.

I'd get the project stage in init() and not by request to be more deterministic 
regarding the whole app (we can think to allow overriding by url but then 
project stage wouldn't make much sense)


edit: we could propose a default path btw. Thinking to it cause in a new 
project if you know it will be handled if in 
app/resources/projectstage-aware/Production|Develoment|... it can ease 
development too


was (Author: romain.manni-bucau):
Hi

I'd go for a servlet and not a filter to be able to intercept it easily.

I'd get the project stage in init() and not by request to be more deterministic 
regarding the whole app (we can think to allow overriding by url but then 
project stage wouldn't make much sense)


> Add a ProjectStage aware resource Servlet
> -----------------------------------------
>
>                 Key: DELTASPIKE-591
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-591
>             Project: DeltaSpike
>          Issue Type: New Feature
>          Components: Servlet-Module
>            Reporter: Daniel Sachse
>            Assignee: Christian Kaltepoth
>         Attachments: DELTASPIKE-591.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to