@HTTPService(name="tjrs") public class ServerService extends java.lang.Object
TwitterJazzService
Constructor and Description |
---|
ServerService() |
Modifier and Type | Method and Description |
---|---|
void |
taskFinished(InputStreamParameter xml)
The request is to be sent in the body of POST method.
|
public ServerService()
@HTTPServiceMethod(name="taskFinished", acceptedMethods="POST") public void taskFinished(@HTTPMethodParameter(name="body",bodyParameter=true) InputStreamParameter xml)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <taskResults> <backendId>1092719603</backendId> <message>GFlpeYbaFnNaXtWbxxyARcTDmEiiFyldHLfOWENGYFOUeOzafgMzwdQQEZydxWLV</message> <status>COMPLETED</status> <taskId>3865631808994089266</taskId> <taskType>TWITTER_PROFILE_SUMMARIZATION</taskType> <mediaList> <media> <UID>c107d0f3-7f0c-4ff2-8eac-6c603aa6eeac</UID> <serviceId>4</serviceId> <objectList> <object> <backendId>1092719603</backendId> <confidence>0.5427210968308597</confidence> <mediaObjectId>7895382001893624411</mediaObjectId> <mediaType>PHOTO</mediaType> <objectId>oxBjvowAZlHmqOzJwmxGNlmdkCafmrvfScMpgtmFPGBssJEDeWPgxBUPhikNqwVk</objectId> <rank>163245872</rank> <serviceId>3</serviceId> <status>BACKEND_REMOVED</status> <objectType>KEYWORD</objectType> <value>XncWhyteFXpOdKTZEWcuGchLyIcbetLdKEuczzVphVJCrDLYuhSoOLdccfKWDMXB</value> <visibility>PUBLIC</visibility> <userId>7964074008204941002</userId> </object> </objectList> <mediaType>PHOTO</mediaType> <userId>7964074008204941002</userId> <url>http://fe.example.org/rest/carc/r?uid=c107d0f3-7f0c-4ff2-8eac-6c603aa6eeac&service_id=1</url> </media> </mediaList> <objectList> <object> <backendId>1092719603</backendId> <confidence>0.837558865072154</confidence> <mediaObjectId>4113846974832924344</mediaObjectId> <mediaType>PHOTO</mediaType> <objectId>WJGHgneHerKTyxayiaKYyXhOGWTNiMhKDMinjLTyfkZgGaTqsDwnOiyTVhbGIpnJ</objectId> <rank>604063011</rank> <serviceId>3</serviceId> <status>NO_FRIENDLY_KEYWORD</status> <objectType>KEYWORD</objectType> <value>myLKpAoLjNCpVjOJdkHWuCUMhdEKRFUoAilZDwXqJsTUWdYlngjvgvezGZrngLnV</value> <visibility>PRIVATE</visibility> <userId>1265263543917157641</userId> </object> </objectList> </taskResults>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <response method="taskFinished" service="tjrs"> <status>OK</status> </response>
xml
- The HTTP body. Only the result data should be in the body. See TwitterTaskResponse
Copyright © 2015 Tampere University of Technology, Pori Department.