public static DeleteFollowRequest checkRequest ( final HttpServletRequest request , final DeleteRequest deleteRequest , final DeleteFollowResponse deleteFollowResponse ) { final Node user = checkUserIdentifier ( request , deleteFollowResponse ) ; if ( user != null ) { final Node followed = checkFollowedIdentifier ( request , deleteFollowResponse ) ; if ( followed != null ) { return new DeleteFollowRequest ( deleteRequest . getType ( ) , user , followed ) ; } } return null ; }
check a delete follow edge request for validity concerning NSSP