org.apache.shindig.social.opensocial.service
Class PersonHandler
java.lang.Object
org.apache.shindig.social.opensocial.service.PersonHandler
public class PersonHandler
- extends java.lang.Object
RPC/REST handler for all /people requests
|
Method Summary |
java.util.concurrent.Future<?> |
get(SocialRequestItem request)
Allowed end-points /people/{userId}+/{groupId} /people/{userId}/{groupId}/{optionalPersonId}+
examples: /people/john.doe/@all /people/john.doe/@friends /people/john.doe/@self |
java.util.List<java.lang.Object> |
supportedFields(RequestItem request)
|
java.util.concurrent.Future<?> |
update(SocialRequestItem request)
Allowed end-points /people/{userId}/{groupId}
examples: /people/john.doe/@all /people/john.doe/@friends /people/john.doe/@self |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersonHandler
@Inject
public PersonHandler(PersonService personService,
ContainerConfig config)
get
public java.util.concurrent.Future<?> get(SocialRequestItem request)
throws ProtocolException
- Allowed end-points /people/{userId}+/{groupId} /people/{userId}/{groupId}/{optionalPersonId}+
examples: /people/john.doe/@all /people/john.doe/@friends /people/john.doe/@self
- Throws:
ProtocolException
update
public java.util.concurrent.Future<?> update(SocialRequestItem request)
throws ProtocolException
- Allowed end-points /people/{userId}/{groupId}
examples: /people/john.doe/@all /people/john.doe/@friends /people/john.doe/@self
- Throws:
ProtocolException
supportedFields
public java.util.List<java.lang.Object> supportedFields(RequestItem request)
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.