cHttp Standard properties - 6.5

Internet - Mediation

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Internet components (Mediation)
Data Quality and Preparation > Third-party systems > Internet components (Mediation)
Design and Development > Third-party systems > Internet components (Mediation)
EnrichPlatform
Talend Studio

These properties are used to configure cHttp running in the Standard Job framework.

The Standard cHttp component belongs to the Connectivity family.

Basic settings

Uri

The URI of the Http resource to call.

Client Select this option to use cHttp as a client to call external servers.
Server Select this option to use cHttp as a server to produce Web services.

Client Configuration / Method

Select an Http request method from GET, POST, PUT, DELETE, HEAD, OPTIONS, and TRACE in the list.

GET: Retrieve the information identified by the request URI.

Parameters: click the [+] button to add lines as needed and define the key and value in the table.

Encoder Charset: enter the encoder charset in the field.

POST: Request that the origin server accept the entity enclosed in the request as a new subordinate of the resource identified by the request URI.

Plain Text: select the Content-Type from text/plain, text/html, text/xml, application/x-www-form-urlencoded, application/xml, application/JSON, or other... (specify the Content-Type in the next field that appears when other... is selected), and type in the text in the Content box as the request message.

Form Style: click the [+] button to add lines as needed and define the key and value in the Parameters table. Also, enter the encoder charset in the Encoder Charset field.

Use Message Body: use the incoming message body as the Http request. Select the Content-Type from text/plain, text/html, text/xml, application/x-www-form-urlencoded, application/xml, application/JSON, or other... (specify the Content-Type in the next field that appears when other... is selected),

PUT: Request that the enclosed entity be stored under the supplied request URI.

Plain Text: select the Content-Type from text/plain, text/html, text/xml, application/x-www-form-urlencoded, application/xml, application/JSON, or other... (specify the Content-Type in the next field that appears when other... is selected), and type in the text in the Content box as the request message.

Form Style: click the [+] button to add lines as needed and define the key and value in the Parameters table. Also, enter the encoder charset in the Encoder Charset field.

Use Message Body: use the incoming message body as the Http request. Select the Content-Type from text/plain, text/html, text/xml, application/x-www-form-urlencoded, application/xml, application/JSON, or other... (specify the Content-Type in the next field that appears when other... is selected),

DELETE: Request that the origin server delete the resource identified by the request URI.

Parameters: click the [+] button to add lines as needed and define the key and value in the table.

Encoder Charset: enter the encoder charset in the field.

HEAD: Identical to GET except that the server MUST NOT return a message body in the response.

Parameters: click the [+] button to add lines as needed and define the key and value in the table.

Encoder Charset: enter the encoder charset in the field.

OPTIONS: Represent a request for information about the communication options available on the request/response chain identified by the request URI.

TRACE: Invoke a remote, application-layer loop-back of the request message.

Server Configuration / Disable Stream Cache DefaultHttpBinding will copy the request input stream into a stream cache and put it into message body. When this check box is selected, DefaultHttpBinding will set the request input stream directly into the message body.
Server Configuration / Session Support Select this check box to enable the session manager on the server side of Jetty.
Server Configuration / Use Transfer-Encoding This option is enabled by default. If this check box is cleared, Jetty servlet will disable the HTTP streaming and set the content-length header on the response.
Server Configuration / Enable JMX Select this option to enable Jetty JMX support for this endpoint. For more information about this option, see the sitehttp://camel.apache.org/jetty.html#Jetty-JettyJMXsupport.
Server Configuration / Match on URI Prefix Select this check box to use the CamelServlet to find a target consumer by matching the URI prefix if no exact match is found. For more information about this option, see the site http://camel.apache.org/how-do-i-let-jetty-match-wildcards.html.
Server Configuration / Use Jetty Continuation Select this check box to use Jetty continuations for the Jetty Server. For more information about this option, see the site http://wiki.eclipse.org/Jetty/Feature/Continuations.
Server Configuration / Enable HTTP TRACE Select this option to enable the HTTP TRACE method.

Advanced settings

Headers

Click the [+] button to add lines as needed and define the key and value for headers.

Usage

Usage rule

cHttp provides Http based endpoints for consuming external Http resources, that is to say as a client to call external servers using Http.

Limitation

Due to license incompatibility, one or more JARs required to use this component are not provided. You can install the missing JARs for this particular component by clicking the Install button on the Component tab view. You can also find out and add all missing JARs easily on the Modules tab in the Integration perspective of your studio. For details, see Installing external modules.