You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "William R. Speirs (JIRA)" <ji...@apache.org> on 2011/07/19 17:18:57 UTC

[jira] [Created] (HTTPCORE-265) Add the Ability to get RequestHandlers

Add the Ability to get RequestHandlers
--------------------------------------

                 Key: HTTPCORE-265
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-265
             Project: HttpComponents HttpCore
          Issue Type: Improvement
          Components: HttpCore, HttpCore NIO
            Reporter: William R. Speirs
            Priority: Minor


I'm about to write some code in my server which tracks all of the handlers that are set. However, this code would essentially what mimics the code inside of NHttpRequestHandlerRegistry/HttpRequestHandlerRegistry or more accurately the underlying UriPatternMatcher. My request is to add a method which returns the map contained inside of the underlying UriPatternMatcher.

Is there a particular reason a getObjects() method doesn't exist in UriPatternMatcher or getHandlers() method in NHttpRequestHandlerRegistry/HttpRequestHandlerRegistry? If the reason is simply that no one has asked for this before, I'll go ahead and submit a patch to add these methods. If there are other reasons, I'm curious as to what it is. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[jira] [Resolved] (HTTPCORE-265) Add the Ability to get RequestHandlers

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

Oleg Kalnichevski resolved HTTPCORE-265.
----------------------------------------

    Resolution: Fixed

Patches checked in. Many thanks, William, for contributing them.

Oleg

> Add the Ability to get RequestHandlers
> --------------------------------------
>
>                 Key: HTTPCORE-265
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-265
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore, HttpCore NIO
>            Reporter: William R. Speirs
>            Priority: Minor
>             Fix For: 4.2-alpha1
>
>         Attachments: HttpRequestHandlerRegistry.diff, NHttpRequestHandlerRegistry.diff, TestHttpRequestHandlerRegistry.diff, UriPatternMatcher.diff
>
>
> I'm about to write some code in my server which tracks all of the handlers that are set. However, this code would essentially what mimics the code inside of NHttpRequestHandlerRegistry/HttpRequestHandlerRegistry or more accurately the underlying UriPatternMatcher. My request is to add a method which returns the map contained inside of the underlying UriPatternMatcher.
> Is there a particular reason a getObjects() method doesn't exist in UriPatternMatcher or getHandlers() method in NHttpRequestHandlerRegistry/HttpRequestHandlerRegistry? If the reason is simply that no one has asked for this before, I'll go ahead and submit a patch to add these methods. If there are other reasons, I'm curious as to what it is. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[jira] [Commented] (HTTPCORE-265) Add the Ability to get RequestHandlers

Posted by "William R. Speirs (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HTTPCORE-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068535#comment-13068535 ] 

William R. Speirs commented on HTTPCORE-265:
--------------------------------------------

Patches attached... thanks!

> Add the Ability to get RequestHandlers
> --------------------------------------
>
>                 Key: HTTPCORE-265
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-265
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore, HttpCore NIO
>            Reporter: William R. Speirs
>            Priority: Minor
>             Fix For: 4.2-alpha1
>
>         Attachments: HttpRequestHandlerRegistry.diff, NHttpRequestHandlerRegistry.diff, TestHttpRequestHandlerRegistry.diff, UriPatternMatcher.diff
>
>
> I'm about to write some code in my server which tracks all of the handlers that are set. However, this code would essentially what mimics the code inside of NHttpRequestHandlerRegistry/HttpRequestHandlerRegistry or more accurately the underlying UriPatternMatcher. My request is to add a method which returns the map contained inside of the underlying UriPatternMatcher.
> Is there a particular reason a getObjects() method doesn't exist in UriPatternMatcher or getHandlers() method in NHttpRequestHandlerRegistry/HttpRequestHandlerRegistry? If the reason is simply that no one has asked for this before, I'll go ahead and submit a patch to add these methods. If there are other reasons, I'm curious as to what it is. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[jira] [Updated] (HTTPCORE-265) Add the Ability to get RequestHandlers

Posted by "William R. Speirs (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCORE-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William R. Speirs updated HTTPCORE-265:
---------------------------------------

    Attachment: TestHttpRequestHandlerRegistry.diff

> Add the Ability to get RequestHandlers
> --------------------------------------
>
>                 Key: HTTPCORE-265
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-265
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore, HttpCore NIO
>            Reporter: William R. Speirs
>            Priority: Minor
>             Fix For: 4.2-alpha1
>
>         Attachments: HttpRequestHandlerRegistry.diff, NHttpRequestHandlerRegistry.diff, TestHttpRequestHandlerRegistry.diff, UriPatternMatcher.diff
>
>
> I'm about to write some code in my server which tracks all of the handlers that are set. However, this code would essentially what mimics the code inside of NHttpRequestHandlerRegistry/HttpRequestHandlerRegistry or more accurately the underlying UriPatternMatcher. My request is to add a method which returns the map contained inside of the underlying UriPatternMatcher.
> Is there a particular reason a getObjects() method doesn't exist in UriPatternMatcher or getHandlers() method in NHttpRequestHandlerRegistry/HttpRequestHandlerRegistry? If the reason is simply that no one has asked for this before, I'll go ahead and submit a patch to add these methods. If there are other reasons, I'm curious as to what it is. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[jira] [Updated] (HTTPCORE-265) Add the Ability to get RequestHandlers

