|
Oracle Communications Services Gatekeeper OAM Java API Reference 7.0.0.1 E96580-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static java.lang.String |
apiConfigXml
Creates a "white list" of trusted APIs. |
static boolean |
createViolationEdrs
Specifies if a violation of firewall rules should result in an EDR to be created. |
static int |
errorStatus
Specifies the HTTP status code returned by this MBean when a message is rejected. |
static int |
maxChildElementDepth
Specifies the maximum number of nested elements allowed in a message. |
static int |
maxItemValueLength
Specifies the maximum size of a single message entity, such as an element, attribute, or comment. |
static int |
maxMessageSize
Specifies the maximum message size of the request, excluding attachments. |
static int |
maxUnboundedItems
Specifies the maximum number of unbound items that a message can contain. |
Method Summary | |
abstract void |
addClientErrorCodeMapping(java.lang.String code,
int translatedCode)
Add a client error code translation that will rewrite the status code before returned to caller. |
abstract void |
addClientErrorMessageMapping(java.lang.String code,
java.lang.String message)
Specify a message, or message type to use for a code that matches the code parameter. |
abstract java.lang.String |
getApiConfigXml()
|
abstract boolean |
getCreateViolationEdrs()
|
abstract int |
getErrorStatus()
|
abstract int |
getMaxChildElementDepth()
|
abstract int |
getMaxItemValueLength()
|
abstract int |
getMaxMessageSize()
|
abstract int |
getMaxUnboundedItems()
|
abstract java.lang.String[] |
listClientErrorCodeMappings()
Lists existing error code translations in a human readable format. |
abstract java.lang.String[] |
listClientErrorMessageMappings()
Lists existing error messages in a human readable format. |
abstract void |
removeClientErrorCodeMapping(java.lang.String code)
Removes a client error code translation. |
abstract void |
removeClientErrorMessageMapping(java.lang.String code)
Removes a client error code translation. |
abstract void |
setApiConfigXml(java.lang.String value)
|
abstract void |
setCreateViolationEdrs(boolean value)
|
abstract void |
setErrorStatus(int value)
|
abstract void |
setMaxChildElementDepth(int value)
|
abstract void |
setMaxItemValueLength(int value)
|
abstract void |
setMaxMessageSize(int value)
|
abstract void |
setMaxUnboundedItems(int value)
|
Field Detail |
public static final java.lang.String apiConfigXml
public static final boolean createViolationEdrs
public static final int errorStatus
public static final int maxChildElementDepth
public static final int maxItemValueLength
public static final int maxMessageSize
public static final int maxUnboundedItems
Method Detail |
public void addClientErrorCodeMapping(java.lang.String code, int translatedCode) throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException, oracle.ocsg.management.common.OamIllegalArgumentException
code
- is either a fully qualified error code, eg 401 in range [400,499] or a wildcard: 40* 4*.
Note 4*4 is not valid format.translatedCode
- is the resulting error code, must be in range [400,499].
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
- when there is problem saving to db.
oracle.ocsg.management.common.OamIllegalArgumentException
- when supplied code is invalid.public void addClientErrorMessageMapping(java.lang.String code, java.lang.String message) throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException, oracle.ocsg.management.common.OamIllegalArgumentException
code
- is either a fully qualified error code, eg 401 in range [400,499] or a wildcard: 40* 4*. Note 4*4 is not valid format.message
- is BLANK, ERROR_PAGE or a non-empty string of your choice.
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
- when there is problem with store.
oracle.ocsg.management.common.OamIllegalArgumentException
- when supplied code is invalid or message is empty.public java.lang.String getApiConfigXml() throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
public boolean getCreateViolationEdrs() throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
public int getErrorStatus() throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
public int getMaxChildElementDepth() throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
public int getMaxItemValueLength() throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
public int getMaxMessageSize() throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
public int getMaxUnboundedItems() throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
public java.lang.String[] listClientErrorCodeMappings() throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
- when there is problem with store.public java.lang.String[] listClientErrorMessageMappings() throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
- when there is problem with store.public void removeClientErrorCodeMapping(java.lang.String code) throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
code
- must match an existing mapping key.
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
- when there is problem with store.public void removeClientErrorMessageMapping(java.lang.String code) throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
code
- must have a message configured.
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
- when there is problem with store.public void setApiConfigXml(java.lang.String value) throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
public void setCreateViolationEdrs(boolean value) throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
public void setErrorStatus(int value) throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
public void setMaxChildElementDepth(int value) throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
public void setMaxItemValueLength(int value) throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
public void setMaxMessageSize(int value) throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
public void setMaxUnboundedItems(int value) throws com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
com.bea.wlcp.wlng.api.storage.configuration.ConfigurationException
|
Oracle Communications Services Gatekeeper OAM Java API Reference 7.0.0.1 E96580-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |