com.eviware.soapui.impl.rest.panels.request.inspectors.representations
Class RestRequestRepresentationsInspector

java.lang.Object
  extended by com.eviware.soapui.support.editor.inspectors.AbstractXmlInspector
      extended by com.eviware.soapui.impl.rest.panels.request.inspectors.representations.AbstractRestRepresentationsInspector
          extended by com.eviware.soapui.impl.rest.panels.request.inspectors.representations.RestRequestRepresentationsInspector
All Implemented Interfaces:
SubmitListener, Inspector, EditorInspector<XmlDocument>, EditorLocationListener<XmlDocument>, XmlInspector, java.beans.PropertyChangeListener, java.util.EventListener

public class RestRequestRepresentationsInspector
extends AbstractRestRepresentationsInspector
implements SubmitListener


Nested Class Summary
 
Nested classes/interfaces inherited from class com.eviware.soapui.impl.rest.panels.request.inspectors.representations.AbstractRestRepresentationsInspector
AbstractRestRepresentationsInspector.RepresentationsTableModel
 
Field Summary
static java.lang.String RECORD_REQUEST_REPRESENTATIONS
           
 
Fields inherited from interface com.eviware.soapui.support.components.Inspector
DESCRIPTION_PROPERTY, ENABLED_PROPERTY, ICON_PROPERTY, TITLE_PROPERTY
 
Constructor Summary
protected RestRequestRepresentationsInspector(RestRequest request)
           
 
Method Summary
 void afterSubmit(Submit submit, SubmitContext context)
          Called after submittal of a request
 boolean beforeSubmit(Submit submit, SubmitContext context)
          Called before submittal of a request
protected  JXToolBar buildToolbar()
           
protected  void extractRepresentation(HttpResponse response)
           
 void release()
           
 
Methods inherited from class com.eviware.soapui.impl.rest.panels.request.inspectors.representations.AbstractRestRepresentationsInspector
buildUI, getComponent, getRequest, isEnabledFor, propertyChange
 
Methods inherited from class com.eviware.soapui.support.editor.inspectors.AbstractXmlInspector
activate, addPropertyChangeListener, deactivate, getDescription, getEditor, getIcon, getInspectorId, getTitle, init, isActive, isContentHandler, isEnabled, locationChanged, removePropertyChangeListener, setDescription, setEnabled, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RECORD_REQUEST_REPRESENTATIONS

public static final java.lang.String RECORD_REQUEST_REPRESENTATIONS
See Also:
Constant Field Values
Constructor Detail

RestRequestRepresentationsInspector

protected RestRequestRepresentationsInspector(RestRequest request)
Method Detail

buildToolbar

protected JXToolBar buildToolbar()
Overrides:
buildToolbar in class AbstractRestRepresentationsInspector

beforeSubmit

public boolean beforeSubmit(Submit submit,
                            SubmitContext context)
Description copied from interface: SubmitListener
Called before submittal of a request

Specified by:
beforeSubmit in interface SubmitListener
Overrides:
beforeSubmit in class AbstractRestRepresentationsInspector
Parameters:
submit - the submit being submitted
Returns:
boolean telling if the submit should proceed.

afterSubmit

public void afterSubmit(Submit submit,
                        SubmitContext context)
Description copied from interface: SubmitListener
Called after submittal of a request

Specified by:
afterSubmit in interface SubmitListener
Parameters:
submit - the submit.

extractRepresentation

protected void extractRepresentation(HttpResponse response)

release

public void release()
Specified by:
release in interface Inspector
Overrides:
release in class AbstractRestRepresentationsInspector


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