NameReponder Specification


The NameResponder is activated by a url of the form
[somePage]?names
It responds with a text/plain list of all the page names below the specified page, one per line. If no page is specified then it responds with all page names at the root level. No subpage names are returned.


First check a single page at the root level.

Page creator.
Page name. Page contents. Page attributes. valid?
PageOne page one true
Response Requester.
uri valid?
?names true
Response Examiner.
type pattern matches? wrapped html?
contents PageOne true

Response Examiner.
type pattern matches?
headers text/plain true


Now check two pages at the root level

Page creator.
Page name. Page contents. Page attributes. valid?
PageTwo page two true
Response Requester.
uri valid?
?names true
Response Examiner.
type pattern matches?
contents PageOne true
contents PageTwo true


Now check two pages below PageOne

Page creator.
Page name. Page contents. Page attributes. valid?
PageOne.SubOne sub one true
PageOne.SubTwo sub two true
Response Requester.
uri valid?
?names true
Response Examiner.
type pattern matches?
contents PageOne true
contents PageTwo true
contents SubOne false
contents SubTwo false
Response Requester.
uri valid?
PageOne?names true
Response Examiner.
type pattern matches?
contents PageOne false
contents PageTwo false
contents SubOne true
contents SubTwo true