Classe TRESTServiceBase

Unit

Declaração

type TRESTServiceBase = class(TRESTDWComponent)

Descrição

No description available, ancestor TRESTDWComponent description follows

Hierarquia

Visão Geral

Métodos

Public Procedure EchoPooler(ServerMethodsClass : TComponent; AContext : TComponent; Var Pooler, MyIP : String; AccessTag : String; Var InvalidTag : Boolean); Virtual; Abstract;
Public Procedure SetActive(Value : Boolean); Virtual;
Public Function CommandExec(Const AContext : TComponent; Url, RawHTTPCommand : String; Var ContentType : String; ClientIP, UserAgent, AuthUsername, AuthPassword, Token : String; RequestHeaders : TStringList; ClientPort : Integer; RawHeaders, Params : TStrings; QueryParams : String; ContentStringStream : TStream; Var AuthRealm, sCharSet, ErrorMessage : String; Var StatusCode : Integer; Var ResponseHeaders : TStringList; Var ResponseString : String; Var ResultStream : TStream; Redirect : TRedirect) : Boolean;
Public Procedure ClearDataRoute;
Public Procedure AddDataRoute(DataRoute : String; MethodClass : TComponentClass);
Public Function GetDataRouteCount: integer;
Public Constructor Create(AOwner : TComponent); Override;
Public Destructor Destroy; Override;

Propriedades

Published property Active : Boolean Read vActive Write SetActive;
Published property CORS : Boolean Read vCORS Write vCORS;
Published property CORS_CustomHeaders : TStringList Read vCORSCustomHeaders Write SetCORSCustomHeader;
Published property DefaultPage : TStringList Read vDefaultPage Write SetDefaultPage;
Published property DefaultUrl : String Read aDefaultUrl Write aDefaultUrl;
Published property PathTraversalRaiseError : Boolean Read vPathTraversalRaiseError Write vPathTraversalRaiseError;
Published property RequestTimeout : Integer Read vServiceTimeout Write vServiceTimeout;
Published property ServicePort : Integer Read vServicePort Write vServicePort;
Published property ProxyOptions : TProxyConnectionInfo Read vProxyOptions Write vProxyOptions;
Published property AuthenticationOptions : TRESTDWServerAuthOptionParams Read vServerAuthOptions Write SetServerAuthOptions;
Published property ServerMethodClass : TComponentClass Read aServerMethod Write SetServerMethod;
Published property OnLastRequest : TLastRequest Read vLastRequest Write vLastRequest;
Published property OnLastResponse : TLastResponse Read vLastResponse Write vLastResponse;
Published property Encoding : TEncodeSelect Read vEncoding Write vEncoding;
Published property RootPath : String Read FRootPath Write FRootPath;
Published property ForceWelcomeAccess : Boolean Read vForceWelcomeAccess Write vForceWelcomeAccess;
Published property OnBeforeUseCriptKey : TBeforeUseCriptKey Read vBeforeUseCriptKey Write vBeforeUseCriptKey;
Published property CriptOptions : TCripto Read vCripto Write vCripto;
Published property EncodeErrors : Boolean Read vEncode_Errors Write vEncode_Errors;
Published property DatabaseCharSet : TDatabaseCharSet Read vDatabaseCharSet Write vDatabaseCharSet;
Published property OnCreate : TOnCreate Read vOnCreate Write vOnCreate;
Published property SSLVersions : TRESTDWSSLVersions Read vSSLVersions Write vSSLVersions;

Descrição

Métodos

Public Procedure EchoPooler(ServerMethodsClass : TComponent; AContext : TComponent; Var Pooler, MyIP : String; AccessTag : String; Var InvalidTag : Boolean); Virtual; Abstract;
 
Public Procedure SetActive(Value : Boolean); Virtual;
 
Public Function CommandExec(Const AContext : TComponent; Url, RawHTTPCommand : String; Var ContentType : String; ClientIP, UserAgent, AuthUsername, AuthPassword, Token : String; RequestHeaders : TStringList; ClientPort : Integer; RawHeaders, Params : TStrings; QueryParams : String; ContentStringStream : TStream; Var AuthRealm, sCharSet, ErrorMessage : String; Var StatusCode : Integer; Var ResponseHeaders : TStringList; Var ResponseString : String; Var ResultStream : TStream; Redirect : TRedirect) : Boolean;
 
Public Procedure ClearDataRoute;
 
Public Procedure AddDataRoute(DataRoute : String; MethodClass : TComponentClass);
 
Public Function GetDataRouteCount: integer;
 
Public Constructor Create(AOwner : TComponent); Override;
 
Public Destructor Destroy; Override;

Cria o Componente

Propriedades

Published property Active : Boolean Read vActive Write SetActive;

Destroy a Classe

Published property CORS : Boolean Read vCORS Write vCORS;
 
Published property CORS_CustomHeaders : TStringList Read vCORSCustomHeaders Write SetCORSCustomHeader;
 
Published property DefaultPage : TStringList Read vDefaultPage Write SetDefaultPage;
 
Published property DefaultUrl : String Read aDefaultUrl Write aDefaultUrl;
 
Published property PathTraversalRaiseError : Boolean Read vPathTraversalRaiseError Write vPathTraversalRaiseError;
 
Published property RequestTimeout : Integer Read vServiceTimeout Write vServiceTimeout;
 
Published property ServicePort : Integer Read vServicePort Write vServicePort;
 
Published property ProxyOptions : TProxyConnectionInfo Read vProxyOptions Write vProxyOptions;

A Porta do Serviço do DataSet

Published property AuthenticationOptions : TRESTDWServerAuthOptionParams Read vServerAuthOptions Write SetServerAuthOptions;

Se tem Proxy diz quais as opções

Published property ServerMethodClass : TComponentClass Read aServerMethod Write SetServerMethod;
 
Published property OnLastRequest : TLastRequest Read vLastRequest Write vLastRequest;
 
Published property OnLastResponse : TLastResponse Read vLastResponse Write vLastResponse;
 
Published property Encoding : TEncodeSelect Read vEncoding Write vEncoding;
 
Published property RootPath : String Read FRootPath Write FRootPath;

Encoding da string

Published property ForceWelcomeAccess : Boolean Read vForceWelcomeAccess Write vForceWelcomeAccess;
 
Published property OnBeforeUseCriptKey : TBeforeUseCriptKey Read vBeforeUseCriptKey Write vBeforeUseCriptKey;
 
Published property CriptOptions : TCripto Read vCripto Write vCripto;
 
Published property EncodeErrors : Boolean Read vEncode_Errors Write vEncode_Errors;
 
Published property DatabaseCharSet : TDatabaseCharSet Read vDatabaseCharSet Write vDatabaseCharSet;
 
Published property OnCreate : TOnCreate Read vOnCreate Write vOnCreate;
 
Published property SSLVersions : TRESTDWSSLVersions Read vSSLVersions Write vSSLVersions;
 

Gerado por PasDoc 0.16.0.