jsr339-experts@jax-rs-spec.java.net
[jsr339-experts] Re: Some comments about Target and Invocation
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Marek Potociar <
marek.potociar_at_oracle.com
>
Date
: Wed, 31 Aug 2011 19:46:33 +0200
As I said, you can iterate over path hierarchies using BFS (
http://en.wikipedia.org/wiki/Breadth-first_search
)
algorithm. If that's not practical, you can use DFS + stack (
http://en.wikipedia.org/wiki/Depth-first_search#Algorithm_using_a_stack
). The stack can be explicit or you can leverage
the implicit call stack by implementing recursive iteration.
Btw. I would like to see the real life use case.
Marek
On 08/31/2011 11:16 AM, Sergey Beryozkin wrote:
> However, I'm fine with having it not there, let me know please how does the current API can facilitate something like
> that ?
This message
: [
Message body
]
Next message
:
Markus KARG: "[jsr339-experts] Re: JAX-RS 2.0 API for asynchronous server-side request processing"
Previous message
:
Marek Potociar: "[jsr339-experts] Re: Removing command pattern simplifies things"
In reply to
:
Sergey Beryozkin: "[jsr339-experts] Re: Some comments about Target and Invocation"
Next in thread
:
Sergey Beryozkin: "[jsr339-experts] Re: Some comments about Target and Invocation"
Reply
:
Sergey Beryozkin: "[jsr339-experts] Re: Some comments about Target and Invocation"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]