[jira] [Updated] (OFBIZ-8142) A series of cleanups related to OFBiz servlet filters

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-8142) A series of cleanups related to OFBiz servlet filters

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-8142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato updated OFBIZ-8142:
-------------------------------------
    Description:
* removed an unused web filter (UrlRegexpContextFilter)
* moved a series of methods from ContextFilter to WebAppUtil, where they make more sense; changed one of them to be a static method
* made private some methods of ContextFilter and WebAppUtil because they were not used outside of their classes
* introduced a constant for the "control" mount point
* moved public fields and methods from the ContentUrlFilter to the OfbizContentAltUrlTransforms and made them private (since they are only used by this class)
* no more need for the UrlServletHelper to extend the ContextFilter

  was:
* removed an unused web filter (UrlRegexpContextFilter)
* moved a series of methods from ContextFilter to WebAppUtil, where they make more sense; changed one of them to be a static method
* made private some methods of ContextFilter and WebAppUtil because they were not used outside of their classes



> A series of cleanups related to OFBiz servlet filters
> -----------------------------------------------------
>
>                 Key: OFBIZ-8142
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8142
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Jacopo Cappellato
>            Assignee: Jacopo Cappellato
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> * removed an unused web filter (UrlRegexpContextFilter)
> * moved a series of methods from ContextFilter to WebAppUtil, where they make more sense; changed one of them to be a static method
> * made private some methods of ContextFilter and WebAppUtil because they were not used outside of their classes
> * introduced a constant for the "control" mount point
> * moved public fields and methods from the ContentUrlFilter to the OfbizContentAltUrlTransforms and made them private (since they are only used by this class)
> * no more need for the UrlServletHelper to extend the ContextFilter



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)