private boolean handleCallbacksInternally(HttpServletRequest request,HttpServletResponse response,Callback[] callbacks) throws RestAuthException {
  for (  Callback callback : callbacks) {
    RestAuthCallbackHandler restAuthCallbackHandler=restAuthCallbackHandlerFactory.getRestAuthCallbackHandler(callback.getClass());
    if (!restAuthCallbackHandler.updateCallbackFromRequest(request,response,callback)) {
      return false;
    }
  }
  return true;
}

private boolean handleCallbacksInternally ( HttpServletRequest request , HttpServletResponse response , Callback [ ] callbacks ) throws RestAuthException { for ( Callback callback : callbacks ) { RestAuthCallbackHandler restAuthCallbackHandler = restAuthCallbackHandlerFactory . getRestAuthCallbackHandler ( callback . getClass ( ) ) ; if ( ! restAuthCallbackHandler . updateCallbackFromRequest ( request , response , callback ) ) { return false ; } } return true ; }
attempts to update the callbacks from the headers and request . if the callback cannot be completed from the headers and request or the headers and request do not contain the required information the method returns false .
