# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Methods

- Deprecated Interfaces
  Interface and Description
  org.apache.struts2.portlet.interceptor.PortletContextAware please use `PortletContextAware` instead
  org.apache.struts2.portlet.interceptor.PortletPreferencesAware please use `PortletPreferencesAware` instead
  org.apache.struts2.portlet.interceptor.PortletRequestAware please use `PortletRequestAware` instead
  org.apache.struts2.portlet.interceptor.PortletResponseAware please use `PortletResponseAware` instead

- Deprecated Methods
  Method and Description
  org.apache.struts2.portlet.interceptor.PortletContextAware.setPortletContext(PortletContext) please use `PortletContextAware.withPortletContext(PortletContext)` instead
  org.apache.struts2.portlet.interceptor.PortletPreferencesAware.setPortletPreferences(PortletPreferences) please use `PortletPreferencesAware.withPortletPreferences(PortletPreferences)` instead
  org.apache.struts2.portlet.interceptor.PortletRequestAware.setPortletRequest(PortletRequest) please use `PortletRequestAware.withPortletRequest(PortletRequest)` instead
  org.apache.struts2.portlet.interceptor.PortletResponseAware.setPortletResponse(PortletResponse) please use `PortletResponseAware.withPortletResponse(PortletResponse)` instead

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