private String getHeaderValue ( Response response , String key ) throws GitLabApiException { String value = response . getHeaderString ( key ) ; value = ( value != null ? value . trim ( ) : null ) ; if ( value == null || value . length ( ) == 0 ) { return ( null ) ; } return ( value ) ; }
Get the specified header value from the Response instance .