connectapi.BaseEndpointExtension
Methods
global beforeGet(ConnectApi request)
Override to manipulate the incoming payload for the GET verb.
Parameters
| Param | Description |
|---|
EndpointExtensionRequest | object contains a map of String to Object, which contains all data passed to the service. |
Returns
| Type | Description |
|---|
| ConnectApi | the EndpointExtensionRequest which may have been modified. |
global afterGet(ConnectApi response, ConnectApi request)
Override to manipulate the outgoing payload for the GET verb.
Parameters
| Param | Description |
|---|
EndpointExtensionRequest | object contains a map of String to Object, which contains all data passed to the service. |
EndpointExtensionResponse | object contains all data being passed out of the service. |
Returns
| Type | Description |
|---|
| ConnectApi | the EndpointExtensionResponse which may have been modified. |
global beforePost(ConnectApi request)
Override to manipulate the incoming payload for the POST verb.
Parameters
| Param | Description |
|---|
EndpointExtensionRequest | object contains a map of String to Object, which contains all data passed to the service. |
Returns
| Type | Description |
|---|
| ConnectApi | the EndpointExtensionRequest which may have been modified. |
global afterPost(ConnectApi response, ConnectApi request)
Override to manipulate the outgoing payload for the POST verb.
Parameters
| Param | Description |
|---|
EndpointExtensionRequest | object contains a map of String to Object, which contains all data passed to the service. |
EndpointExtensionResponse | object contains all data being passed out of the service. |
Returns
| Type | Description |
|---|
| ConnectApi | the EndpointExtensionResponse which may have been modified. |
global beforePatch(ConnectApi request)
Override to manipulate the incoming payload for the PATCH verb.
Parameters
| Param | Description |
|---|
EndpointExtensionRequest | object contains a map of String to Object, which contains all data passed to the service. |
Returns
| Type | Description |
|---|
| ConnectApi | the EndpointExtensionRequest which may have been modified. |
global afterPatch(ConnectApi response, ConnectApi request)
Override to manipulate the outgoing payload for the PATCH verb.
Parameters
| Param | Description |
|---|
EndpointExtensionRequest | object contains a map of String to Object, which contains all data passed to the service. |
EndpointExtensionResponse | object contains all data being passed out of the service. |
Returns
| Type | Description |
|---|
| ConnectApi | the EndpointExtensionResponse which may have been modified. |
global beforePut(ConnectApi request)
Override to manipulate the incoming payload for the PUT verb.
Parameters
| Param | Description |
|---|
EndpointExtensionRequest | object contains a map of String to Object, which contains all data passed to the service. |
Returns
| Type | Description |
|---|
| ConnectApi | the EndpointExtensionRequest which may have been modified. |
global afterPut(ConnectApi response, ConnectApi request)
Override to manipulate the outgoing payload for the PUT verb.
Parameters
| Param | Description |
|---|
EndpointExtensionRequest | object contains a map of String to Object, which contains all data passed to the service. |
EndpointExtensionResponse | object contains all data being passed out of the service. |
Returns
| Type | Description |
|---|
| ConnectApi | the EndpointExtensionResponse which may have been modified. |
global beforeDelete(ConnectApi request)
Override to manipulate the incoming payload for the DELETE verb.
Parameters
| Param | Description |
|---|
EndpointExtensionRequest | object contains a map of String to Object, which contains all data passed to the service. |
Returns
| Type | Description |
|---|
| ConnectApi | the EndpointExtensionRequest which may have been modified. |
global afterDelete(ConnectApi response, ConnectApi request)
Override to manipulate the outgoing payload for the DELETE verb.
Parameters
| Param | Description |
|---|
EndpointExtensionRequest | object contains a map of String to Object, which contains all data passed to the service. |
EndpointExtensionResponse | object contains all data being passed out of the service. |
Returns
| Type | Description |
|---|
| ConnectApi | the EndpointExtensionResponse which may have been modified. |