Lighthouse
Current list of operational servlets and JSP pages:
Servlets
- Empty
- Description: Returns 200 OK and does not attempt to respond in any other way
- Methods: Get
- Params: delay, rc
- Examples:
- Ping
- Description: Returns 200 OK and a known string
- Methods: Get
- Content: text/plain, UTF-8
- Params: delay, rc
- Examples:
- Echo
- Description: Returns 200 OK and a JSON object representing the request object given to it, along with some information about its response
- Methods: Get, Post
- Content: text/html, text/json, UTF-8
- Params: type, delay, rc
- Examples:
- Repeat
- Description: Returns 200 OK along with a single character repeated a certain number of times
- Methods: Get
- Params: delay, rc, count (default: 1), char (default: "A")
- Examples:
- Redirect
- Description: Either returns 301 Moved Permanently if so instructed or returns 200 OK if no further redirects are requested
- Methods: Get
- Params: delay, count (# of times to redirect to itself), to (specific URL), loop (causes infinite redirect loop to itself)
- Examples:
- File
- Description: Returns 200 OK along with the exact binary content of a file contained within the Lighthouse app itself
- Methods: Get
- Content: (Depends on returned file)
- Params: delay, name (name of file to return, must be known to servlet, no default)
- Accepted Names:
- simple.csv - A tiny CSV file with two rows (content type = text/csv;charset=UTF-8)
- gettysburg.docx - A short Word document (created with Word 2016) with just the simple text of the Gettysburg Address (content type = application/vnd.openxmlformats-officedocument.wordprocessingml.document)
- Examples:
- Jsonify
- Description: Returns 200 OK and returns a JSON document constructed from the query params
- Methods: Get
- Params: delay, rc
- Examples:
- Sites / Tree
- Description: Returns 200 OK along with a small web page that can serve as a trivial, tree-shaped web site
- Methods: Get
- Content: text/html
- Params: delay, rc, level (how deep), childlinks (how wide, default: 3), tags (to add uniqueness to URLs), path (used internally by page)
- Examples:
- Sites / Random
- Description: Returns 200 OK along with a page with a set number of randomly generated links to pages of the same kind
- Methods: Get
- Content: text/html
- Params: delay, rc, childlinks (how many child links, default: 3), randlimit (max random integer value for link gen, or "max", default: "max")
- Examples:
- Sites / Vortex
- Description: Returns 200 OK along with a page.....
- Methods: Get
- Content: text/html
- Params: delay, rc, ...
- Examples:
- Sites / Search
- Description: Returns 200 OK along with a page that presents a set of inconsistent, configurable criteria links and some toy results
- Methods: Get
- Content: text/html
- Params: delay, rc, query, sort (asc|desc), view (list|table), month (0-11), year, cfg_year_bounded (true|false, optional)
- Examples:
JSP Pages
- iframe
- Description: Contains embedded iframes
- Params: (None)
- Examples: