question: @ Override public void validateRequest ( GenericAttributeResolveRequest request ) throws BadAttributeResolveRequestException { if ( LOG . isDebugEnabled ( ) ) LOG . debug ( " validating HDFS Resource Resolve  request ..." ) ; String siteId = request . getSite ( ) ; if ( null == siteId ) throw new BadAttributeResolveRequestException ( HDFSResourceConstants . HDFS_RESOURCE_RESOLVE_FORMAT_HINT ) ; String filePath = request . getQuery ( ) ; if ( null == filePath || ! filePath . startsWith ( "/" ) ) throw new BadAttributeResolveRequestException ( HDFSResourceConstants . HDFS_RESOURCE_RESOLVE_FORMAT_HINT ) ; if ( LOG . isDebugEnabled ( ) ) LOG . debug ( " HDFS Resource Resolve request validated successfully..." ) ; }
target:  Validate the Passed Request Object It should have Site Id and File Path 