5 4 10 Content Handlers

LANSA Integrator

5.4.10 Content Handlers

Inbound content handlers are used to receive incoming data being posted by a HTTP client program and to send a reply.

Outbound content handlers are used to send out going content to a remote HTTP server. The content returned by this remote HTTP server is processed using an inbound content handler.

It is possible to mix and match content handlers. For example, receive posted name value pairs using the InboundNameValue handler and reply with XML content using the InboundXML handler.

The content handler name to content handler class mapping is contained in the HTTPService properties file.

Example

 

handler.InboundFile=com.lansa.jsm.service.InboundFileHandler
handler.OutboundFile=com.lansa.jsm.service.OutboundFileHandler