public class RestRequestRepresentationsInspector extends AbstractRestRepresentationsInspector implements SubmitListener
Modifier and Type | Field and Description |
---|---|
static String |
RECORD_REQUEST_REPRESENTATIONS |
log
DESCRIPTION_PROPERTY, ENABLED_PROPERTY, ICON_PROPERTY, TITLE_PROPERTY
Modifier | Constructor and Description |
---|---|
protected |
RestRequestRepresentationsInspector(RestRequest 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) |
void |
release() |
buildUI, getComponent, getMethod, isEnabledFor, propertyChange
activate, addPropertyChangeListener, deactivate, getDescription, getEditor, getIcon, getInspectorId, getTitle, init, isActive, isContentHandler, isEnabled, locationChanged, removePropertyChangeListener, setDescription, setEnabled, setIcon, setTitle, showInPanel
public static final String RECORD_REQUEST_REPRESENTATIONS
protected RestRequestRepresentationsInspector(RestRequest 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)
public void release()
release
in interface Inspector
release
in class AbstractRestRepresentationsInspector
Copyright © 2019. All Rights Reserved.