public String getHeader ( String name ) { Vector < String > v = getHeaders ( name ) ; if ( v == null ) { return null ; } return v . firstElement ( ) ; }
Get the first header value using the name given . If there are multiple occurrence only the first one will be returned as String .