Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_IsUseJsonForm
default false.
|
Modifier and Type | Method and Description |
---|---|
String |
getAppRouterConfigData()
Properties to pass to the default or custom AR in the init method.
|
String |
getCustomAppRouterJarFileName()
The custom AR JAR filename (must be stored in the $DOMAIN_HOME/approuter directory).
|
String |
getDefaultApplicationName()
The name of a default application that the container should call
when the custom AR cannot find an application to process an initial
request.
|
String |
getJsonFileName()
The Json configuration filename (must be stored in the $DOMAIN_HOME/approuter directory).
|
boolean |
isUseCustomAppRouter()
Use a custom Application Router instead of the default AR.
|
boolean |
isUseJsonForm()
Use a Json Form configuration instead of the property file.
|
void |
setAppRouterConfigData(String data) |
void |
setCustomAppRouterJarFileName(String location) |
void |
setDefaultApplicationName(String defaultApplicationName) |
void |
setJsonFileName(String location) |
void |
setUseCustomAppRouter(boolean useCustomAppRouter) |
void |
setUseJsonForm(boolean useJsonForm) |
getName, setName
static final boolean DEFAULT_IsUseJsonForm
boolean isUseCustomAppRouter()
Use a custom Application Router instead of the default AR.
void setUseCustomAppRouter(boolean useCustomAppRouter)
String getAppRouterConfigData()
Properties to pass to the default or custom AR in the init method. Enter each property on a separate line.
All configuration properties must conform to the Java Properties format. If you are entering properties for the DAR, the properties must further adhere to the detailed property format described in Appendix C of the SIP Servlet Specification v1.1. Custom AR implementations may use a detailed property format that is different from that described in Appendix C. A custom AR also has the responsibility of validating the configuration data.
You can optionally specify AR initialization properties when starting the WebLogic Communications Server instance by including the -Djavax.servlet.sip.ar.dar.configuration Java option. (To specify a property file, rather than a URI, include the prefix file:///) If you specify the Java startup option, the container ignores any configuration properties defined in AR configuration data. You can modify the properties in AR configuration data at any time, but the properties are not passed to the AR until the server is restarted with the -Djavax.servlet.sip.ar.dar.configuration option omitted.
void setAppRouterConfigData(String data) throws InvalidAttributeValueException
InvalidAttributeValueException
String getCustomAppRouterJarFileName()
The custom AR JAR filename (must be stored in the $DOMAIN_HOME/approuter directory).
void setCustomAppRouterJarFileName(String location)
String getDefaultApplicationName()
The name of a default application that the container should call when the custom AR cannot find an application to process an initial request.
If no default application is specified, the container returns a 500 error if the AR cannot select an application.
Note: You must first deploy an application before specifying its name as the value of Default application name.
void setDefaultApplicationName(String defaultApplicationName)
boolean isUseJsonForm()
Use a Json Form configuration instead of the property file.
void setUseJsonForm(boolean useJsonForm)
String getJsonFileName()
The Json configuration filename (must be stored in the $DOMAIN_HOME/approuter directory).
void setJsonFileName(String location)