LibraryToggle FramesPrintFeedback

Name

GHTTP — provides connectivity to the GAE URL fetch service but can also be used to receive messages from servlets

Overview

The ghttp component provides connectivity to the GAE URL fetch service but can also be used to receive messages from servlets. This is achieved by extending the Servlet component. As a consequence, GHTTP URI formats and options sets differ on the consumer-side (from) and producer-side (to).

Message headers

On the producer side, the following headers of the HTTP endpoint are supported.

NameTypeDescription
CONTENT_TYPEStringSpecifies the HTTP content type. This header is populated on both the IN and OUT message to provide a content type.
CONTENT_ENCODINGStringSpecifies the HTTP content encoding. This header is populated on both the IN and OUT message to provide a content encoding.
HTTP_METHODStringSpecifies the HTTP method to execute. Can be one of GET, POST, PUT or DELETE. If not set, POST will be used if the message body is not null, GET otherwise.
HTTP_QUERYStringOverrides the query part of the endpoint URI or HTTP_URI. The query string must be in decoded form.
HTTP_URIStringOverrides the default endpoint URI if the bridgeEndpoint option is set to false. The URI string must be in decoded form.
RESPONSE_CODEintSpecifies the HTTP response code from URL fetch service responses.

On the consumer-side all headers of the Servlet component headers are supported.

Comments powered by Disqus