You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Grzegorz Kossakowski (aka g[R]eK) (JIRA)" <ji...@apache.org> on 2007/02/13 18:23:06 UTC

[jira] Created: (COCOON-2010) ServletConnection and ServletSource cache-aware

ServletConnection and ServletSource cache-aware
-----------------------------------------------

                 Key: COCOON-2010
                 URL: https://issues.apache.org/jira/browse/COCOON-2010
             Project: Cocoon
          Issue Type: Improvement
          Components: - Blocks Framework
    Affects Versions: 2.2-dev (Current SVN)
            Reporter: Grzegorz Kossakowski (aka g[R]eK)
             Fix For: 2.2-dev (Current SVN)


As discussed here: http://news.gmane.org/find-root.php?group=gmane.text.xml.cocoon.devel&article=70383

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (COCOON-2010) ServletConnection and ServletSource cache-aware

Posted by "Grzegorz Kossakowski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON-2010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grzegorz Kossakowski closed COCOON-2010.
----------------------------------------

    Resolution: Fixed
      Assignee: Grzegorz Kossakowski

Committed in r517734 and r517735.

> ServletConnection and ServletSource cache-aware
> -----------------------------------------------
>
>                 Key: COCOON-2010
>                 URL: https://issues.apache.org/jira/browse/COCOON-2010
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: - Blocks Framework
>    Affects Versions: 2.2-dev (Current SVN)
>            Reporter: Grzegorz Kossakowski
>         Assigned To: Grzegorz Kossakowski
>             Fix For: 2.2-dev (Current SVN)
>
>         Attachments: cocoon-servlet-service-components-servletSource-workingValidity-patch-1.txt, cocoon-servlet-service-impl-servletConnection-cache-aware-patch-1.txt
>
>
> As discussed here: http://news.gmane.org/find-root.php?group=gmane.text.xml.cocoon.devel&article=70383

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COCOON-2010) ServletConnection and ServletSource cache-aware

Posted by "Grzegorz Kossakowski (aka g[R]eK) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON-2010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grzegorz Kossakowski (aka g[R]eK) updated COCOON-2010:
------------------------------------------------------

    Attachment: cocoon-servlet-service-impl-servletConnection-cache-aware-patch-1.txt

cocoon-servlet-service-impl-servletConnection-cache-aware-patch-1.txt:

This patch includes:
1. Added functionality for storing and manipulating HTTP headers and status code to the BlockCallHttpServletRequest and BlockCallHttpServletResponse classes.
2. Implemented more methods from URLconnection that enable other classes to obtain cache- and status-related informations. Also moved connection part to the connect() method (following guidelines of URLconnection).

> ServletConnection and ServletSource cache-aware
> -----------------------------------------------
>
>                 Key: COCOON-2010
>                 URL: https://issues.apache.org/jira/browse/COCOON-2010
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: - Blocks Framework
>    Affects Versions: 2.2-dev (Current SVN)
>            Reporter: Grzegorz Kossakowski (aka g[R]eK)
>             Fix For: 2.2-dev (Current SVN)
>
>         Attachments: cocoon-servlet-service-impl-servletConnection-cache-aware-patch-1.txt
>
>
> As discussed here: http://news.gmane.org/find-root.php?group=gmane.text.xml.cocoon.devel&article=70383

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COCOON-2010) ServletConnection and ServletSource cache-aware

Posted by "Grzegorz Kossakowski (aka g[R]eK) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON-2010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grzegorz Kossakowski (aka g[R]eK) updated COCOON-2010:
------------------------------------------------------

    Attachment: cocoon-servlet-service-components-servletSource-workingValidity-patch-1.txt

cocoon-servlet-service-components-servletSource-workingValidity-patch-1.txt:

This patch implements properly working validity for ServletSource. It was discussed here how it should work:
http://news.gmane.org/find-root.php?group=gmane.text.xml.cocoon.devel&article=70383

I've put important comment explaining why ServletValidity stores ServletConnection. I only wonder if it's safe to store reference to the ServletConnection on long term. However, I do not know how to clear this reference at the end of request processing. It would be possible to clear it in isValid method but is there any guarantee that this method will be called only once?

> ServletConnection and ServletSource cache-aware
> -----------------------------------------------
>
>                 Key: COCOON-2010
>                 URL: https://issues.apache.org/jira/browse/COCOON-2010
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: - Blocks Framework
>    Affects Versions: 2.2-dev (Current SVN)
>            Reporter: Grzegorz Kossakowski (aka g[R]eK)
>             Fix For: 2.2-dev (Current SVN)
>
>         Attachments: cocoon-servlet-service-components-servletSource-workingValidity-patch-1.txt, cocoon-servlet-service-impl-servletConnection-cache-aware-patch-1.txt
>
>
> As discussed here: http://news.gmane.org/find-root.php?group=gmane.text.xml.cocoon.devel&article=70383

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.