Sun-microsystems 5.1.1 Manual de usuario Pagina 26

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 114
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 25
Chapter 3 Section 3.3
Understanding the HTTPS eWay OTD HTTPS Server OTD
HTTPS eWay Adapter User’s Guide 26 Sun Microsystems, Inc.
Collaboration Example
The following example shows a simple Java Collaboration that retrieves the HTTP
method from the Request node via the Method property, creates an HTML response
indicating the HTTP method retrieved from the request, sets the ContentType property
as “text/html” on the Response node, sets the Text property with the HTML response,
and then calls the sendResponse() method on the HTTP server input OTD to send the
constructed response to the HTTP client.
Figure 7 sendResponse() Example
Vista de pagina 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 113 114

Comentarios a estos manuales

Sin comentarios