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 Browser
createBrowser(BrowseContext context)
Rest Connector currently does not support Browse and will throw anUnsupportedOperationException
protected Operation
createExecuteOperation(OperationContext context)
Creates theRestOperation
for 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:
createBrowser
in interfaceConnector
- Overrides:
createBrowser
in classBaseConnector
- Parameters:
context
-- Returns:
- the browser instance
-
createExecuteOperation
protected Operation createExecuteOperation(OperationContext context)
Creates theRestOperation
for the Rest Connector. TheRestOperation
will be able to handle GET / HEAD / POST / DELETE / PUT / PATCH / OPTIONS / TRACE HTTP methods.- Overrides:
createExecuteOperation
in classBaseConnector
- Parameters:
context
-- Returns:
- the RestOperation
-
-