public class RestResponseRepresentationsInspector extends AbstractRestRepresentationsInspector implements SubmitListener
Modifier and Type | Field and Description |
---|---|
static String |
RECORD_RESPONSE_REPRESENTATIONS |
log
VISIBLE_PROPERTY
DESCRIPTION_PROPERTY, ENABLED_PROPERTY, ICON_PROPERTY, TITLE_PROPERTY
Modifier | Constructor and Description |
---|---|
protected |
RestResponseRepresentationsInspector(RestRequestInterface request) |
Modifier and Type | Method and Description |
---|---|
protected void |
addToToolbar(JXToolBar toolbar) |
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 void |
extractRepresentation(HttpResponse response,
RestRepresentation.Type type) |
void |
release() |
buildUI, getComponent, getMethod, getRepresentationCount, isEnabledFor, propertyChange
activate, addPropertyChangeListener, deactivate, getDescription, getEditor, getIcon, getInspectorId, getStartTrialTask, getTitle, hasContent, init, isActive, isContentHandler, isEnabled, isVisible, licensedToUse, licenseNeededToUse, locationChanged, removePropertyChangeListener, setDescription, setEnabled, setIcon, setInitialVisibility, setTitle, setVisible, showInPanel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHelpLink, shouldShowInspectorCallOut, showInspectorCallOut
isTrialAllowed
public static final String RECORD_RESPONSE_REPRESENTATIONS
protected RestResponseRepresentationsInspector(RestRequestInterface request)
protected void addToToolbar(JXToolBar toolbar)
addToToolbar
in class AbstractRestRepresentationsInspector
public boolean beforeSubmit(Submit submit, SubmitContext context)
SubmitListener
beforeSubmit
in interface SubmitListener
beforeSubmit
in class AbstractRestRepresentationsInspector
submit
- the submit being submittedpublic void afterSubmit(Submit submit, SubmitContext context)
SubmitListener
afterSubmit
in interface SubmitListener
submit
- the submit.protected void extractRepresentation(HttpResponse response, RestRepresentation.Type type)
public void release()
release
in interface Inspector
release
in class AbstractRestRepresentationsInspector
Copyright © 2019. All rights reserved.