org.apache.shindig.social.opensocial.service
Class PersonHandler

java.lang.Object
  extended by org.apache.shindig.social.opensocial.service.PersonHandler

public class PersonHandler
extends Object

RPC/REST handler for all /people requests


Constructor Summary
PersonHandler(PersonService personService, ContainerConfig config)
           
 
Method Summary
 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
 List<Object> supportedFields(RequestItem request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersonHandler

@Inject
public PersonHandler(PersonService personService,
                            ContainerConfig config)
Method Detail

get

public 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

supportedFields

public List<Object> supportedFields(RequestItem request)


Copyright © 2007-2012. All Rights Reserved.