The server side of the dummy feed, implementing the feed service. A single instance
of DummyFeedSS is constructed by the servlet container (Tomcat), as defined in its
web.xml
configuration file. The service path is
/xfDum
. Here is an example of a
service query:
http://reluk.ca:8080/v/xfDum?callback=foo&form=json&pretty
The service responds with a series of 10 dummy bites. Query
parameters for this service are:
Key |
Value |
Default |
callback |
The name of the callback function for a JSONP response, or leave it
unspecified for a plain JSON response. This is a qualifier for the 'form'
parameter whenever that parameter is set to 'json'. |
Null, specifying a plain JSON response. |
form |
The form of the response. Currently only 'json' is supported, which gives
either JSON or JSONP depending on the value of the 'callback' parameter. |
None, a value is required. |
pretty |
Specify 'pretty' or 'pretty=y' for a more human-readable response. This
adds whitespace and forces a content type of 'text/plain'. |
'n' |