public abstract class AbstractHttpRequest<T extends AbstractRequestConfig> extends AbstractWsdlModelItem<T> implements Request, AbstractHttpRequestInterface<T>, JMSHeaderContainer, JMSPropertyContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractHttpRequest.RequestIconAnimator<T extends AbstractHttpRequest<?>> |
Request.SubmitException| Modifier and Type | Field and Description |
|---|---|
static String |
BASIC_AUTH_PROFILE |
static String |
CR_ESCAPE_SEQUENCE |
static String |
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_WHITESPACESENCODING_PROPERTY, ENDPOINT_PROPERTY, MEDIA_TYPE, REQUEST_PROPERTYDESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTYATTACHMENTS_PROPERTY| Modifier | Constructor and Description |
|---|---|
protected |
AbstractHttpRequest(T config,
AbstractHttpOperation parent,
String icon,
boolean forLoadTest) |
afterLoad, dependsOn, getConfig, getDescription, getExternalDependencies, getId, getName, getParent, 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, waitdependsOn, getRequestParts, getResponseParts, submitgetChildren, getDescription, getId, getName, getParent, getProject, getSettingsaddPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenergetDefinedAttachmentParts, getModelItemgetJMSHeaderConfiggetJMSPropertiesConfigpublic static final String BASIC_AUTH_PROFILE
public static final String SELECTED_AUTH_PROFILE_PROPERTY_NAME
public static final String CR_ESCAPE_SEQUENCE
protected AbstractHttpRequest(T config, AbstractHttpOperation parent, String icon, boolean forLoadTest)
protected List<FileAttachment<?>> getAttachmentsList()
public Attachment attachBinaryData(byte[] data, String contentType)
public Attachment attachFile(File file, boolean cache) throws IOException
attachFile in interface MutableAttachmentContainerIOExceptionpublic abstract RestRequestInterface.HttpMethod getMethod()
getMethod in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public abstract HttpAttachmentPart getAttachmentPart(String partName)
getAttachmentPart in interface AttachmentContainerAttachmentContainer.getAttachmentPart(java.lang.String)public int getAttachmentCount()
getAttachmentCount in interface AttachmentContainerpublic Attachment getAttachmentAt(int index)
getAttachmentAt in interface AttachmentContainerpublic void setAttachmentAt(int index,
Attachment attachment)
public Attachment[] getAttachmentsForPart(String partName)
getAttachmentsForPart in interface AttachmentContainerpublic void removeAttachment(Attachment attachment)
removeAttachment in interface MutableAttachmentContainerpublic Attachment[] getAttachments()
getAttachments in interface AttachmentContainergetAttachments in interface Requestprotected AbstractHttpRequest.RequestIconAnimator<?> initIconAnimator()
public void addSubmitListener(SubmitListener listener)
addSubmitListener in interface Requestpublic void removeSubmitListener(SubmitListener listener)
removeSubmitListener in interface Requestpublic boolean isMultipartEnabled()
isMultipartEnabled in interface AttachmentContainerpublic void setMultipartEnabled(boolean multipartEnabled)
setMultipartEnabled in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public boolean isEntitizeProperties()
isEntitizeProperties in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void setEntitizeProperties(boolean entitizeProperties)
setEntitizeProperties in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void release()
release in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>release in interface Releasablerelease in class AbstractWsdlModelItem<T extends AbstractRequestConfig>public SubmitListener[] getSubmitListeners()
getSubmitListeners in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public AbstractHttpOperation getOperation()
getOperation in interface Requestpublic void copyAttachmentsTo(WsdlRequest newRequest)
copyAttachmentsTo in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public Attachment importAttachment(Attachment attachment)
importAttachment in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void addAttachmentsChangeListener(PropertyChangeListener listener)
addAttachmentsChangeListener in interface AttachmentContainerpublic boolean isReadOnly()
isReadOnly in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void removeAttachmentsChangeListener(PropertyChangeListener listener)
removeAttachmentsChangeListener in interface AttachmentContainerpublic String getRequestContent()
getRequestContent in interface Requestpublic void setRequestContent(String request)
setRequestContent in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public boolean isPrettyPrint()
isPrettyPrint in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void setPrettyPrint(boolean prettyPrint)
setPrettyPrint in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void setEndpoint(String endpoint)
setEndpoint in interface Requestpublic String getEndpoint()
getEndpoint in interface Requestpublic String getEncoding()
getEncoding in interface Requestpublic void setEncoding(String encoding)
setEncoding in interface Requestpublic String getTimeout()
getTimeout in interface Requestpublic void setTimeout(String timeout)
public StringToStringsMap getRequestHeaders()
getRequestHeaders in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public AbstractHttpRequest.RequestIconAnimator<?> getIconAnimator()
getIconAnimator in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void setRequestHeaders(StringToStringMap map)
map - public void setRequestHeaders(StringToStringsMap map)
setRequestHeaders in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public ImageIcon getIcon()
getIcon in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>getIcon in interface ModelItemgetIcon in class AbstractWsdlModelItem<T extends AbstractRequestConfig>public PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions in interface PropertyExpansionContainerpublic String getUsername()
getUsername in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>getUsername in interface Requestpublic String getPassword()
getPassword in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>getPassword in interface Requestpublic String getDomain()
getDomain in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public String getSelectedAuthProfile()
public String getAuthType()
getAuthType in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>getAuthType in interface Requestpublic void addBasicAuthenticationProfile(String authType)
public void removeBasicAuthenticationProfile(String authType)
public void setUsername(String username)
setUsername in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void setPassword(String password)
setPassword in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void setDomain(String domain)
setDomain in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void setSelectedAuthProfileAndAuthType(String authProfile, CredentialsConfig.AuthType.Enum authType)
public CredentialsConfig.AuthType.Enum getBasicAuthType(String selectedProfile)
public boolean getPreemptive()
public void setPreemptive(boolean preemptive)
public String getSslKeystore()
getSslKeystore in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void setSslKeystore(String sslKeystore)
setSslKeystore in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public String getBindAddress()
getBindAddress in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void setBindAddress(String bindAddress)
setBindAddress in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public long getMaxSize()
getMaxSize in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void setMaxSize(long maxSize)
setMaxSize in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public String getDumpFile()
getDumpFile in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void setDumpFile(String df)
setDumpFile in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public boolean isRemoveEmptyContent()
isRemoveEmptyContent in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void setRemoveEmptyContent(boolean removeEmptyContent)
setRemoveEmptyContent in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public boolean isStripWhitespaces()
isStripWhitespaces in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void setStripWhitespaces(boolean stripWhitespaces)
setStripWhitespaces in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public boolean isFollowRedirects()
isFollowRedirects in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void setFollowRedirects(boolean followRedirects)
setFollowRedirects in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void beforeSave()
beforeSave in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>beforeSave in class AbstractWsdlModelItem<T extends AbstractRequestConfig>public void setIconAnimator(AbstractHttpRequest.RequestIconAnimator<?> iconAnimator)
setIconAnimator in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public HttpResponse getResponse()
getResponse in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void setResponse(HttpResponse response, SubmitContext context)
setResponse in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void resolve(ResolveContext<?> context)
resolve in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>resolve in class AbstractWsdlModelItem<T extends AbstractRequestConfig>public void addExternalDependencies(List<ExternalDependency> dependencies)
addExternalDependencies in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>addExternalDependencies in class AbstractWsdlModelItem<T extends AbstractRequestConfig>public boolean hasEndpoint()
hasEndpoint in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>public void setAfterRequestInjection(IAfterRequestInjection afterRequestInjection)
public IAfterRequestInjection getAfterRequestInjection()
getAfterRequestInjection in interface AbstractHttpRequestInterface<T extends AbstractRequestConfig>Copyright © 2019. All Rights Reserved.