public long getDateHeader ( String name ) { if ( WCCustomProperties . CHECK_REQUEST_OBJECT_IN_USE ) { checkRequestObjectInUse ( ) ; } // 321485 // PK80362 Start // If the getDateHeader method cannot translate the header to a Date object, an IllegalArgumentException is thrown // long header = _request.getDateHeader(name); long header = - 1 ; if ( ( suppressHeadersInRequest == null ) || ! ( isHeaderinSuppressedHeadersList ( name ) ) ) { header = _request . getDateHeader ( name ) ; } // PK80362 End if ( TraceComponent . isAnyTracingEnabled ( ) && logger . isLoggable ( Level . FINE ) ) { //306998.15 logger . logp ( Level . FINE , CLASS_NAME , "getDateHeader" , "this->" + this + ": " + " name --> " + name + " header --> " + String . valueOf ( header ) ) ; } return header ; }
Returns the value of a date header field or - 1 if not found . The case of the header field name is ignored .