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_WHITESPACESENCODING_PROPERTY, ENDPOINT_PROPERTY, MEDIA_TYPE, REQUEST_PROPERTYDESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTYATTACHMENTS_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, updateConfigaddExternalDependencies, 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, setUsernameaddSubmitListener, dependsOn, getAttachments, getEncoding, getEndpoint, getOperation, getRequestContent, getRequestParts, getResponseParts, getTimeout, removeSubmitListener, setEncoding, setEndpoint, submitgetChildren, getDescription, getId, getName, getParent, getProject, getSettingsaddPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenergetPropertyExpansionsattachFile, removeAttachmentaddAttachmentsChangeListener, getAttachmentAt, getAttachmentCount, getAttachmentPart, getAttachments, getAttachmentsForPart, getDefinedAttachmentParts, getModelItem, isMultipartEnabled, removeAttachmentsChangeListeneraddProperty, moveProperty, removeProperty, renamePropertyaddTestPropertyListener, getModelItem, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperty, removeTestPropertyListener, setPropertyValuegetMediaType, setMediaTypepropertyChangestatic 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.