PlanetJava
Custom Search

java-restlet-devel
[Top] [All Lists]

Context#createChildContext()

Subject: Context#createChildContext()
Date: Wed, 02 Sep 2009 12:24:02 +0100
Hi,
Am I misunderstanding the use/naming of Context#createChildContext() ?
I would have expected it to return an isolated copy of the Context 
(which would be useful), however it just returns a new Context() 
instance. In which case, I am not sure why it is called a child.
Wouldn't the code be easier to read if we just created a new Context() 
ourselves instead of this method?
jon
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=7458&dsMessageId=2390137
msgmiddle
<Prev in Thread] Current Thread [Next in Thread>
  • Context#createChildContext(),
    • Re: Context#createChildContext()
Current Sitemap | © 2012 planetjava | Contact | Privacy Policy