Posted by "William R. Speirs (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCORE-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William R. Speirs updated HTTPCORE-265:
---------------------------------------

    Attachment: HttpRequestHandlerRegistry.diff

> Add the Ability to get RequestHandlers
> --------------------------------------
>
>                 Key: HTTPCORE-265
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-265
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore, HttpCore NIO
>            Reporter: William R. Speirs
>            Priority: Minor
>             Fix For: 4.2-alpha1
>
>         Attachments: HttpRequestHandlerRegistry.diff, NHttpRequestHandlerRegistry.diff, TestHttpRequestHandlerRegistry.diff, UriPatternMatcher.diff
>
>
> I'm about to write some code in my server which tracks all of the handlers that are set. However, this code would essentially what mimics the code inside of NHttpRequestHandlerRegistry/HttpRequestHandlerRegistry or more accurately the underlying UriPatternMatcher. My request is to add a method which returns the map contained inside of the underlying UriPatternMatcher.
> Is there a particular reason a getObjects() method doesn't exist in UriPatternMatcher or getHandlers() method in NHttpRequestHandlerRegistry/HttpRequestHandlerRegistry? If the reason is simply that no one has asked for this before, I'll go ahead and submit a patch to add these methods. If there are other reasons, I'm curious as to what it is. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[jira] [Updated] (HTTPCORE-265) Add the Ability to get RequestHandlers

Posted by "William R. Speirs (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCORE-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William R. Speirs updated HTTPCORE-265:
---------------------------------------

    Attachment: UriPatternMatcher.diff

> Add the Ability to get RequestHandlers
> --------------------------------------
>
>                 Key: HTTPCORE-265
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-265
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore, HttpCore NIO
>            Reporter: William R. Speirs
>            Priority: Minor
>             Fix For: 4.2-alpha1
>
>         Attachments: HttpRequestHandlerRegistry.diff, NHttpRequestHandlerRegistry.diff, TestHttpRequestHandlerRegistry.diff, UriPatternMatcher.diff
>
>
> I'm about to write some code in my server which tracks all of the handlers that are set. However, this code would essentially what mimics the code inside of NHttpRequestHandlerRegistry/HttpRequestHandlerRegistry or more accurately the underlying UriPatternMatcher. My request is to add a method which returns the map contained inside of the underlying UriPatternMatcher.
> Is there a particular reason a getObjects() method doesn't exist in UriPatternMatcher or getHandlers() method in NHttpRequestHandlerRegistry/HttpRequestHandlerRegistry? If the reason is simply that no one has asked for this before, I'll go ahead and submit a patch to add these methods. If there are other reasons, I'm curious as to what it is. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[jira] [Updated] (HTTPCORE-265) Add the Ability to get RequestHandlers

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

Oleg Kalnichevski updated HTTPCORE-265:
---------------------------------------

    Fix Version/s: 4.2-alpha1

No particular reason. Please go ahead and submit a patch.

Oleg

> Add the Ability to get RequestHandlers
> --------------------------------------
>
>                 Key: HTTPCORE-265
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-265
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore, HttpCore NIO
>            Reporter: William R. Speirs
>            Priority: Minor
>             Fix For: 4.2-alpha1
>
>
> I'm about to write some code in my server which tracks all of the handlers that are set. However, this code would essentially what mimics the code inside of NHttpRequestHandlerRegistry/HttpRequestHandlerRegistry or more accurately the underlying UriPatternMatcher. My request is to add a method which returns the map contained inside of the underlying UriPatternMatcher.
> Is there a particular reason a getObjects() method doesn't exist in UriPatternMatcher or getHandlers() method in NHttpRequestHandlerRegistry/HttpRequestHandlerRegistry? If the reason is simply that no one has asked for this before, I'll go ahead and submit a patch to add these methods. If there are other reasons, I'm curious as to what it is. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[jira] [Updated] (HTTPCORE-265) Add the Ability to get RequestHandlers

Posted by "William R. Speirs (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCORE-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William R. Speirs updated HTTPCORE-265:
---------------------------------------

    Attachment: NHttpRequestHandlerRegistry.diff

> Add the Ability to get RequestHandlers
> --------------------------------------
>
>                 Key: HTTPCORE-265
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-265
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore, HttpCore NIO
>            Reporter: William R. Speirs
>            Priority: Minor
>             Fix For: 4.2-alpha1
>
>         Attachments: HttpRequestHandlerRegistry.diff, NHttpRequestHandlerRegistry.diff, TestHttpRequestHandlerRegistry.diff, UriPatternMatcher.diff
>
>
> I'm about to write some code in my server which tracks all of the handlers that are set. However, this code would essentially what mimics the code inside of NHttpRequestHandlerRegistry/HttpRequestHandlerRegistry or more accurately the underlying UriPatternMatcher. My request is to add a method which returns the map contained inside of the underlying UriPatternMatcher.
> Is there a particular reason a getObjects() method doesn't exist in UriPatternMatcher or getHandlers() method in NHttpRequestHandlerRegistry/HttpRequestHandlerRegistry? If the reason is simply that no one has asked for this before, I'll go ahead and submit a patch to add these methods. If there are other reasons, I'm curious as to what it is. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org