public class RestRequest extends AbstractHttpRequest<RestRequestConfig> implements RestRequestInterface
| Modifier and Type | Class and Description | 
|---|---|
| static class  | RestRequest.ParameterMessagePart | 
| class  | RestRequest.RestContentPart | 
AbstractHttpRequest.RequestIconAnimator<T extends AbstractHttpRequest<?>>RestRequestInterface.HttpMethodRequest.SubmitExceptionBASIC_AUTH_PROFILE, CR_ESCAPE_SEQUENCE, SELECTED_AUTH_PROFILE_PROPERTY_NAMEDEFAULT_MEDIATYPE, log, REST_XML_REQUESTBIND_ADDRESS, DISABLE_MULTIPART_ATTACHMENTS, DUMP_FILE, FOLLOW_REDIRECTS, MAX_SIZE, REMOVE_EMPTY_CONTENT, REQUEST_HEADERS_PROPERTY, RESPONSE_PROPERTY, STRIP_WHITESPACESENCODING_PROPERTY, ENDPOINT_PROPERTY, MEDIA_TYPE, REQUEST_PROPERTYDESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTYATTACHMENTS_PROPERTY| Constructor and Description | 
|---|
| RestRequest(RestMethod method,
           RestRequestConfig requestConfig,
           boolean forLoadTest) | 
