com.eviware.soapui.impl.rest
Interface RestRequestInterface

All Superinterfaces:
AbstractHttpRequestInterface<com.eviware.soapui.config.RestRequestConfig>, AttachmentContainer, java.util.EventListener, HttpRequestInterface<com.eviware.soapui.config.RestRequestConfig>, ModelItem, MutableAttachmentContainer, MutableTestPropertyHolder, java.beans.PropertyChangeListener, PropertyChangeNotifier, PropertyExpansionContainer, Request, TestPropertyHolder
All Known Subinterfaces:
RestTestRequestInterface
All Known Implementing Classes:
RestRequest, RestTestRequest

public interface RestRequestInterface
extends HttpRequestInterface<com.eviware.soapui.config.RestRequestConfig>, java.beans.PropertyChangeListener


Nested Class Summary
static class RestRequestInterface.RequestMethod
           
 
Nested classes/interfaces inherited from interface com.eviware.soapui.model.iface.Request
Request.SubmitException
 
Field Summary
static java.lang.String DEFAULT_MEDIATYPE
           
static org.apache.log4j.Logger log
           
static java.lang.String REST_XML_REQUEST
           
 
Fields inherited from interface com.eviware.soapui.impl.support.AbstractHttpRequestInterface
BIND_ADDRESS, DISABLE_MULTIPART_ATTACHMENTS, DUMP_FILE, FOLLOW_REDIRECTS, MAX_SIZE, REMOVE_EMPTY_CONTENT, REQUEST_HEADERS_PROPERTY, RESPONSE_PROPERTY, STRIP_WHITESPACES
 
Fields inherited from interface com.eviware.soapui.model.iface.Request
ENCODING_PROPERTY, ENDPOINT_PROPERTY, REQUEST_PROPERTY
 
Fields inherited from interface com.eviware.soapui.model.ModelItem
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
 
Fields inherited from interface com.eviware.soapui.impl.wsdl.AttachmentContainer
ATTACHMENTS_PROPERTY
 
Method Summary
 java.lang.String getAccept()
           
 RestRepresentation[] getRepresentations()
           
 RestRepresentation[] getRepresentations(RestRepresentation.Type type)
           
 RestRepresentation[] getRepresentations(RestRepresentation.Type type, java.lang.String mediaType)
           
 RestResource getResource()
           
 java.lang.String[] getResponseMediaTypes()
           
 RestMethod getRestMethod()
           
 boolean hasEndpoint()
           
 void release()
           
 void setAccept(java.lang.String acceptEncoding)
           
 void setPath(java.lang.String fullPath)
           
 void setResponse(HttpResponse response, SubmitContext context)
           
 
Methods inherited from interface com.eviware.soapui.impl.support.http.HttpRequestInterface
getMediaType, getParams, getPath, getResponseContentAsXml, hasRequestBody, isPostQueryString, setMediaType, setMethod, setPostQueryString, updateConfig
 
Methods inherited from interface com.eviware.soapui.impl.support.AbstractHttpRequestInterface
beforeSave, copyAttachmentsTo, getAfterRequestInjection, 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
 
Methods inherited from interface com.eviware.soapui.model.iface.Request
addSubmitListener, dependsOn, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getAttachments, getEncoding, getEndpoint, getOperation, getRequestContent, getRequestParts, getResponseParts, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removeSubmitListener, setEncoding, setEndpoint, submit
 
Methods inherited from interface com.eviware.soapui.model.ModelItem
getChildren, getDescription, getId, getName, getParent, getSettings
 
Methods inherited from interface com.eviware.soapui.support.PropertyChangeNotifier
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface com.eviware.soapui.model.propertyexpansion.PropertyExpansionContainer
getPropertyExpansions
 
Methods inherited from interface com.eviware.soapui.impl.wsdl.MutableAttachmentContainer
attachFile, removeAttachment
 
Methods inherited from interface com.eviware.soapui.impl.wsdl.AttachmentContainer
addAttachmentsChangeListener, getAttachmentAt, getAttachmentCount, getAttachmentPart, getAttachments, getAttachmentsForPart, getDefinedAttachmentParts, getModelItem, isMultipartEnabled, removeAttachmentsChangeListener
 
Methods inherited from interface com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder
addProperty, moveProperty, removeProperty, renameProperty
 
Methods inherited from interface com.eviware.soapui.model.TestPropertyHolder
addTestPropertyListener, getModelItem, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperty, removeTestPropertyListener, setPropertyValue
 
Methods inherited from interface java.beans.PropertyChangeListener
propertyChange
 

Field Detail

log

static final org.apache.log4j.Logger log

DEFAULT_MEDIATYPE

static final java.lang.String DEFAULT_MEDIATYPE
See Also:
Constant Field Values

REST_XML_REQUEST

static final java.lang.String REST_XML_REQUEST
See Also:
Constant Field Values
Method Detail

getRestMethod

RestMethod getRestMethod()

getRepresentations

RestRepresentation[] getRepresentations()

getRepresentations

RestRepresentation[] getRepresentations(RestRepresentation.Type type)

getRepresentations

RestRepresentation[] getRepresentations(RestRepresentation.Type type,
                                        java.lang.String mediaType)

getAccept

java.lang.String getAccept()

setAccept

void setAccept(java.lang.String acceptEncoding)

getResponseMediaTypes

java.lang.String[] getResponseMediaTypes()

getResource

RestResource getResource()

setPath

void setPath(java.lang.String fullPath)

setResponse

void setResponse(HttpResponse response,
                 SubmitContext context)
Specified by:
setResponse in interface AbstractHttpRequestInterface<com.eviware.soapui.config.RestRequestConfig>

release

void release()
Specified by:
release in interface AbstractHttpRequestInterface<com.eviware.soapui.config.RestRequestConfig>

hasEndpoint

boolean hasEndpoint()
Specified by:
hasEndpoint in interface AbstractHttpRequestInterface<com.eviware.soapui.config.RestRequestConfig>


Copyright © 2005-2009 eviware.com. All Rights Reserved.