Difference between revisions of "ExtendedInboundParamHandlerFormatter"
(→{{GVESB}} Configuration) |
(→{{GVESB}} Configuration) |
||
Line 31: | Line 31: | ||
| ResponseOnError-HTTPCode || optional || CharacterEncoding to be used to handle requests from external system. Default to UTF-8. | | ResponseOnError-HTTPCode || optional || CharacterEncoding to be used to handle requests from external system. Default to UTF-8. | ||
Template to follow: | Template to follow: | ||
− | |||
− | |||
<xsl:template match="GVBufferFieldDefaultValue"> | <xsl:template match="GVBufferFieldDefaultValue"> | ||
Line 48: | Line 46: | ||
</table> | </table> | ||
</xsl:template> | </xsl:template> | ||
+ | |||
|} | |} | ||
Revision as of 15:26, 26 July 2013
Contents
Description
This sub-element formatter is used into the decoding of client request's parameters in order to create the input for a GreenVulcano® ESB service and to convert the service's output into a HTTP response.
DA COMPLETARE
GreenVulcano® ESB Configuration
The GVAdapterHttpConfiguration Element is used by: GVAdapters.
The following table shows the ExtendedInboundParamHandlerFormatter attributes:
Attribute | Type | Description | ||
---|---|---|---|---|
type | fixed | This attribute must keep the value FormatterPlugin. | ||
class | fixed | Module Id always set to it.greenvulcano.gvesb.adapter.http.formatters.handlers.ExtendedInboundParamHandlerFormatter. | ||
ID | required | If 'true' reads the request HTTP headers and provide them with the request parameters. Default value is false. | ||
read-request-header | optional | CharacterEncoding to be used to handle requests from external system. Default to UTF-8. | ||
ReqCharacterEncoding | optional | CharacterEncoding to handle responses to the external system. Default to UTF-8. | ||
RespCharacterEncoding | optional | ContentType to be declared while handling HTTP responses to the external system. Default to text/html. | ||
RespContentType | optional | If true force the POST body to be handled as application/x-www-form-urlencoded content type. Default is false. | ||
HandlePostBodyAsParams | optional | If != -1 force the adapter to respond with the given http code on case of error. Default is -1 (disabled). | ||
ResponseOnError-HTTPCode | optional | CharacterEncoding to be used to handle requests from external system. Default to UTF-8.
Template to follow: <xsl:template match="GVBufferFieldDefaultValue">
</xsl:template> |
Contains the sub-elements GVBufferFieldDefaultValue.
Contains the sub-elements GVBufferPropertyDefaultValue.
Contains the sub-elements GVBufferField.
GVBufferFieldDefaultValue
The following table shows the GVBufferFieldDefaultValue attributes:
Attribute | Type | Description |
---|---|---|
FieldName | required | The configured default value of an GVBuffer field. Cannot be left blank. |
FieldValue | required | A configured default value for a property field of an GVBuffer object. |
GVBufferPropertyDefaultValue
The name of an GVBuffer extended field. The following table shows the GVBufferPropertyDefaultValue attributes:
Attribute | Type | Description |
---|---|---|
FieldName | required | This element represents a mapping target from/to a property field of an GVBuffer object. |
FieldValue | required | This element represents a mapping target from/to a field of an GVBuffer object. |
GVBufferField
The name of a field of an GVBuffer object. The following table shows the GVBufferField attributes:
Attribute | Type | Description |
---|---|---|
FieldName | required | The configured default value of an GVBuffer extended field. Cannot be left blank. |
GVBufferProperty
The name of a field of an GVBuffer object. The following table shows the GVBufferProperty attributes:
Attribute | Type | Description |
---|---|---|
FieldName | required | This element represents a plain text value to be assigned as source/target of an handler mapping. |