Interface RequestParameterProvider

All Superinterfaces:
org.ocpsoft.common.pattern.Weighted

public interface RequestParameterProvider extends org.ocpsoft.common.pattern.Weighted
Supplies additional request parameters to the HttpServletRequest object. Additional parameter providers may be specified by providing a service activator file containing the name of your implementations:

/META-INF/services/org.ocpsoft.rewrite.servlet.spi.RequestParameterProvider
--------------
com.example.ParameterProviderImpl

Author:
Lincoln Baxter, III
  • Method Summary

    Modifier and Type
    Method
    Description
    getAdditionalParameters(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response)
    Return a map of parameters to be added to the current request as if they had been passed with the HTTP request from the browser.

    Methods inherited from interface org.ocpsoft.common.pattern.Weighted

    priority
  • Method Details

    • getAdditionalParameters

      Map<String,String[]> getAdditionalParameters(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response)
      Return a map of parameters to be added to the current request as if they had been passed with the HTTP request from the browser. This occurs during the wrapping stage of the lifecycle.