Soap.SOAPHTTPTrans.THTTPReqResp.CheckContentType
Delphi
procedure CheckContentType;
C++
void __fastcall CheckContentType();
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
procedure function |
public | Soap.SOAPHTTPTrans.pas Soap.SOAPHTTPTrans.hpp |
Soap.SOAPHTTPTrans | THTTPReqResp |
Beschreibung
Löst eine Exception aus, wenn die Reaktion auf einen SOAP-Methodenaufruf einen ungültigen ContentType-Header hat.
CheckContentType überprüft den ContentType-Header einer Antwort, die ein THTTPReqResp-Objekt erhält, nachdem eine Anforderung an eine Web-Dienstanwendung gesendet wurde.. Wenn CheckContentType als ungültig erkannt wird, löst CheckContentType eine ESOAPHTTPException-Exception aus.
CheckContentType schließt nicht alle ungültigen Inhaltstypen aus, sondern nur die gängisten.