Class actuate.RequestOptionsThe request options that loginServlet requires to authenticate requests. RequestOptions is used by other classes to provide authentication information. It also adds any customized options to the request URL.actuate.RequestOptions( actuate.RequestOptions requestOptions)actuate.RequestOptions object. Optional. Provides request option settings to copy into this RequestOptions objectTable 4-46 lists actuate.RequestOptions functions.
Table 4-46 Sets the repository type: enterprise or workgroup To retrieve the BIRT iServer URL from the RequestOptions object reqOpts, use code similar to the following:To retrieve the repository type for the RequestOptions object reqOpts, use code similar to the following:To retrieve the Encyclopedia volume for the RequestOptions object reqOpts, use code similar to the following:Returns the volume profile by name. Valid volume profile names are listed in the service’s WEB-INF\volumeProfile.xml file.To retrieve the volume profile for the RequestOptions object reqOpts, use code similar to the following:To add "&myParam=myValue" in a request URL derived from RequestOptions object, use code similar to the following:String. Valid repository type values are enterprise or standalone, as designated by the Actuate web application service with which to connect. Use the following constants:reqOpts.setRepositoryType(actuate.RequestOptions.REPOSITORY_STANDALONE);To set the Encyclopedia volume to marcom if the RequestOptions object reqOpts volume is null, use code similar to the following:if( reqOpts.getVolume( ) == null){Sets the volume profile to use. Valid volume profile names are listed in the service’s WEB-INF\volumeProfile.xml file.To set the volume profile to myServer if the RequestOptions object reqOpts volume profile is null, use code similar to the following:if( reqOpts.getVolume( ) == null){
|
|
Copyright Actuate Corporation 2012 |