addAttachmentsChangeListener, addBasicAuthenticationProfile, addExternalDependencies, addSubmitListener, attachBinaryData, attachFile, beforeSave, copyAttachmentsTo, getAfterRequestInjection, getAttachmentAt, getAttachmentCount, getAttachments, getAttachmentsForPart, getAttachmentsList, getAuthType, getBasicAuthenticationProfiles, getBasicAuthType, getBindAddress, getDomain, getDumpFile, getEncoding, getEndpoint, getIcon, getIconAnimator, getMaxSize, getPassword, getPreemptive, getRequestContent, getRequestHeaders, getResponse, getSelectedAuthProfile, getSslKeystore, getSubmitListeners, getTimeout, getUsername, importAttachment, isEntitizeProperties, isFollowRedirects, isMultipartEnabled, isPrettyPrint, isReadOnly, isRemoveEmptyContent, isStripWhitespaces, removeAttachment, removeAttachmentsChangeListener, removeBasicAuthenticationProfile, removeSubmitListener, resolve, setAfterRequestInjection, setAttachmentAt, setBindAddress, setDomain, setDumpFile, setEncoding, setEndpoint, setEntitizeProperties, setFollowRedirects, setIconAnimator, setMaxSize, setMultipartEnabled, setPassword, setPreemptive, setPrettyPrint, setRemoveEmptyContent, setRequestContent, setRequestHeaders, setRequestHeaders, setResponse, setSelectedAuthProfileAndAuthType, setSslKeystore, setStripWhitespaces, setTimeout, setUsernameafterLoad, dependsOn, getConfig, getDescription, getExternalDependencies, getId, getName, getSettings, getWsdlModelItemById, getWsdlModelItemByName, setConfig, setDescription, setIcon, setName, setSettingsaddPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetResponseaddExternalDependencies, beforeSave, copyAttachmentsTo, getAfterRequestInjection, getAuthType, getBindAddress, getDomain, getDumpFile, getIcon, getIconAnimator, getMaxSize, getPassword, getRequestHeaders, getResponse, getSslKeystore, getSubmitListeners, getUsername, importAttachment, isEntitizeProperties, isFollowRedirects, isPrettyPrint, isReadOnly, isRemoveEmptyContent, isStripWhitespaces, resolve, setBindAddress, setDomain, setDumpFile, setEntitizeProperties, setFollowRedirects, setIconAnimator, setMaxSize, setMultipartEnabled, setPassword, setPrettyPrint, setRemoveEmptyContent, setRequestContent, setRequestHeaders, setSslKeystore, setStripWhitespaces, setUsernameaddSubmitListener, dependsOn, getAttachments, getEncoding, getEndpoint, getRequestContent, getTimeout, removeSubmitListener, setEncoding, setEndpointgetChildren, getDescription, getId, getName, getProject, getSettingsaddPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerattachFile, removeAttachmentaddAttachmentsChangeListener, getAttachmentAt, getAttachmentCount, getAttachments, getAttachmentsForPart, isMultipartEnabled, removeAttachmentsChangeListenerpublic RestRequest(RestMethod method, RestRequestConfig requestConfig, boolean forLoadTest)
public ModelItem getParent()
getParent in interface ModelItemgetParent in class AbstractWsdlModelItem<RestRequestConfig>public RestMethod getRestMethod()
getRestMethod in interface RestRequestInterfaceprotected AbstractHttpRequest.RequestIconAnimator<?> initIconAnimator()
initIconAnimator in class AbstractHttpRequest<RestRequestConfig>public MessagePart[] getRequestParts()
getRequestParts in interface Requestpublic RestRepresentation[] getRepresentations()
getRepresentations in interface RestRequestInterfacepublic RestRepresentation[] getRepresentations(RestRepresentation.Type type)
getRepresentations in interface RestRequestInterfacepublic RestRepresentation[] getRepresentations(RestRepresentation.Type type, String mediaType)
getRepresentations in interface RestRequestInterfacepublic MessagePart[] getResponseParts()
getResponseParts in interface Requestpublic RestRequestInterface.HttpMethod getMethod()
getMethod in interface AbstractHttpRequestInterface<RestRequestConfig>getMethod in class AbstractHttpRequest<RestRequestConfig>public String getAccept()
getAccept in interface RestRequestInterfacepublic void setAccept(String acceptEncoding)
setAccept in interface RestRequestInterfacepublic void setMediaType(String mediaType)
MediaTypesetMediaType in interface MediaTypemediaType - a valid media type.public String getMediaType()
MediaTypegetMediaType in interface MediaTypepublic void setMethod(RestRequestInterface.HttpMethod method)
setMethod in interface HttpRequestInterface<RestRequestConfig>public WsdlSubmit<RestRequest> submit(SubmitContext submitContext, boolean async) throws Request.SubmitException
submit in interface RequestRequest.SubmitExceptionpublic PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions in interface PropertyExpansionContainergetPropertyExpansions in class AbstractHttpRequest<RestRequestConfig>public void addJMSHeaderExpansions(PropertyExpansionsResult result, JMSHeaderConfig jmsHeaderConfig, ModelItem modelItem)
public TestProperty addProperty(String name)
addProperty in interface MutableTestPropertyHolderpublic void moveProperty(String propertyName, int targetIndex)
moveProperty in interface MutableTestPropertyHolderpublic TestProperty removeProperty(String propertyName)
removeProperty in interface MutableTestPropertyHolderpublic boolean renameProperty(String name, String newName)
renameProperty in interface MutableTestPropertyHolderpublic void addTestPropertyListener(TestPropertyListener listener)
addTestPropertyListener in interface TestPropertyHolderpublic ModelItem getModelItem()
AttachmentContainergetModelItem in interface AttachmentContainergetModelItem in interface TestPropertyHolderpublic RestResource getOperation()
getOperation in interface RequestgetOperation in class AbstractHttpRequest<RestRequestConfig>public Map<String,TestProperty> getProperties()
getProperties in interface TestPropertyHolderpublic RestParamProperty getProperty(String name)
getProperty in interface TestPropertyHolderpublic RestParamProperty getPropertyAt(int index)
getPropertyAt in interface TestPropertyHolderpublic int getPropertyCount()
getPropertyCount in interface TestPropertyHolderpublic String[] getPropertyNames()
getPropertyNames in interface TestPropertyHolderpublic String getPropertyValue(String name)
getPropertyValue in interface TestPropertyHolderpublic boolean hasProperty(String name)
hasProperty in interface TestPropertyHolderpublic void removeTestPropertyListener(TestPropertyListener listener)
removeTestPropertyListener in interface TestPropertyHolderpublic void setPropertyValue(String name, String value)
setPropertyValue in interface TestPropertyHolderpublic void resetPropertyValues()
public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerpublic String[] getResponseMediaTypes()
getResponseMediaTypes in interface RestRequestInterfacepublic boolean isPostQueryString()
isPostQueryString in interface HttpRequestInterface<RestRequestConfig>public void setPostQueryString(boolean b)
setPostQueryString in interface HttpRequestInterface<RestRequestConfig>public String getPropertiesLabel()
getPropertiesLabel in interface TestPropertyHolderpublic RestParamsPropertyHolder getParams()
getParams in interface HttpRequestInterface<RestRequestConfig>public HttpAttachmentPart getAttachmentPart(String partName)
AbstractHttpRequestgetAttachmentPart in interface AttachmentContainergetAttachmentPart in class AbstractHttpRequest<RestRequestConfig>AttachmentContainer.getAttachmentPart(java.lang.String)public HttpAttachmentPart[] getDefinedAttachmentParts()
getDefinedAttachmentParts in interface AttachmentContainerpublic boolean hasRequestBody()
hasRequestBody in interface HttpRequestInterface<RestRequestConfig>public RestResource getResource()
getResource in interface RestRequestInterfacepublic String getPath()
getPath in interface HttpRequestInterface<RestRequestConfig>public void setPath(String fullPath)
setPath in interface RestRequestInterfacepublic String getResponseContentAsXml()
getResponseContentAsXml in interface HttpRequestInterface<RestRequestConfig>public void release()
release in interface RestRequestInterfacerelease in interface AbstractHttpRequestInterface<RestRequestConfig>release in interface Releasablerelease in class AbstractHttpRequest<RestRequestConfig>public void updateConfig(RestRequestConfig request)
updateConfig in interface HttpRequestInterface<RestRequestConfig>protected void updateParams()
public boolean hasEndpoint()
hasEndpoint in interface RestRequestInterfacehasEndpoint in interface AbstractHttpRequestInterface<RestRequestConfig>hasEndpoint in class AbstractHttpRequest<RestRequestConfig>public List<TestProperty> getPropertyList()
getPropertyList in interface TestPropertyHolderprotected void setRestMethod(RestMethod restMethod)
public JMSHeaderConfig getJMSHeaderConfig()
getJMSHeaderConfig in interface JMSHeaderContainerpublic JMSPropertiesConfig getJMSPropertiesConfig()
getJMSPropertiesConfig in interface JMSPropertyContainerpublic String getMultiValueDelimiter()
getMultiValueDelimiter in interface HttpRequestInterface<RestRequestConfig>public void setMultiValueDelimiter(String delimiter)
Copyright © 2019. All Rights Reserved.