@sap/async-xsjs 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/LICENSE +37 -0
- package/README.md +445 -0
- package/differences.md +162 -0
- package/docs/$.Application.html +262 -0
- package/docs/$.Session.html +674 -0
- package/docs/$.db.CallableStatement.html +2524 -0
- package/docs/$.db.Connection.html +511 -0
- package/docs/$.db.ParameterMetaData.html +805 -0
- package/docs/$.db.PreparedStatement.html +1796 -0
- package/docs/$.db.ResultSet.html +1308 -0
- package/docs/$.db.ResultSetMetaData.html +800 -0
- package/docs/$.db.SQLException.html +259 -0
- package/docs/$.db.html +773 -0
- package/docs/$.hdb.ColumnMetadata.html +438 -0
- package/docs/$.hdb.Connection.html +663 -0
- package/docs/$.hdb.ProcedureResult.html +280 -0
- package/docs/$.hdb.ResultSet.html +324 -0
- package/docs/$.hdb.ResultSetIterator.html +315 -0
- package/docs/$.hdb.ResultSetMetaData.html +259 -0
- package/docs/$.hdb.SQLException.html +259 -0
- package/docs/$.hdb.html +557 -0
- package/docs/$.html +471 -0
- package/docs/$.jobs.Job.html +783 -0
- package/docs/$.jobs.JobLog.html +380 -0
- package/docs/$.jobs.JobSchedules.html +852 -0
- package/docs/$.jobs.html +238 -0
- package/docs/$.net.Destination.html +304 -0
- package/docs/$.net.Mail.Part.html +510 -0
- package/docs/$.net.Mail.html +504 -0
- package/docs/$.net.SMTPConnection.html +347 -0
- package/docs/$.net.html +749 -0
- package/docs/$.net.http.Client.html +562 -0
- package/docs/$.net.http.Destination.html +237 -0
- package/docs/$.net.http.Request.html +567 -0
- package/docs/$.net.http.html +292 -0
- package/docs/$.security.AntiVirus.html +361 -0
- package/docs/$.security.Store.html +636 -0
- package/docs/$.security.crypto.html +414 -0
- package/docs/$.security.html +247 -0
- package/docs/$.security.x509.html +373 -0
- package/docs/$.text.analysis.Session.html +983 -0
- package/docs/$.text.analysis.html +242 -0
- package/docs/$.text.html +246 -0
- package/docs/$.text.mining.Session.html +2018 -0
- package/docs/$.text.mining.html +242 -0
- package/docs/$.trace.html +525 -0
- package/docs/$.util.SAXParser.html +955 -0
- package/docs/$.util.Zip.html +474 -0
- package/docs/$.util.codec.html +414 -0
- package/docs/$.util.compression.html +357 -0
- package/docs/$.util.html +325 -0
- package/docs/$.util.sql.html +290 -0
- package/docs/$.web.Body.html +333 -0
- package/docs/$.web.EntityList.html +296 -0
- package/docs/$.web.TupelList.html +496 -0
- package/docs/$.web.WebEntityRequest.html +393 -0
- package/docs/$.web.WebEntityResponse.html +392 -0
- package/docs/$.web.WebRequest.html +560 -0
- package/docs/$.web.WebResponse.html +609 -0
- package/docs/$.web.html +246 -0
- package/docs/Copyright-SAP.html +39 -0
- package/docs/Disclaimer-SAP.html +55 -0
- package/docs/index.html +232 -0
- package/docs/styles/jsdoc-default.css +382 -0
- package/lib/AppConfig.js +36 -0
- package/lib/AuditLogger.js +41 -0
- package/lib/cacert.js +26 -0
- package/lib/ctypes.js +153 -0
- package/lib/destinations/dest-provider.js +57 -0
- package/lib/index.js +235 -0
- package/lib/jobs/Action.js +40 -0
- package/lib/jobs/Job.js +100 -0
- package/lib/jobs/JobManager.js +150 -0
- package/lib/jobs/JobsRuntime.js +133 -0
- package/lib/jobs/SqlScriptJobRunner.js +36 -0
- package/lib/jobs/XsjsJobRunner.js +78 -0
- package/lib/jobs/index.js +11 -0
- package/lib/logging.js +16 -0
- package/lib/middleware.js +125 -0
- package/lib/odata/ODataService.js +125 -0
- package/lib/odata/index.js +7 -0
- package/lib/odata/service-factory.js +26 -0
- package/lib/passport-noauth.js +17 -0
- package/lib/routes.js +115 -0
- package/lib/runtime.js +740 -0
- package/lib/sandbox.js +40 -0
- package/lib/utils/XsJsFunctionRunner.js +57 -0
- package/lib/utils/XsJsLibFunctionRunner.js +57 -0
- package/lib/utils/buffer-utils.js +77 -0
- package/lib/utils/compression-utils.js +14 -0
- package/lib/utils/date-utils.js +104 -0
- package/lib/utils/errors/HttpError.js +20 -0
- package/lib/utils/errors/wrap-app-error.js +18 -0
- package/lib/utils/index.js +17 -0
- package/lib/utils/xs-function-runner.js +51 -0
- package/lib/utils/xs-types.js +21 -0
- package/lib/utils/xspath.js +36 -0
- package/lib/utils/xsstack.js +28 -0
- package/lib/views/error.html +28 -0
- package/lib/xsjs/Application.js +28 -0
- package/lib/xsjs/Locale.js +53 -0
- package/lib/xsjs/Session.js +31 -0
- package/lib/xsjs/constants.js +71 -0
- package/lib/xsjs/db/common/DbBase.js +85 -0
- package/lib/xsjs/db/common/DbOptions.js +163 -0
- package/lib/xsjs/db/common/arguments-validation.js +102 -0
- package/lib/xsjs/db/common/connection.js +12 -0
- package/lib/xsjs/db/common/enums.js +93 -0
- package/lib/xsjs/db/common/execute-batch.js +38 -0
- package/lib/xsjs/db/common/parse-time.js +139 -0
- package/lib/xsjs/db/dbapi/CallableStatement.js +192 -0
- package/lib/xsjs/db/dbapi/Connection.js +78 -0
- package/lib/xsjs/db/dbapi/DB.js +39 -0
- package/lib/xsjs/db/dbapi/ParameterMetaData.js +118 -0
- package/lib/xsjs/db/dbapi/PreparedStatement.js +78 -0
- package/lib/xsjs/db/dbapi/ResultSet.js +220 -0
- package/lib/xsjs/db/dbapi/ResultSetMetaData.js +116 -0
- package/lib/xsjs/db/dbapi/Statement.js +514 -0
- package/lib/xsjs/db/dbapi/conversions.js +113 -0
- package/lib/xsjs/db/dbapi/fetch-rows.js +32 -0
- package/lib/xsjs/db/hdbapi/Connection.js +525 -0
- package/lib/xsjs/db/hdbapi/HDB.js +32 -0
- package/lib/xsjs/db/hdbapi/ResultSetIterator.js +40 -0
- package/lib/xsjs/db/hdbapi/convert.js +77 -0
- package/lib/xsjs/db/hdbapi/table-string-parser.js +52 -0
- package/lib/xsjs/db/index.js +4 -0
- package/lib/xsjs/index.js +13 -0
- package/lib/xsjs/jobs/Job.js +228 -0
- package/lib/xsjs/jobs/Jobs.js +11 -0
- package/lib/xsjs/jobs/Logs.js +127 -0
- package/lib/xsjs/jobs/Schedule.js +110 -0
- package/lib/xsjs/jobs/Schedules.js +108 -0
- package/lib/xsjs/net/Destination.js +43 -0
- package/lib/xsjs/net/http/Client.js +220 -0
- package/lib/xsjs/net/http/HTTP.js +72 -0
- package/lib/xsjs/net/index.js +5 -0
- package/lib/xsjs/net/smtp/Mail.js +38 -0
- package/lib/xsjs/net/smtp/Part.js +30 -0
- package/lib/xsjs/net/smtp/SMTPConnection.js +39 -0
- package/lib/xsjs/net/smtp/index.js +18 -0
- package/lib/xsjs/net/smtp/nodemailer-util.js +77 -0
- package/lib/xsjs/require.js +39 -0
- package/lib/xsjs/security/AntiVirus.js +31 -0
- package/lib/xsjs/security/Store.js +119 -0
- package/lib/xsjs/security/crypto.js +23 -0
- package/lib/xsjs/security/index.js +5 -0
- package/lib/xsjs/security/x509.js +12 -0
- package/lib/xsjs/text/analysis/Session.js +128 -0
- package/lib/xsjs/text/index.js +30 -0
- package/lib/xsjs/text/mining/Session.js +82 -0
- package/lib/xsjs/trace/trace.js +41 -0
- package/lib/xsjs/util/SAXParser.js +174 -0
- package/lib/xsjs/util/Zip.js +220 -0
- package/lib/xsjs/util/codec.js +33 -0
- package/lib/xsjs/util/compression.js +24 -0
- package/lib/xsjs/util/index.js +22 -0
- package/lib/xsjs/web/BasicWebEntity.js +41 -0
- package/lib/xsjs/web/EntityList.js +11 -0
- package/lib/xsjs/web/TupelLists/CookiesTupelList.js +47 -0
- package/lib/xsjs/web/TupelLists/HeadersTupelList.js +55 -0
- package/lib/xsjs/web/TupelLists/ParametersTupelList.js +83 -0
- package/lib/xsjs/web/TupelLists/TupelListBase.js +45 -0
- package/lib/xsjs/web/WebBody.js +135 -0
- package/lib/xsjs/web/WebEntityRequest.js +40 -0
- package/lib/xsjs/web/WebEntityResponse.js +26 -0
- package/lib/xsjs/web/WebRequest.js +209 -0
- package/lib/xsjs/web/WebResponse.js +183 -0
- package/lib/xsjs/web/index.js +4 -0
- package/lib/xsjs/web/utils/HeadersParser.js +53 -0
- package/lib/xsjs/web/utils/HttpRequestParser.js +93 -0
- package/lib/xsjs/web/utils/MultipartParser.js +163 -0
- package/lib/xsjs/web/utils/MultipartResponseBuilder.js +73 -0
- package/lib/xsjs/web/utils/SetCookieParser.js +32 -0
- package/lib/xsjslib/TextBundleWrapper.js +46 -0
- package/lib/xsjslib/index.js +11 -0
- package/npm-shrinkwrap.json +11540 -0
- package/package.json +84 -0
package/differences.md
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
# Differences between XSJS on Node.js and HANA XS Classic
|
|
2
|
+
|
|
3
|
+
<!-- toc -->
|
|
4
|
+
|
|
5
|
+
- [Legacy Database API ($.db)](#legacy-database-api-db)
|
|
6
|
+
- [Database API ($.hdb)](#database-api-hdb)
|
|
7
|
+
- [Jobs API ($.jobs)](#jobs-api-jobs)
|
|
8
|
+
- [Network API ($.net)](#network-api-net)
|
|
9
|
+
- [Security API ($.security)](#security-api-security)
|
|
10
|
+
- [Session API ($.session)](#session-api-session)
|
|
11
|
+
- [Text Analysis and Text Mining ($.text)](#text-analysis-and-text-mining-text)
|
|
12
|
+
- [Trace API ($.trace)](#trace-api-trace)
|
|
13
|
+
- [Util API ($.util)](#util-api-util)
|
|
14
|
+
- [Request Processing API ($.web)](#request-processing-api-web)
|
|
15
|
+
- [ODATA](#odata)
|
|
16
|
+
- [Repository access ($.repo)](#repository-access-repo)
|
|
17
|
+
- [JavaScript VM](#javascript-vm)
|
|
18
|
+
- [Other](#other)
|
|
19
|
+
|
|
20
|
+
<!-- tocstop -->
|
|
21
|
+
|
|
22
|
+
## Legacy Database API ($.db)
|
|
23
|
+
* getX functions where X is some type
|
|
24
|
+
* do not perform as many type conversions as in HANA XS Classic
|
|
25
|
+
* `$.db.ResultSet.getString()`
|
|
26
|
+
* works for unicode characters (e.g. if the column from the ResultSet is NSTRING)
|
|
27
|
+
* `$.db.ResultSet.getClob()`
|
|
28
|
+
* works for unicode characters (e.g. if the column from the ResultSet is NCLOB)
|
|
29
|
+
* `$.db.ResultSet.close` does not close the result set.
|
|
30
|
+
* ParameterMetaData
|
|
31
|
+
* getParameterType and getParameterTypeName may return different values from HANA XS Classic, e.g.
|
|
32
|
+
* NSTRING returned instead of SHORTTEXT
|
|
33
|
+
* DECIMAL returned instead of SMALLDECIMAL
|
|
34
|
+
* table output parameters from stored procedures are not described in ParameterMetaData
|
|
35
|
+
* isNullable - Not supported
|
|
36
|
+
* isSigned - Not supported
|
|
37
|
+
* hasDefault - Not supported
|
|
38
|
+
* ResultSetMetaData
|
|
39
|
+
* getColumnType and getColumnTypeName may return different values from HANA XS Classic, similarly to ParameterMetaData
|
|
40
|
+
* getCatalogName - Not supported
|
|
41
|
+
* getColumnDisplaySize - Not supported
|
|
42
|
+
* PreparedStatement, CallableStatement - setDate, setTime, setTimestamp
|
|
43
|
+
* not all date/time formats are supported
|
|
44
|
+
|
|
45
|
+
## Database API ($.hdb)
|
|
46
|
+
* The ResultSet metadata object does not contain the following properties:
|
|
47
|
+
* catalogName
|
|
48
|
+
* displaySize
|
|
49
|
+
* The ResultSet metadata uses `true` and `false` instead of `1` and `0` for the isNullable property
|
|
50
|
+
* Date objects received for the TIME data type may have arbitrary values for year, month and day.
|
|
51
|
+
* Values returned for the TEXT and BINTEXT data types are strings instead of ArrayBuffers.
|
|
52
|
+
* Objects representing a date-time value via a string and optionally a format for parsing (for example, `{ '$date': '...' }` or `{ '$timestamp': '...', '$format': '...' }`) are not supported as input parameters.
|
|
53
|
+
* Default conversions are not applied for input table parameters.
|
|
54
|
+
* `$.hdb.ResultSet`
|
|
55
|
+
* if there is a column with a numeric name (e.g. "99") and this number is equal
|
|
56
|
+
or greater than the number of columns, accessing this column by name (e.g. `row["99"]`)
|
|
57
|
+
in XS Classic returns `undefined` while in XS Advanced it returns the column value.
|
|
58
|
+
* columns with numeric names which are within the range of possible column indices
|
|
59
|
+
are non-enumerable in XS Advanced.
|
|
60
|
+
* Values of INOUT/OUT procedure parameters are retrieved using upper case parameter names.
|
|
61
|
+
* It is possible to execute a `CALL` procedure statement with `$.hdb.Connection.executeQuery` or `$.hdb.Connection.executeUpdate`.
|
|
62
|
+
Output parameters cannot be retrieved from the result of such a call,
|
|
63
|
+
only the first output table is returned (if there are any output tables).
|
|
64
|
+
**Note** that this is not supported in XS Classic and is not recommended to be used in _@sap/xsjs_.
|
|
65
|
+
`$.hdb.Connection.loadProcedure` or `$.db.Connection.prepareCall` should be used instead.
|
|
66
|
+
|
|
67
|
+
## Jobs API ($.jobs)
|
|
68
|
+
* All jobs (defined in `.xsjob` files) are active by default
|
|
69
|
+
* `$.jobs.Job`
|
|
70
|
+
* `sqlcc` property in the constructor parameter is not supported
|
|
71
|
+
* `getConfiguration` method is not supported
|
|
72
|
+
* In XS Classic the ID of a job schedule is a number, while in XSJS it is a uuid (a string with 36 characters)
|
|
73
|
+
* In XSJS only a Date object is accepted for a date/time property, while XS Classic accepts also an object with `value` and `format` properties allowing custom date formats
|
|
74
|
+
* The `JobLogObject` does not support the following properties:
|
|
75
|
+
* host
|
|
76
|
+
* port
|
|
77
|
+
* action
|
|
78
|
+
* user
|
|
79
|
+
* thread_id
|
|
80
|
+
|
|
81
|
+
## Network API ($.net)
|
|
82
|
+
* Destinations
|
|
83
|
+
* only the following properties are supported - host, port, pathPrefix, useProxy, proxyHost, proxyPort, authType, username, password
|
|
84
|
+
* Mail, SMTPConnection
|
|
85
|
+
* proxy support and Digest-MD5 authentication method are not supported
|
|
86
|
+
|
|
87
|
+
## Security API ($.security)
|
|
88
|
+
Supported.
|
|
89
|
+
**Note:** `$.security.Store` - store files are created automatically
|
|
90
|
+
|
|
91
|
+
## Session API ($.session)
|
|
92
|
+
|
|
93
|
+
Only the following properties are supported:
|
|
94
|
+
* user
|
|
95
|
+
* language
|
|
96
|
+
* getUsername()
|
|
97
|
+
* hasAppPrivilege()
|
|
98
|
+
* assertAppPrivilege()
|
|
99
|
+
|
|
100
|
+
**Note:** `$.session.language` - holds the same value as `$.request.language` unless `xsSessionLanguage` cookie is set. In comparison to XS Classic, XSJS does not set this cookie. In case the `xsSessionLanguage` cookie is provided, it will be honored in the same manner as in XS Classic.
|
|
101
|
+
|
|
102
|
+
New properties supported:
|
|
103
|
+
* securityContext - holds the security context provided by `@sap/xssec` security library. This property will be `undefined` in case there is no authenticated user, e.g. the application does not require authentication. The security context provides synchronous and asynchronous functions. Calling sync functions is straight forward, while calling async functions should be done by adding `.sync` property. See [NPM packages support](README.md#npm-packages-support).
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
## Text Analysis and Text Mining ($.text)
|
|
107
|
+
$.text.mining supported.<br />
|
|
108
|
+
$.text.analysis supported when _@sap/xsjs_ is connected to HANA 2.0.
|
|
109
|
+
|
|
110
|
+
## Trace API ($.trace)
|
|
111
|
+
Supported.
|
|
112
|
+
|
|
113
|
+
## Util API ($.util)
|
|
114
|
+
* $.util.Zip is partially supported:
|
|
115
|
+
* Originally in XS Classic the Zip constructor accepts setting object with two properties: `password` and `maxUncompressedSizeInBytes`.
|
|
116
|
+
Currently password-protected zips are not supported so the `password` property is forbidden.
|
|
117
|
+
* If an entry is added to a Zip object its value no longer gets converted to ArrayBuffer, but remains the same.
|
|
118
|
+
|
|
119
|
+
* $.util.compression.gunzip does not support the `maxUncompressedSizeInBytes` parameter.
|
|
120
|
+
* $.util.SAXParser - partial support.
|
|
121
|
+
* `stop` and `resume` methods are not supported.
|
|
122
|
+
* `currentByteIndex`, `currentColumnNumber` and `currentLineNumber` properties are not supported.
|
|
123
|
+
* `attlistDeclHandler`, `endDoctypeDeclHandler`, `endNameSpaceDeclHandler`, `entityDeclHandler`, `externalEntityRefHandler`, `notationDeclHandler`, `processingInstructionHandler`, `startDoctypeDeclHandler`, `startNameSpaceDeclHandler`, `xmlDeclHandler` handlers are not supported.
|
|
124
|
+
* namespaces and entities are not supported.
|
|
125
|
+
|
|
126
|
+
## Request Processing API ($.web)
|
|
127
|
+
Supported with the following differences:
|
|
128
|
+
- Headers starting with _~server_ are not available.
|
|
129
|
+
- Duplicated custom incoming request headers are represented as joined headers. For example, if a client sends a header `abc` once with value of `1` and second time with a value of `2`,
|
|
130
|
+
`$.request.headers.get('abc')` will result into `'1, 2'` instead of `['1', '2']`.
|
|
131
|
+
- webResponse.setBody(body) - In XS Classic if body is null, undefined or object, an exception is thrown. In XS Advanced the response is 'null', 'undefined' and JSON.stringify(object), respectively.
|
|
132
|
+
|
|
133
|
+
## ODATA
|
|
134
|
+
Supported, including SQL and JavaScript exists.
|
|
135
|
+
|
|
136
|
+
## Repository access ($.repo)
|
|
137
|
+
Not supported.
|
|
138
|
+
|
|
139
|
+
## JavaScript VM
|
|
140
|
+
Node.js uses V8 from Google, while HANA XS uses SpiderMonkey from Mozilla.
|
|
141
|
+
* In XS Classic xsjs:
|
|
142
|
+
* always runs implicitly in strict mode.
|
|
143
|
+
* supports conditional catches (non-standard):
|
|
144
|
+
```js
|
|
145
|
+
try {
|
|
146
|
+
willfail() // throws FooException
|
|
147
|
+
} catch (e if e instanceof FooException) {
|
|
148
|
+
//do something
|
|
149
|
+
}
|
|
150
|
+
```
|
|
151
|
+
Node.js / V8 does not support this `if` construct in the catch statement - you can only provide a single parameter name, e.g. 'e'.
|
|
152
|
+
|
|
153
|
+
* `instanceof` - `.xsjs` files run in isolated contexts which have different references for the built-in Node.js types.
|
|
154
|
+
This will cause `instanceof` not to work as expected. You can take a look on [this issue](https://github.com/nodejs/node-v0.x-archive/issues/1277) in Node.js.
|
|
155
|
+
This issue applies for built-in types like: **Array**, **String**, **RegExp**, **Number**, etc.<br />
|
|
156
|
+
For **Array**, you should use `Array.isArray` instead of `instanceof Array`.<br />
|
|
157
|
+
For **String** it is suitable to use `typeof`.
|
|
158
|
+
* With newer versions of Node.js (and V8 respectively), there might be fixes in the time zone offsets which can result in different string representations of `Date` objects (which take the timezone offset into consideration) compared to XS Classic.
|
|
159
|
+
|
|
160
|
+
## Other
|
|
161
|
+
* DXC (Direct Extractor Connection) and xsxmla are not supported.
|
|
162
|
+
* Constants inside `.xsjslib` (defined with `const`) are not visible outside the library.
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<title>JSDoc: Class: Application</title>
|
|
7
|
+
<script src="scripts/prettify/prettify.js"></script>
|
|
8
|
+
<script src="scripts/prettify/lang-css.js"></script>
|
|
9
|
+
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
|
10
|
+
<script src="scripts/launch-8b3c5ca29b9e.min.js"></script>
|
|
11
|
+
<script src="scripts/highlight.js"></script>
|
|
12
|
+
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<div id="main">
|
|
16
|
+
<h1 class="page-title">Class: Application</h1>
|
|
17
|
+
<section>
|
|
18
|
+
<header>
|
|
19
|
+
<h2>
|
|
20
|
+
<span class="ancestors"><a href="$.html">$</a>.</span>
|
|
21
|
+
Application
|
|
22
|
+
</h2>
|
|
23
|
+
</header>
|
|
24
|
+
<article>
|
|
25
|
+
<div class="container-overview">
|
|
26
|
+
<dt>
|
|
27
|
+
<h4 class="name" id="Application"><span class="type-signature"></span>new Application<span
|
|
28
|
+
class="signature">()</span><span class="type-signature"></span></h4>
|
|
29
|
+
</dt>
|
|
30
|
+
<dd>
|
|
31
|
+
<div class="description">
|
|
32
|
+
Represents an SAP HANA XS application.
|
|
33
|
+
</div>
|
|
34
|
+
<dl class="details">
|
|
35
|
+
</dl>
|
|
36
|
+
</dd>
|
|
37
|
+
</div>
|
|
38
|
+
<h3 class="subsection-title">Members</h3>
|
|
39
|
+
<dl>
|
|
40
|
+
<dt>
|
|
41
|
+
<h4 class="name" id="language"><span class="type-signature"></span>language<span
|
|
42
|
+
class="type-signature"> :string</span></h4>
|
|
43
|
+
</dt>
|
|
44
|
+
<dd>
|
|
45
|
+
<div class="description">
|
|
46
|
+
Language of the application in IETF (BCP 47) format.
|
|
47
|
+
This property contains the language that is used in the session.
|
|
48
|
+
The value is a string in the format specified by the IETF (BCP 47)
|
|
49
|
+
standard.
|
|
50
|
+
<p>
|
|
51
|
+
Initially contains an empty string, can be set by application code.
|
|
52
|
+
Setting this will take precedence over the accept-language header and <a
|
|
53
|
+
href="$.Session.html#language">$.session.language</a> when determining a value for <a
|
|
54
|
+
href="$.web.WebRequest.html#language">$.request.language</a>.
|
|
55
|
+
</div>
|
|
56
|
+
<h5>Type:</h5>
|
|
57
|
+
<ul>
|
|
58
|
+
<li>
|
|
59
|
+
<span class="param-type">string</span>
|
|
60
|
+
</li>
|
|
61
|
+
</ul>
|
|
62
|
+
<dl class="details">
|
|
63
|
+
</dl>
|
|
64
|
+
</dd>
|
|
65
|
+
</dl>
|
|
66
|
+
</article>
|
|
67
|
+
</section>
|
|
68
|
+
</div>
|
|
69
|
+
<nav>
|
|
70
|
+
<h2><a href="index.html">Index</a></h2>
|
|
71
|
+
<h3>Classes</h3>
|
|
72
|
+
<table>
|
|
73
|
+
<tr>
|
|
74
|
+
<td><a href="$.security.AntiVirus.html">AntiVirus</a></td>
|
|
75
|
+
<td class="oblique">$.security</td>
|
|
76
|
+
</tr>
|
|
77
|
+
<tr>
|
|
78
|
+
<td><a href="$.Application.html">Application</a></td>
|
|
79
|
+
<td class="oblique">$</td>
|
|
80
|
+
</tr>
|
|
81
|
+
<tr>
|
|
82
|
+
<td><a href="$.web.Body.html">Body</a></td>
|
|
83
|
+
<td class="oblique">$.web</td>
|
|
84
|
+
</tr>
|
|
85
|
+
<tr>
|
|
86
|
+
<td><a href="$.db.CallableStatement.html">CallableStatement</a></td>
|
|
87
|
+
<td class="oblique">$.db</td>
|
|
88
|
+
</tr>
|
|
89
|
+
<tr>
|
|
90
|
+
<td><a href="$.net.http.Client.html">Client</a></td>
|
|
91
|
+
<td class="oblique">$.net.http</td>
|
|
92
|
+
</tr>
|
|
93
|
+
<tr>
|
|
94
|
+
<td><a href="$.hdb.ColumnMetadata.html">ColumnMetadata</a></td>
|
|
95
|
+
<td class="oblique">$.hdb</td>
|
|
96
|
+
</tr>
|
|
97
|
+
<tr>
|
|
98
|
+
<td><a href="$.db.Connection.html">Connection</a></td>
|
|
99
|
+
<td class="oblique">$.db</td>
|
|
100
|
+
</tr>
|
|
101
|
+
<tr>
|
|
102
|
+
<td><a href="$.hdb.Connection.html">Connection</a></td>
|
|
103
|
+
<td class="oblique">$.hdb</td>
|
|
104
|
+
</tr>
|
|
105
|
+
<tr>
|
|
106
|
+
<td><a href="$.net.Destination.html">Destination</a></td>
|
|
107
|
+
<td class="oblique">$.net</td>
|
|
108
|
+
</tr>
|
|
109
|
+
<tr>
|
|
110
|
+
<td><a href="$.net.http.Destination.html">Destination</a></td>
|
|
111
|
+
<td class="oblique">$.net.http</td>
|
|
112
|
+
</tr>
|
|
113
|
+
<tr>
|
|
114
|
+
<td><a href="$.web.EntityList.html">EntityList</a></td>
|
|
115
|
+
<td class="oblique">$.web</td>
|
|
116
|
+
</tr>
|
|
117
|
+
<tr>
|
|
118
|
+
<td><a href="$.jobs.Job.html">Job</a></td>
|
|
119
|
+
<td class="oblique">$.jobs</td>
|
|
120
|
+
</tr>
|
|
121
|
+
<tr>
|
|
122
|
+
<td><a href="$.jobs.JobLog.html">JobLog</a></td>
|
|
123
|
+
<td class="oblique">$.jobs</td>
|
|
124
|
+
</tr>
|
|
125
|
+
<tr>
|
|
126
|
+
<td><a href="$.jobs.JobSchedules.html">JobSchedules</a></td>
|
|
127
|
+
<td class="oblique">$.jobs</td>
|
|
128
|
+
</tr>
|
|
129
|
+
<tr>
|
|
130
|
+
<td><a href="$.net.Mail.html">Mail</a></td>
|
|
131
|
+
<td class="oblique">$.net</td>
|
|
132
|
+
</tr>
|
|
133
|
+
<tr>
|
|
134
|
+
<td><a href="$.db.ParameterMetaData.html">ParameterMetaData</a></td>
|
|
135
|
+
<td class="oblique">$.db</td>
|
|
136
|
+
</tr>
|
|
137
|
+
<tr>
|
|
138
|
+
<td><a href="$.net.Mail.Part.html">Part</a></td>
|
|
139
|
+
<td class="oblique">$.net.Mail</td>
|
|
140
|
+
</tr>
|
|
141
|
+
<tr>
|
|
142
|
+
<td><a href="$.db.PreparedStatement.html">PreparedStatement</a></td>
|
|
143
|
+
<td class="oblique">$.db</td>
|
|
144
|
+
</tr>
|
|
145
|
+
<tr>
|
|
146
|
+
<td><a href="$.hdb.ProcedureResult.html">ProcedureResult</a></td>
|
|
147
|
+
<td class="oblique">$.hdb</td>
|
|
148
|
+
</tr>
|
|
149
|
+
<tr>
|
|
150
|
+
<td><a href="$.net.http.Request.html">Request</a></td>
|
|
151
|
+
<td class="oblique">$.net.http</td>
|
|
152
|
+
</tr>
|
|
153
|
+
<tr>
|
|
154
|
+
<td><a href="$.db.ResultSet.html">ResultSet</a></td>
|
|
155
|
+
<td class="oblique">$.db</td>
|
|
156
|
+
</tr>
|
|
157
|
+
<tr>
|
|
158
|
+
<td><a href="$.hdb.ResultSet.html">ResultSet</a></td>
|
|
159
|
+
<td class="oblique">$.hdb</td>
|
|
160
|
+
</tr>
|
|
161
|
+
<tr>
|
|
162
|
+
<td><a href="$.hdb.ResultSetIterator.html">ResultSetIterator</a></td>
|
|
163
|
+
<td class="oblique">$.hdb</td>
|
|
164
|
+
</tr>
|
|
165
|
+
<tr>
|
|
166
|
+
<td><a href="$.db.ResultSetMetaData.html">ResultSetMetaData</a></td>
|
|
167
|
+
<td class="oblique">$.db</td>
|
|
168
|
+
</tr>
|
|
169
|
+
<tr>
|
|
170
|
+
<td><a href="$.hdb.ResultSetMetaData.html">ResultSetMetaData</a></td>
|
|
171
|
+
<td class="oblique">$.hdb</td>
|
|
172
|
+
</tr>
|
|
173
|
+
<tr>
|
|
174
|
+
<td><a href="$.util.SAXParser.html">SAXParser</a></td>
|
|
175
|
+
<td class="oblique">$.util</td>
|
|
176
|
+
</tr>
|
|
177
|
+
<tr>
|
|
178
|
+
<td><a href="$.Session.html">Session</a></td>
|
|
179
|
+
<td class="oblique">$</td>
|
|
180
|
+
</tr>
|
|
181
|
+
<tr>
|
|
182
|
+
<td><a href="$.text.analysis.Session.html">Session</a></td>
|
|
183
|
+
<td class="oblique">$.text.analysis</td>
|
|
184
|
+
</tr>
|
|
185
|
+
<tr>
|
|
186
|
+
<td><a href="$.text.mining.Session.html">Session</a></td>
|
|
187
|
+
<td class="oblique">$.text.mining</td>
|
|
188
|
+
</tr>
|
|
189
|
+
<tr>
|
|
190
|
+
<td><a href="$.net.SMTPConnection.html">SMTPConnection</a></td>
|
|
191
|
+
<td class="oblique">$.net</td>
|
|
192
|
+
</tr>
|
|
193
|
+
<tr>
|
|
194
|
+
<td><a href="$.db.SQLException.html">SQLException</a></td>
|
|
195
|
+
<td class="oblique">$.db</td>
|
|
196
|
+
</tr>
|
|
197
|
+
<tr>
|
|
198
|
+
<td><a href="$.hdb.SQLException.html">SQLException</a></td>
|
|
199
|
+
<td class="oblique">$.hdb</td>
|
|
200
|
+
</tr>
|
|
201
|
+
<tr>
|
|
202
|
+
<td><a href="$.security.Store.html">Store</a></td>
|
|
203
|
+
<td class="oblique">$.security</td>
|
|
204
|
+
</tr>
|
|
205
|
+
<tr>
|
|
206
|
+
<td><a href="$.web.TupelList.html">TupelList</a></td>
|
|
207
|
+
<td class="oblique">$.web</td>
|
|
208
|
+
</tr>
|
|
209
|
+
<tr>
|
|
210
|
+
<td><a href="$.web.WebEntityRequest.html">WebEntityRequest</a></td>
|
|
211
|
+
<td class="oblique">$.web</td>
|
|
212
|
+
</tr>
|
|
213
|
+
<tr>
|
|
214
|
+
<td><a href="$.web.WebEntityResponse.html">WebEntityResponse</a></td>
|
|
215
|
+
<td class="oblique">$.web</td>
|
|
216
|
+
</tr>
|
|
217
|
+
<tr>
|
|
218
|
+
<td><a href="$.web.WebRequest.html">WebRequest</a></td>
|
|
219
|
+
<td class="oblique">$.web</td>
|
|
220
|
+
</tr>
|
|
221
|
+
<tr>
|
|
222
|
+
<td><a href="$.web.WebResponse.html">WebResponse</a></td>
|
|
223
|
+
<td class="oblique">$.web</td>
|
|
224
|
+
</tr>
|
|
225
|
+
<tr>
|
|
226
|
+
<td><a href="$.util.Zip.html">Zip</a></td>
|
|
227
|
+
<td class="oblique">$.util</td>
|
|
228
|
+
</tr>
|
|
229
|
+
</table>
|
|
230
|
+
<h3>Namespaces</h3>
|
|
231
|
+
<ul>
|
|
232
|
+
<li><a href="$.html"><span class="oblique"></span>$</a></li>
|
|
233
|
+
<li><a href="$.db.html"><span class="oblique">$.</span>db</a></li>
|
|
234
|
+
<li><a href="$.hdb.html"><span class="oblique">$.</span>hdb</a></li>
|
|
235
|
+
<li><a href="$.jobs.html"><span class="oblique">$.</span>jobs</a></li>
|
|
236
|
+
<li><a href="$.net.html"><span class="oblique">$.</span>net</a></li>
|
|
237
|
+
<li><a href="$.net.http.html"><span class="oblique">$.net.</span>http</a></li>
|
|
238
|
+
<li><a href="$.security.html"><span class="oblique">$.</span>security</a></li>
|
|
239
|
+
<li><a href="$.security.crypto.html"><span class="oblique">$.security.</span>crypto</a></li>
|
|
240
|
+
<li><a href="$.security.x509.html"><span class="oblique">$.security.</span>x509</a></li>
|
|
241
|
+
<li><a href="$.text.html"><span class="oblique">$.</span>text</a></li>
|
|
242
|
+
<li><a href="$.text.analysis.html"><span class="oblique">$.text.</span>analysis</a></li>
|
|
243
|
+
<li><a href="$.text.mining.html"><span class="oblique">$.text.</span>mining</a></li>
|
|
244
|
+
<li><a href="$.trace.html"><span class="oblique">$.</span>trace</a></li>
|
|
245
|
+
<li><a href="$.util.html"><span class="oblique">$.</span>util</a></li>
|
|
246
|
+
<li><a href="$.util.codec.html"><span class="oblique">$.util.</span>codec</a></li>
|
|
247
|
+
<li><a href="$.util.compression.html"><span class="oblique">$.util.</span>compression</a></li>
|
|
248
|
+
<li><a href="$.util.sql.html"><span class="oblique">$.util.</span>sql</a></li>
|
|
249
|
+
<li><a href="$.web.html"><span class="oblique">$.</span>web</a></li>
|
|
250
|
+
</ul>
|
|
251
|
+
</nav>
|
|
252
|
+
<br clear="both">
|
|
253
|
+
<footer>
|
|
254
|
+
<a href="Copyright-SAP.html">Copyright</a>
|
|
255
|
+
&
|
|
256
|
+
<a href="Disclaimer-SAP.html">Disclaimer</a>
|
|
257
|
+
</footer>
|
|
258
|
+
<script>prettyPrint();</script>
|
|
259
|
+
<script src="scripts/linenumber.js"></script>
|
|
260
|
+
</body>
|
|
261
|
+
|
|
262
|
+
</html>
|