question: public static String decodeEndpointOperation ( String endpoint , boolean stripped ) { int ind = endpoint . indexOf ( '[' ) ; if ( ind != - 1 ) { if ( stripped ) { return endpoint . substring ( ind + 1 , endpoint . length ( ) - 1 ) ; } return endpoint . substring ( ind ) ; } return null ; }
target:  This method returns the operation part of the supplied endpoint.