Interface LoginResponseHandler.LoginPageTypeHandler

All Known Implementing Classes:
LoginResponseHandler.ContentTypeLoginPageTypeHandler
Enclosing class:
LoginResponseHandler

public static interface LoginResponseHandler.LoginPageTypeHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canLogin(Resource r, Request request)
    Return true if the given resource and request is suitable for presenting a web browser login page
    boolean
    isAjax(Resource r, Request request)
    Return true if the request indicates that the login response should be given as json data (ie response to an ajax login)
  • Method Details

    • canLogin

      boolean canLogin(Resource r, Request request)
      Return true if the given resource and request is suitable for presenting a web browser login page
      Parameters:
      r -
      request -
      Returns:
    • isAjax

      boolean isAjax(Resource r, Request request)
      Return true if the request indicates that the login response should be given as json data (ie response to an ajax login)
      Parameters:
      acceptHeader -
      Returns: