Package com.boomi.common.rest
Class RestConnector
- java.lang.Object
-
- com.boomi.connector.util.BaseConnector
-
- com.boomi.common.rest.RestConnector
-
- All Implemented Interfaces:
Connector
public class RestConnector extends BaseConnector
-
-
Constructor Summary
Constructors Constructor Description RestConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BrowsercreateBrowser(BrowseContext context)Rest Connector currently does not support Browse and will throw anUnsupportedOperationExceptionprotected OperationcreateExecuteOperation(OperationContext context)Creates theRestOperationfor the Rest Connector.-
Methods inherited from class com.boomi.connector.util.BaseConnector
createCreateOperation, createDeleteOperation, createGetOperation, createOperation, createQueryOperation, createUpdateOperation, createUpsertOperation, getContext, initialize, setContext
-
-
-
-
Method Detail
-
createBrowser
public Browser createBrowser(BrowseContext context)
Rest Connector currently does not support Browse and will throw anUnsupportedOperationException- Specified by:
createBrowserin interfaceConnector- Overrides:
createBrowserin classBaseConnector- Parameters:
context-- Returns:
- the browser instance
-
createExecuteOperation
protected Operation createExecuteOperation(OperationContext context)
Creates theRestOperationfor the Rest Connector. TheRestOperationwill be able to handle GET / HEAD / POST / DELETE / PUT / PATCH / OPTIONS / TRACE HTTP methods.- Overrides:
createExecuteOperationin classBaseConnector- Parameters:
context-- Returns:
- the RestOperation
-
-