private static String getEncodedInstance ( String encodedResponse ) { if ( isReturnValue ( encodedResponse ) || isThrownException ( encodedResponse ) ) { return encodedResponse . substring ( 4 ) ; } return encodedResponse ; }
Returns a string that encodes the result of a method invocation . Effectively this just removes any headers from the encoded response .