public class ParamBuilderForwardingService extends AbstractParamBuilderService
ParamBuilders, then forward
 to the value of the forwardParam parameter. Usually this service is
 configured using Spring with a bean definition like this:
 <bean id="/someService" class="vodserver.service.ParamBuilderForwardingService">
        <property name="paramBuilders">
                <list>
                        <bean class="vodserver.parambuilder.StaticParamBuilder>
                                <property name="staticParams>
                                        <map>
                                                <entry key="someParamName" value="/otherService?prm1=xxx&prm2=yyy"/>
                                        </map>
                                </property>
                        </bean>
                </list>
        </property>
        <property name="forwardParam" value="someParamName" />
</bean>
paramBuildersLOG| Constructor and Description | 
|---|
| ParamBuilderForwardingService() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getForwardParam()Get the parameter from which to retrieve the forward URI. | 
| void | handle(javax.servlet.http.HttpServletRequest request,
      javax.servlet.http.HttpServletResponse response)Handle the service request. | 
| void | setForwardParam(String forwardParam)Set the parameter from which to retrieve the forward URI. | 
| String | toString()Provide a string representation of the configuration of this service. | 
appendParamBuilderInfo, buildParams, extraAfterPropertiesSet, extraExtraAfterPropertiesSet, getParamBuilders, setParamBuildersafterPropertiesSetgetBeanName, setBeanNamepublic void handle(javax.servlet.http.HttpServletRequest request,
          javax.servlet.http.HttpServletResponse response)
            throws IOException,
                   javax.servlet.ServletException
ParamBuilders, look up
 the value for the configured forwardParam parameter, then forward to that value.IOExceptionjavax.servlet.ServletExceptionpublic String getForwardParam()
forwardParam - public void setForwardParam(String forwardParam)
forwardParam - Copyright © 2013. All rights reserved.