@ SuppressWarnings ( "unchecked" ) public void putAsPostAsync ( SocializeSession session , String endpoint , T object , SocializeActionListener listener ) { AsyncPutter poster = new AsyncPutter ( session , listener ) ; SocializePutRequest < T > request = new SocializePutRequest < T > ( ) ; request . setRequestType ( RequestType . PUT_AS_POST ) ; request . setEndpoint ( endpoint ) ; request . setObject ( object ) ; poster . execute ( request ) ; }
Does a POST but expects a single object in return .