question: static void validateHeaderName ( CharSequence name ) { if ( name == null ) { throw new NullPointerException ( "name" ) ; } if ( name . length ( ) == 0 ) { throw new IllegalArgumentException ( "name cannot be length zero" ) ; } if ( name . length ( ) > SPDY_MAX_NV_LENGTH ) { throw new IllegalArgumentException ( "name exceeds allowable length: " + name ) ; } for ( int i = 0 ; i < name . length ( ) ; i ++ ) { char c = name . charAt ( i ) ; if ( c == 0 ) { throw new IllegalArgumentException ( "name contains null character: " + name ) ; } if ( c > 127 ) { throw new IllegalArgumentException ( "name contains non-ascii character: " + name ) ; } } }
target:  Validate a SPDY header name.