public class HttpRequest extends AbstractHttpRequest<HttpRequestConfig> implements HttpRequestInterface<HttpRequestConfig>
Modifier and Type | Class and Description |
---|---|
class |
HttpRequest.HttpContentPart |
AbstractHttpRequest.RequestIconAnimator<T extends AbstractHttpRequest<?>>
Request.SubmitException
BASIC_AUTH_PROFILE, CR_ESCAPE_SEQUENCE, SELECTED_AUTH_PROFILE_PROPERTY_NAME
BIND_ADDRESS, DISABLE_MULTIPART_ATTACHMENTS, DUMP_FILE, FOLLOW_REDIRECTS, log, MAX_SIZE, REMOVE_EMPTY_CONTENT, REQUEST_HEADERS_PROPERTY, RESPONSE_PROPERTY, STRIP_WHITESPACES
ENCODING_PROPERTY, ENDPOINT_PROPERTY, MEDIA_TYPE, REQUEST_PROPERTY
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
ATTACHMENTS_PROPERTY
Modifier | Constructor and Description |
---|---|
protected |
HttpRequest(HttpRequestConfig config,
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, hasEndpoint, importAttachment, initIconAnimator, isEntitizeProperties, isFollowRedirects, isMultipartEnabled, isPrettyPrint, isReadOnly, isRemoveEmptyContent, isStripWhitespaces, release, 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, setUsername
afterLoad, dependsOn, getConfig, getDescription, getExternalDependencies, getId, getName, getParent, getSettings, getWsdlModelItemById, getWsdlModelItemByName, setConfig, setDescription, setIcon, setName, setSettings
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addExternalDependencies, beforeSave, copyAttachmentsTo, getAfterRequestInjection, getAuthType, getBindAddress, getDomain, getDumpFile, getIcon, getIconAnimator, getMaxSize, getPassword, getRequestHeaders, getResponse, getSslKeystore, getSubmitListeners, getUsername, hasEndpoint, importAttachment, isEntitizeProperties, isFollowRedirects, isPrettyPrint, isReadOnly, isRemoveEmptyContent, isStripWhitespaces, release, resolve, setBindAddress, setDomain, setDumpFile, setEntitizeProperties, setFollowRedirects, setIconAnimator, setMaxSize, setMultipartEnabled, setPassword, setPrettyPrint, setRemoveEmptyContent, setRequestContent, setRequestHeaders, setResponse, setSslKeystore, setStripWhitespaces, setUsername
addSubmitListener, dependsOn, getAttachments, getEncoding, getEndpoint, getRequestContent, getTimeout, removeSubmitListener, setEncoding, setEndpoint
getChildren, getDescription, getId, getName, getParent, getProject, getSettings
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
attachFile, removeAttachment
addAttachmentsChangeListener, getAttachmentAt, getAttachmentCount, getAttachments, getAttachmentsForPart, isMultipartEnabled, removeAttachmentsChangeListener
protected HttpRequest(HttpRequestConfig config, boolean forLoadTest)
public TestProperty addProperty(String name)
addProperty
in interface MutableTestPropertyHolder
public void moveProperty(String propertyName, int targetIndex)
moveProperty
in interface MutableTestPropertyHolder
public TestProperty removeProperty(String propertyName)
removeProperty
in interface MutableTestPropertyHolder
public boolean renameProperty(String name, String newName)
renameProperty
in interface MutableTestPropertyHolder
public void addTestPropertyListener(TestPropertyListener listener)
addTestPropertyListener
in interface TestPropertyHolder
public ModelItem getModelItem()
AttachmentContainer
getModelItem
in interface AttachmentContainer
getModelItem
in interface TestPropertyHolder
public String getMediaType()
MediaType
getMediaType
in interface MediaType
public String getPath()
getPath
in interface HttpRequestInterface<HttpRequestConfig>
public boolean hasRequestBody()
hasRequestBody
in interface HttpRequestInterface<HttpRequestConfig>
public RestParamsPropertyHolder getParams()
getParams
in interface HttpRequestInterface<HttpRequestConfig>
public Map<String,TestProperty> getProperties()
getProperties
in interface TestPropertyHolder
public RestParamProperty getProperty(String name)
getProperty
in interface TestPropertyHolder
public RestParamProperty getPropertyAt(int index)
getPropertyAt
in interface TestPropertyHolder
public int getPropertyCount()
getPropertyCount
in interface TestPropertyHolder
public String[] getPropertyNames()
getPropertyNames
in interface TestPropertyHolder
public String getPropertyValue(String name)
getPropertyValue
in interface TestPropertyHolder
public boolean isPostQueryString()
isPostQueryString
in interface HttpRequestInterface<HttpRequestConfig>
public boolean hasProperty(String name)
hasProperty
in interface TestPropertyHolder
public void setPropertyValue(String name, String value)
setPropertyValue
in interface TestPropertyHolder
public void setMediaType(String mediaType)
MediaType
setMediaType
in interface MediaType
mediaType
- a valid media type.public void setPostQueryString(boolean b)
setPostQueryString
in interface HttpRequestInterface<HttpRequestConfig>
public void setMethod(RestRequestInterface.HttpMethod method)
setMethod
in interface HttpRequestInterface<HttpRequestConfig>
public void setDownloadIncludedResources(boolean downloadIncludedResources)
public boolean getDownloadIncludedResources()
public String getPropertiesLabel()
getPropertiesLabel
in interface TestPropertyHolder
public void removeTestPropertyListener(TestPropertyListener listener)
removeTestPropertyListener
in interface TestPropertyHolder
public HttpAttachmentPart getAttachmentPart(String partName)
AbstractHttpRequest
getAttachmentPart
in interface AttachmentContainer
getAttachmentPart
in class AbstractHttpRequest<HttpRequestConfig>
AttachmentContainer.getAttachmentPart(java.lang.String)
public HttpAttachmentPart[] getDefinedAttachmentParts()
getDefinedAttachmentParts
in interface AttachmentContainer
public RestRequestInterface.HttpMethod getMethod()
getMethod
in interface AbstractHttpRequestInterface<HttpRequestConfig>
getMethod
in class AbstractHttpRequest<HttpRequestConfig>
public MessagePart[] getRequestParts()
getRequestParts
in interface Request
public MessagePart[] getResponseParts()
getResponseParts
in interface Request
public String getResponseContentAsXml()
getResponseContentAsXml
in interface HttpRequestInterface<HttpRequestConfig>
public WsdlSubmit<HttpRequest> submit(SubmitContext submitContext, boolean async) throws Request.SubmitException
submit
in interface Request
Request.SubmitException
public void updateConfig(HttpRequestConfig request)
updateConfig
in interface HttpRequestInterface<HttpRequestConfig>
public AbstractHttpOperation getOperation()
getOperation
in interface Request
getOperation
in class AbstractHttpRequest<HttpRequestConfig>
public List<TestProperty> getPropertyList()
getPropertyList
in interface TestPropertyHolder
public JMSHeaderConfig getJMSHeaderConfig()
getJMSHeaderConfig
in interface JMSHeaderContainer
public JMSPropertiesConfig getJMSPropertiesConfig()
getJMSPropertiesConfig
in interface JMSPropertyContainer
public void notifyPropertyChanged(String responseContentProperty, String oldContent, String responseContent)
notifyPropertyChanged
in class AbstractModelItem
public String getMultiValueDelimiter()
getMultiValueDelimiter
in interface HttpRequestInterface<HttpRequestConfig>
public void setMultiValueDelimiter(String delimiter)
public PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions
in interface PropertyExpansionContainer
getPropertyExpansions
in class AbstractHttpRequest<HttpRequestConfig>
public boolean isSendEmptyParameters()
public void setSendEmptyParameters(boolean sendEmptyParameters)
Copyright © 2019. All Rights Reserved.