public interface BaseMockResponseConfig extends ModelItemConfig
Modifier and Type | Interface and Description |
---|---|
static class |
BaseMockResponseConfig.Factory
A factory class with static methods for creating instances
of this type.
|
Modifier and Type | Field and Description |
---|---|
static org.apache.xmlbeans.SchemaType |
type |
Modifier and Type | Method and Description |
---|---|
AttachmentConfig |
addNewAttachment()
Appends and returns a new empty value (as xml) as the last "attachment" element
|
HeaderConfig |
addNewHeader()
Appends and returns a new empty value (as xml) as the last "header" element
|
CompressedStringConfig |
addNewResponseContent()
Appends and returns a new empty "responseContent" element
|
ScriptConfig |
addNewScript()
Appends and returns a new empty "script" element
|
AttachmentConfig[] |
getAttachmentArray()
Deprecated.
|
AttachmentConfig |
getAttachmentArray(int i)
Gets ith "attachment" element
|
List<AttachmentConfig> |
getAttachmentList()
Gets a List of "attachment" elements
|
String |
getCompression()
Gets the "compression" attribute
|
boolean |
getDisabled()
Gets the "disabled" attribute
|
String |
getEncoding()
Gets the "encoding" attribute
|
HeaderConfig[] |
getHeaderArray()
Deprecated.
|
HeaderConfig |
getHeaderArray(int i)
Gets ith "header" element
|
List<HeaderConfig> |
getHeaderList()
Gets a List of "header" elements
|
String |
getHttpResponseStatus()
Gets the "httpResponseStatus" attribute
|
CompressedStringConfig |
getResponseContent()
Gets the "responseContent" element
|
ScriptConfig |
getScript()
Gets the "script" element
|
AttachmentConfig |
insertNewAttachment(int i)
Inserts and returns a new empty value (as xml) as the ith "attachment" element
|
HeaderConfig |
insertNewHeader(int i)
Inserts and returns a new empty value (as xml) as the ith "header" element
|
boolean |
isSetCompression()
True if has "compression" attribute
|
boolean |
isSetDisabled()
True if has "disabled" attribute
|
boolean |
isSetEncoding()
True if has "encoding" attribute
|
boolean |
isSetHttpResponseStatus()
True if has "httpResponseStatus" attribute
|
boolean |
isSetScript()
True if has "script" element
|
void |
removeAttachment(int i)
Removes the ith "attachment" element
|
void |
removeHeader(int i)
Removes the ith "header" element
|
void |
setAttachmentArray(AttachmentConfig[] attachmentArray)
Sets array of all "attachment" element
|
void |
setAttachmentArray(int i,
AttachmentConfig attachment)
Sets ith "attachment" element
|
void |
setCompression(String compression)
Sets the "compression" attribute
|
void |
setDisabled(boolean disabled)
Sets the "disabled" attribute
|
void |
setEncoding(String encoding)
Sets the "encoding" attribute
|
void |
setHeaderArray(HeaderConfig[] headerArray)
Sets array of all "header" element
|
void |
setHeaderArray(int i,
HeaderConfig header)
Sets ith "header" element
|
void |
setHttpResponseStatus(String httpResponseStatus)
Sets the "httpResponseStatus" attribute
|
void |
setResponseContent(CompressedStringConfig responseContent)
Sets the "responseContent" element
|
void |
setScript(ScriptConfig script)
Sets the "script" element
|
int |
sizeOfAttachmentArray()
Returns number of "attachment" element
|
int |
sizeOfHeaderArray()
Returns number of "header" element
|
void |
unsetCompression()
Unsets the "compression" attribute
|
void |
unsetDisabled()
Unsets the "disabled" attribute
|
void |
unsetEncoding()
Unsets the "encoding" attribute
|
void |
unsetHttpResponseStatus()
Unsets the "httpResponseStatus" attribute
|
void |
unsetScript()
Unsets the "script" element
|
org.apache.xmlbeans.XmlString |
xgetCompression()
Gets (as xml) the "compression" attribute
|
org.apache.xmlbeans.XmlBoolean |
xgetDisabled()
Gets (as xml) the "disabled" attribute
|
org.apache.xmlbeans.XmlString |
xgetEncoding()
Gets (as xml) the "encoding" attribute
|
org.apache.xmlbeans.XmlString |
xgetHttpResponseStatus()
Gets (as xml) the "httpResponseStatus" attribute
|
void |
xsetCompression(org.apache.xmlbeans.XmlString compression)
Sets (as xml) the "compression" attribute
|
void |
xsetDisabled(org.apache.xmlbeans.XmlBoolean disabled)
Sets (as xml) the "disabled" attribute
|
void |
xsetEncoding(org.apache.xmlbeans.XmlString encoding)
Sets (as xml) the "encoding" attribute
|
void |
xsetHttpResponseStatus(org.apache.xmlbeans.XmlString httpResponseStatus)
Sets (as xml) the "httpResponseStatus" attribute
|
addNewSettings, getDescription, getId, getName, getSettings, getTimestamp, isSetDescription, isSetId, isSetName, isSetSettings, isSetTimestamp, setDescription, setId, setName, setSettings, setTimestamp, unsetDescription, unsetId, unsetName, unsetSettings, unsetTimestamp, xgetDescription, xgetId, xgetName, xgetTimestamp, xsetDescription, xsetId, xsetName, xsetTimestamp
changeType, compareTo, compareValue, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
ScriptConfig getScript()
boolean isSetScript()
void setScript(ScriptConfig script)
ScriptConfig addNewScript()
void unsetScript()
CompressedStringConfig getResponseContent()
void setResponseContent(CompressedStringConfig responseContent)
CompressedStringConfig addNewResponseContent()
List<AttachmentConfig> getAttachmentList()
AttachmentConfig[] getAttachmentArray()
AttachmentConfig getAttachmentArray(int i)
int sizeOfAttachmentArray()
void setAttachmentArray(AttachmentConfig[] attachmentArray)
void setAttachmentArray(int i, AttachmentConfig attachment)
AttachmentConfig insertNewAttachment(int i)
AttachmentConfig addNewAttachment()
void removeAttachment(int i)
List<HeaderConfig> getHeaderList()
HeaderConfig[] getHeaderArray()
HeaderConfig getHeaderArray(int i)
int sizeOfHeaderArray()
void setHeaderArray(HeaderConfig[] headerArray)
void setHeaderArray(int i, HeaderConfig header)
HeaderConfig insertNewHeader(int i)
HeaderConfig addNewHeader()
void removeHeader(int i)
String getHttpResponseStatus()
org.apache.xmlbeans.XmlString xgetHttpResponseStatus()
boolean isSetHttpResponseStatus()
void setHttpResponseStatus(String httpResponseStatus)
void xsetHttpResponseStatus(org.apache.xmlbeans.XmlString httpResponseStatus)
void unsetHttpResponseStatus()
boolean getDisabled()
org.apache.xmlbeans.XmlBoolean xgetDisabled()
boolean isSetDisabled()
void setDisabled(boolean disabled)
void xsetDisabled(org.apache.xmlbeans.XmlBoolean disabled)
void unsetDisabled()
String getCompression()
org.apache.xmlbeans.XmlString xgetCompression()
boolean isSetCompression()
void setCompression(String compression)
void xsetCompression(org.apache.xmlbeans.XmlString compression)
void unsetCompression()
String getEncoding()
org.apache.xmlbeans.XmlString xgetEncoding()
boolean isSetEncoding()
void setEncoding(String encoding)
void xsetEncoding(org.apache.xmlbeans.XmlString encoding)
void unsetEncoding()
Copyright © 2019. All Rights Reserved.