Sun-microsystems 5.1.1 Bedienungsanleitung Seite 26

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 114
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 113 114

Kommentare zu diesen Handbüchern

Keine Kommentare