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