app/lib/pusher/Pusher.java
/**
     * Build authentication signature to assure that our event is recognized by Pusher
     * @param uriPath
     * @param query
     * @return
     */
Build authentication signature to assure that our event is recognized by Pusher
@param uriPath
@param query
@return
Build authentication signature to assure that our event is recognized by Pusher @param uriPath @param query @return
private static String buildAuthenticationSignature(String uriPath, String query){
        StringBuffer buffer = new StringBuffer();
        buffer.append("POST\n");
        buffer.append(uriPath);
        buffer.append("\n");
        buffer.append(query);
        String h = buffer.toString();
        return hmacsha256Representation(h);
    }
private static String buildAuthenticationSignature ( String uriPath , String query ) { StringBuffer buffer = new StringBuffer ( ) ; buffer . append ( "POST\n" ) ; buffer . append ( uriPath ) ; buffer . append ( "\n" ) ; buffer . append ( query ) ; String h = buffer . toString ( ) ; return hmacsha256Representation ( h ) ; }
Build authentication signature to assure that our event is recognized by Pusher
 @param uriPath
 @param query
 @return
Build authentication signature to assure that our event is recognized by Pusher @param uriPath @param query @return
//request method //URI Path //Query string //Encode data