Sun-microsystems 5.1.1 Manual do Utilizador Página 26

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 114
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 113 114

Comentários a estes Manuais

Sem comentários