private boolean headerOutSpecial ( String key , String value ) { int length = key . length ( ) ; if ( length == 0 ) { return false ; } int ch = key . charAt ( 0 ) ; if ( ' ' <= ch && ch <= ' ' ) { ch += ' ' - ' ' ; } int code = ( length << 8 ) + ch ; switch ( code ) { case 0x0d00 + ' ' : if ( CACHE_CONTROL . matchesIgnoreCase ( key ) ) { // server/13d9, server/13dg if ( value . startsWith ( "max-age" ) ) { } else if ( value . startsWith ( "s-maxage" ) ) { } else if ( value . equals ( "x-anonymous" ) ) { } else { //request().setCacheControl(true); if ( true ) throw new UnsupportedOperationException ( ) ; } } return false ; case 0x0a00 + ' ' : if ( CONNECTION_CB . matchesIgnoreCase ( key ) ) { if ( "close" . equalsIgnoreCase ( value ) ) killKeepalive ( "client connection: close" ) ; return true ; } else { return false ; } case 0x0c00 + ' ' : if ( CONTENT_TYPE_CB . matchesIgnoreCase ( key ) ) { headerOutContentType ( value ) ; return true ; } else { return false ; } case 0x0e00 + ' ' : if ( CONTENT_LENGTH_CB . matchesIgnoreCase ( key ) ) { // server/05a8 // php/164v _contentLengthOut = parseLong ( value ) ; return true ; } else { return false ; } case 0x0400 + ' ' : if ( DATE . matchesIgnoreCase ( key ) ) { return true ; } else { return false ; } case 0x0600 + ' ' : if ( SERVER . matchesIgnoreCase ( key ) ) { _serverHeader = value ; return true ; } else { return false ; } default : return false ; } }
Special processing for a special value .