@HTTPService(name="fbjrs") public class ServerService extends java.lang.Object
FacebookJazzService
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>788979680</backendId> <message>YMCiMnWjjGgUGSLxCClzwnTOVuDIrTrHhsmfqBiqKrfqvLFxsqzRgNmjHhmqoQKu</message> <status>EXECUTING</status> <taskId>4357205298657221388</taskId> <taskType>FACEBOOK_PROFILE_SUMMARIZATION</taskType> <mediaList> <media> <UID>dfbf1120-45e8-490b-973e-c94dd9d56911</UID> <serviceId>4</serviceId> <objectList> <object> <backendId>788979680</backendId> <confidence>0.1000352784779146</confidence> <mediaObjectId>3091733567230981603</mediaObjectId> <mediaType>PHOTO</mediaType> <objectId>szTbPgdSDwbwwqCfkPHMoZgRBgvYGGmrBiBhYKCETnwZpOawVwEBtfVdxauQPsQu</objectId> <rank>1616076533</rank> <serviceId>3</serviceId> <status>NO_FRIENDLY_KEYWORD</status> <objectType>KEYWORD</objectType> <value>XXQfBeRWtEKMlIqFHnuFHeLegmGDSoOqBdyPtoynBKWDLHvXQfDeVZxOsrqIwChn</value> <visibility>GROUP</visibility> <userId>1769964596771207896</userId> </object> </objectList> <mediaType>PHOTO</mediaType> <userId>1769964596771207896</userId> <url>http://fe.example.org/rest/carc/r?uid=dfbf1120-45e8-490b-973e-c94dd9d56911&service_id=1</url> </media> </mediaList> <objectList> <object> <backendId>788979680</backendId> <confidence>0.8859748776822984</confidence> <mediaObjectId>8074846980113231381</mediaObjectId> <mediaType>PHOTO</mediaType> <objectId>MObldakksFKXZObCBodruQIiDiBkNfCXzpbIZwSvtwTMyegnpSEPpLpAQsSAsXaE</objectId> <rank>1058527306</rank> <serviceId>3</serviceId> <status>BACKEND_REMOVED</status> <objectType>KEYWORD</objectType> <value>UqDyUkrpoyEXoXsYdfTIEiWbehTznWsOhQFQQrfKqFoagwGqVzBHixWmCwJyohkq</value> <visibility>PRIVATE</visibility> <userId>4297846828107843721</userId> </object> </objectList> </taskResults>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <response method="taskFinished" service="fbjrs"> <status>OK</status> </response>
xml
- Only the result data should be in the body. See FBTaskResponse
Copyright © 2015 Tampere University of Technology, Pori Department.