Interface IHasServletAttributes

All Known Implementing Classes:
ServletRequestDetails, ServletSubRequestDetails

public interface IHasServletAttributes
  • Method Summary

    Modifier and Type
    Method
    Description
    getServletAttribute(String theAttributeName)
    Gets an attribute from the servlet request.
    void
    setServletAttribute(String theAttributeName, Object theAttributeValue)
    Sets an attribute on the servlet request.
  • Method Details

    • getServletAttribute

      Object getServletAttribute(String theAttributeName)
      Gets an attribute from the servlet request. Attributes are used for interacting with servlet request attributes to communicate between servlet filters. These methods should not be used to pass information between interceptor methods. Use RequestDetails.getUserData() instead to pass information between interceptor methods.
      Parameters:
      theAttributeName - The attribute name
      Returns:
      The attribute value, or null if the attribute is not set
    • setServletAttribute

      void setServletAttribute(String theAttributeName, Object theAttributeValue)
      Sets an attribute on the servlet request. Attributes are used for interacting with servlet request attributes to communicate between servlet filters. These methods should not be used to pass information between interceptor methods. Use RequestDetails.getUserData() instead to pass information between interceptor methods.
      Parameters:
      theAttributeName - The attribute name
      theAttributeValue - The attribute value