Feature Request: Pattern baded matching for handlers

1 view
Skip to first unread message

Werner Strydom

unread,
Mar 7, 2010, 5:53:13 PM3/7/10
to Bombax Support
Hello,

I'd like to map URLs that match a certain regular expression to a
handler. Could that be added to a future release?

Thanks,
Werner

Dominic Blais

unread,
Mar 7, 2010, 6:27:51 PM3/7/10
to bombax-...@googlegroups.com
Currently, the easiest way to do that is to make a custom proxy handler and have that handle the regexp parsing.  This is a similar request:  http://www.bombaxtic.com/issues/show_bug.cgi?id=2
It is also possible to override BxApp's handlerForPath to select the handler classname based on a regular expression.  The problem is that this method doesn't have access to the full request information.  In the future, an additional method may be added to BxApp handle the request based on the BxTransport...
Sincerely,
Dominic Blais
COO & Hacker-in-Chief


--
You received this message because you are subscribed to the Google Groups "Bombax Support" group.
To post to this group, send email to bombax-...@googlegroups.com.
To unsubscribe from this group, send email to bombax-suppor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bombax-support?hl=en.


Reply all
Reply to author
Forward
0 new messages