org.apache.struts2.portlet.action

## Interface PortletPreferencesAware

- All Known Subinterfaces:
    PortletPreferencesAware

      public interface PortletPreferencesAware

  All Actions that want to have access to the portlet preferences should implement this interface. If running in a servlet environment, an appropriate testing implementation will be provided.
  Since:
    6.0.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `withPortletPreferences(javax.portlet.PortletPreferences preferences)` Sets the HTTP request object in implementing classes.

- - ### Method Detail

    - #### withPortletPreferences

          void withPortletPreferences(javax.portlet.PortletPreferences preferences)

      Sets the HTTP request object in implementing classes.
      Parameters:
        `preferences` - the portlet preferences.

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.