public interface RestRequestInterface extends HttpRequestInterface<RestRequestConfig>, PropertyChangeListener
Modifier and Type | Interface and Description |
---|---|
static class |
RestRequestInterface.HttpMethod
Each value in this enumeration represents an officially supported HTTP method ("verb").
|
Request.SubmitException
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_MEDIATYPE |
static org.apache.log4j.Logger |
log |
static String |
REST_XML_REQUEST |
BIND_ADDRESS, DISABLE_MULTIPART_ATTACHMENTS, DUMP_FILE, FOLLOW_REDIRECTS, 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 and Type | Method and Description |
---|---|
String |
getAccept() |
RestRepresentation[] |
getRepresentations() |
RestRepresentation[] |
getRepresentations(RestRepresentation.Type type) |
RestRepresentation[] |
getRepresentations(RestRepresentation.Type type,
String mediaType) |
RestResource |
getResource() |
String[] |
getResponseMediaTypes() |
RestMethod |
getRestMethod() |
boolean |
hasEndpoint() |
void |
release() |
void |
setAccept(String acceptEncoding) |
void |
setPath(String fullPath) |
void |
setResponse(HttpResponse response,
SubmitContext context) |
getMultiValueDelimiter, getParams, getPath, getResponseContentAsXml, hasRequestBody, isPostQueryString, setMethod, setPostQueryString, updateConfig
addExternalDependencies, beforeSave, copyAttachmentsTo, getAfterRequestInjection, getAuthType, getBindAddress, getDomain, getDumpFile, getIcon, getIconAnimator, getMaxSize, getMethod, 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, setUsername
addSubmitListener, dependsOn, getAttachments, getEncoding, getEndpoint, getOperation, getRequestContent, getRequestParts, getResponseParts, getTimeout, removeSubmitListener, setEncoding, setEndpoint, submit
getChildren, getDescription, getId, getName, getParent, getProject, getSettings
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
getPropertyExpansions
attachFile, removeAttachment
addAttachmentsChangeListener, getAttachmentAt, getAttachmentCount, getAttachmentPart, getAttachments, getAttachmentsForPart, getDefinedAttachmentParts, getModelItem, isMultipartEnabled, removeAttachmentsChangeListener
addProperty, moveProperty, removeProperty, renameProperty
addTestPropertyListener, getModelItem, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperty, removeTestPropertyListener, setPropertyValue
getMediaType, setMediaType
propertyChange
static final org.apache.log4j.Logger log
static final String DEFAULT_MEDIATYPE
static final String REST_XML_REQUEST
RestMethod getRestMethod()
RestRepresentation[] getRepresentations()
RestRepresentation[] getRepresentations(RestRepresentation.Type type)
RestRepresentation[] getRepresentations(RestRepresentation.Type type, String mediaType)
String getAccept()
void setAccept(String acceptEncoding)
String[] getResponseMediaTypes()
RestResource getResource()
void setPath(String fullPath)
void setResponse(HttpResponse response, SubmitContext context)
setResponse
in interface AbstractHttpRequestInterface<RestRequestConfig>
void release()
release
in interface AbstractHttpRequestInterface<RestRequestConfig>
boolean hasEndpoint()
hasEndpoint
in interface AbstractHttpRequestInterface<RestRequestConfig>
Copyright © 2019. All Rights Reserved.