String function ( String arg0 ) { Header loc0 = response . getFirstHeader ( arg0 ) ; if ( loc0 == null ) { return null ; } return loc0 . getValue ( ) ; }
returns the value of the first header with a specified name of this message . if there is more than one matching header in the message the first element is returned . if there is no matching header in the message null is returned . concode_field_sep HttpResponse response concode_elem_sep HttpHost host concode_elem_sep RequestLine requestLine concode_field_sep RequestLine getRequestLine concode_elem_sep Header[] getHeaders concode_elem_sep HttpResponse getHttpResponse concode_elem_sep StatusLine getStatusLine concode_elem_sep String toString concode_elem_sep HttpEntity getEntity concode_elem_sep HttpHost getHost