@Controller @RequestMapping(value="/rs") public class RestService extends java.lang.Object
Constructor and Description |
---|
RestService() |
Modifier and Type | Method and Description |
---|---|
void |
actorVideos(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Integer key) |
void |
configBackgroundDelays(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Integer background,
java.lang.Integer artShow,
java.lang.Integer findMaxResults) |
void |
configBackgroundFit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Integer value) |
void |
configFindMaxResults(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Integer findMaxResults) |
void |
configHideRestricted(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Boolean hideRestricted) |
void |
detailedVideo(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String key) |
void |
directorVideos(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Integer key) |
void |
findVideosAndThings(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String key) |
void |
libraryList(javax.servlet.http.HttpServletRequest request,
java.io.OutputStream os) |
void |
libraryStatus(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
libraryStatus(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Integer count) |
void |
randomVideo(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
recentVideos(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Integer count) |
void |
sectionVideos(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Integer key) |
void |
statistics(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
writerVideos(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Integer key) |
@RequestMapping(value="/libraryList", produces="application/xml") public void libraryList(javax.servlet.http.HttpServletRequest request, java.io.OutputStream os) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/status", produces="application/xml") public void libraryStatus(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
@RequestMapping(value="/status/{count}", produces="application/xml") public void libraryStatus(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @PathVariable(value="count") java.lang.Integer count)
@RequestMapping(value="/statistics", produces="application/xml") public void statistics(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(value="/detailedVideo/{key}", produces="application/xml") public void detailedVideo(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @PathVariable(value="key") java.lang.String key)
@RequestMapping(value="/randomVideo", produces="application/xml") public void randomVideo(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(value="/videos/recent/{count}", produces="application/xml") public void recentVideos(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @PathVariable(value="count") java.lang.Integer count)
@RequestMapping(value="/videos/section/{key}", produces="application/xml") public void sectionVideos(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @PathVariable(value="key") java.lang.Integer key)
@RequestMapping(value="/videos/director/{key}", produces="application/xml") public void directorVideos(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @PathVariable(value="key") java.lang.Integer key)
@RequestMapping(value="/videos/actor/{key}", produces="application/xml") public void actorVideos(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @PathVariable(value="key") java.lang.Integer key)
@RequestMapping(value="/videos/writer/{key}", produces="application/xml") public void writerVideos(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @PathVariable(value="key") java.lang.Integer key)
@RequestMapping(value="/videos/find/{key}", produces="application/xml") public void findVideosAndThings(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @PathVariable(value="key") java.lang.String key)
@RequestMapping(value="/config/backgroundFit/{value}", produces="text/plain") public void configBackgroundFit(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @PathVariable(value="value") java.lang.Integer value)
@RequestMapping(value="/config/backgroundDelays/{background}/{artShow}/{max}", produces="text/plain") public void configBackgroundDelays(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @PathVariable(value="background") java.lang.Integer background, @PathVariable(value="artShow") java.lang.Integer artShow, @PathVariable(value="max") java.lang.Integer findMaxResults)
@RequestMapping(value="/config/hideRestricted/{hide}", produces="text/plain") public void configHideRestricted(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @PathVariable(value="hide") java.lang.Boolean hideRestricted)
@RequestMapping(value="/config/findMaxResults/{max}", produces="text/plain") public void configFindMaxResults(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @PathVariable(value="max") java.lang.Integer findMaxResults)