@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
|
@@ -0,0 +1,567 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<title>JSDoc: Class: Request</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
|
+
|
|
11
|
+
|
|
12
|
+
<script src="scripts/launch-8b3c5ca29b9e.min.js"></script>
|
|
13
|
+
<script src="scripts/highlight.js"></script>
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
<link rel="canonical" href="$.net.http.Request.html">
|
|
17
|
+
</head>
|
|
18
|
+
<body>
|
|
19
|
+
<div id="main">
|
|
20
|
+
<h1 class="page-title">Class: Request</h1>
|
|
21
|
+
<section>
|
|
22
|
+
<header>
|
|
23
|
+
<h2>
|
|
24
|
+
<span class="ancestors"><a href="$.html">$</a><a href="$.net.html">.net</a><a href="$.net.http.html">.http</a>.</span>
|
|
25
|
+
Request
|
|
26
|
+
</h2>
|
|
27
|
+
</header>
|
|
28
|
+
<article>
|
|
29
|
+
<div class="container-overview">
|
|
30
|
+
<dt>
|
|
31
|
+
<h4 class="name" id="Request"><span class="type-signature"></span>new Request<span
|
|
32
|
+
class="signature">()</span><span class="type-signature"></span></h4>
|
|
33
|
+
</dt>
|
|
34
|
+
<dd>
|
|
35
|
+
<div class="description">
|
|
36
|
+
Request class to be used with HTTP client
|
|
37
|
+
</div>
|
|
38
|
+
<dl class="details">
|
|
39
|
+
</dl>
|
|
40
|
+
</dd>
|
|
41
|
+
</div>
|
|
42
|
+
<h3 class="subsection-title">Extends</h3>
|
|
43
|
+
<ul>
|
|
44
|
+
<li><a href="$.web.WebRequest.html">$.web.WebRequest</a></li>
|
|
45
|
+
</ul>
|
|
46
|
+
<h3 class="subsection-title">Members</h3>
|
|
47
|
+
<dl>
|
|
48
|
+
<dt>
|
|
49
|
+
<h4 class="name" id="body"><span class="type-signature"></span>body<span class="type-signature"> :<a
|
|
50
|
+
href="$.web.Body.html">$.web.Body</a>|undefined</span></h4>
|
|
51
|
+
</dt>
|
|
52
|
+
<dd>
|
|
53
|
+
<div class="description">
|
|
54
|
+
The body of the request.
|
|
55
|
+
The value is undefined when there is no body.
|
|
56
|
+
<i>Only</i> available on <a href="$.html#request">$.request</a>.
|
|
57
|
+
</div>
|
|
58
|
+
<h5>Type:</h5>
|
|
59
|
+
<ul>
|
|
60
|
+
<li>
|
|
61
|
+
<span class="param-type"><a href="$.web.Body.html">$.web.Body</a></span>
|
|
62
|
+
|
|
|
63
|
+
<span class="param-type">undefined</span>
|
|
64
|
+
</li>
|
|
65
|
+
</ul>
|
|
66
|
+
<dl class="details">
|
|
67
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
68
|
+
<dd class="inherited-from">
|
|
69
|
+
<ul class="dummy">
|
|
70
|
+
<li>
|
|
71
|
+
<a href="$.web.WebEntityRequest.html#body">$.web.WebEntityRequest#body</a>
|
|
72
|
+
</li>
|
|
73
|
+
</dd>
|
|
74
|
+
</dl>
|
|
75
|
+
</dd>
|
|
76
|
+
<dt>
|
|
77
|
+
<h4 class="name" id="contentType"><span class="type-signature"></span>contentType<span
|
|
78
|
+
class="type-signature"> :string</span></h4>
|
|
79
|
+
</dt>
|
|
80
|
+
<dd>
|
|
81
|
+
<div class="description">
|
|
82
|
+
The content type of the entity
|
|
83
|
+
</div>
|
|
84
|
+
<h5>Type:</h5>
|
|
85
|
+
<ul>
|
|
86
|
+
<li>
|
|
87
|
+
<span class="param-type">string</span>
|
|
88
|
+
</li>
|
|
89
|
+
</ul>
|
|
90
|
+
<dl class="details">
|
|
91
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
92
|
+
<dd class="inherited-from">
|
|
93
|
+
<ul class="dummy">
|
|
94
|
+
<li>
|
|
95
|
+
<a href="$.web.WebEntityRequest.html#contentType">$.web.WebEntityRequest#contentType</a>
|
|
96
|
+
</li>
|
|
97
|
+
</dd>
|
|
98
|
+
</dl>
|
|
99
|
+
</dd>
|
|
100
|
+
<dt>
|
|
101
|
+
<h4 class="name" id="cookies"><span class="type-signature"></span>cookies<span
|
|
102
|
+
class="type-signature"> :<a href="$.web.TupelList.html">$.web.TupelList</a></span></h4>
|
|
103
|
+
</dt>
|
|
104
|
+
<dd>
|
|
105
|
+
<div class="description">
|
|
106
|
+
The cookies associated with the entity
|
|
107
|
+
</div>
|
|
108
|
+
<h5>Type:</h5>
|
|
109
|
+
<ul>
|
|
110
|
+
<li>
|
|
111
|
+
<span class="param-type"><a href="$.web.TupelList.html">$.web.TupelList</a></span>
|
|
112
|
+
</li>
|
|
113
|
+
</ul>
|
|
114
|
+
<dl class="details">
|
|
115
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
116
|
+
<dd class="inherited-from">
|
|
117
|
+
<ul class="dummy">
|
|
118
|
+
<li>
|
|
119
|
+
<a href="$.web.WebRequest.html#cookies">$.web.WebRequest#cookies</a>
|
|
120
|
+
</li>
|
|
121
|
+
</dd>
|
|
122
|
+
</dl>
|
|
123
|
+
</dd>
|
|
124
|
+
<dt>
|
|
125
|
+
<h4 class="name" id="entities"><span class="type-signature"></span>entities<span
|
|
126
|
+
class="type-signature"> :<a href="$.web.EntityList.html">$.web.EntityList</a></span></h4>
|
|
127
|
+
</dt>
|
|
128
|
+
<dd>
|
|
129
|
+
<div class="description">
|
|
130
|
+
The sub-entities of the entity
|
|
131
|
+
</div>
|
|
132
|
+
<h5>Type:</h5>
|
|
133
|
+
<ul>
|
|
134
|
+
<li>
|
|
135
|
+
<span class="param-type"><a href="$.web.EntityList.html">$.web.EntityList</a></span>
|
|
136
|
+
</li>
|
|
137
|
+
</ul>
|
|
138
|
+
<dl class="details">
|
|
139
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
140
|
+
<dd class="inherited-from">
|
|
141
|
+
<ul class="dummy">
|
|
142
|
+
<li>
|
|
143
|
+
<a href="$.web.WebEntityRequest.html#entities">$.web.WebEntityRequest#entities</a>
|
|
144
|
+
</li>
|
|
145
|
+
</dd>
|
|
146
|
+
</dl>
|
|
147
|
+
</dd>
|
|
148
|
+
<dt>
|
|
149
|
+
<h4 class="name" id="headers"><span class="type-signature"></span>headers<span
|
|
150
|
+
class="type-signature"> :<a href="$.web.TupelList.html">$.web.TupelList</a></span></h4>
|
|
151
|
+
</dt>
|
|
152
|
+
<dd>
|
|
153
|
+
<div class="description">
|
|
154
|
+
The headers of the entity
|
|
155
|
+
</div>
|
|
156
|
+
<h5>Type:</h5>
|
|
157
|
+
<ul>
|
|
158
|
+
<li>
|
|
159
|
+
<span class="param-type"><a href="$.web.TupelList.html">$.web.TupelList</a></span>
|
|
160
|
+
</li>
|
|
161
|
+
</ul>
|
|
162
|
+
<dl class="details">
|
|
163
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
164
|
+
<dd class="inherited-from">
|
|
165
|
+
<ul class="dummy">
|
|
166
|
+
<li>
|
|
167
|
+
<a href="$.web.WebEntityRequest.html#headers">$.web.WebEntityRequest#headers</a>
|
|
168
|
+
</li>
|
|
169
|
+
</dd>
|
|
170
|
+
</dl>
|
|
171
|
+
</dd>
|
|
172
|
+
<dt>
|
|
173
|
+
<h4 class="name" id="language"><span class="type-signature"><readonly> </span>language<span
|
|
174
|
+
class="type-signature"> :string</span></h4>
|
|
175
|
+
</dt>
|
|
176
|
+
<dd>
|
|
177
|
+
<div class="description">
|
|
178
|
+
Language of the request in IETF (BCP 47) format.
|
|
179
|
+
This property contains the language that is used for the request.
|
|
180
|
+
Application code should rely on this property only.
|
|
181
|
+
The value is a string in the format specified by the IETF (BCP 47)
|
|
182
|
+
standard.
|
|
183
|
+
<p>
|
|
184
|
+
The value of the property is determined by checking the following sources in descending
|
|
185
|
+
precedence:
|
|
186
|
+
<ul>
|
|
187
|
+
<li>Custom x-sap-request-language HTTP header</li>
|
|
188
|
+
<li><a href="$.Application.html#language">$.application.language</a></li>
|
|
189
|
+
<li><a href="$.Session.html#language">$.session.language</a></li>
|
|
190
|
+
<li>Accept-Language HTTP header</li>
|
|
191
|
+
</ul>
|
|
192
|
+
</div>
|
|
193
|
+
<h5>Type:</h5>
|
|
194
|
+
<ul>
|
|
195
|
+
<li>
|
|
196
|
+
<span class="param-type">string</span>
|
|
197
|
+
</li>
|
|
198
|
+
</ul>
|
|
199
|
+
<dl class="details">
|
|
200
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
201
|
+
<dd class="inherited-from">
|
|
202
|
+
<ul class="dummy">
|
|
203
|
+
<li>
|
|
204
|
+
<a href="$.web.WebRequest.html#language">$.web.WebRequest#language</a>
|
|
205
|
+
</li>
|
|
206
|
+
</dd>
|
|
207
|
+
</dl>
|
|
208
|
+
</dd>
|
|
209
|
+
<dt>
|
|
210
|
+
<h4 class="name" id="method"><span class="type-signature"></span>method<span class="type-signature"> :<a
|
|
211
|
+
href="$.net.http.html">$.net.http</a></span></h4>
|
|
212
|
+
</dt>
|
|
213
|
+
<dd>
|
|
214
|
+
<div class="description">
|
|
215
|
+
The HTTP method of the incoming HTTP request
|
|
216
|
+
</div>
|
|
217
|
+
<h5>Type:</h5>
|
|
218
|
+
<ul>
|
|
219
|
+
<li>
|
|
220
|
+
<span class="param-type"><a href="$.net.http.html">$.net.http</a></span>
|
|
221
|
+
</li>
|
|
222
|
+
</ul>
|
|
223
|
+
<dl class="details">
|
|
224
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
225
|
+
<dd class="inherited-from">
|
|
226
|
+
<ul class="dummy">
|
|
227
|
+
<li>
|
|
228
|
+
<a href="$.web.WebRequest.html#method">$.web.WebRequest#method</a>
|
|
229
|
+
</li>
|
|
230
|
+
</dd>
|
|
231
|
+
</dl>
|
|
232
|
+
</dd>
|
|
233
|
+
<dt>
|
|
234
|
+
<h4 class="name" id="parameters"><span class="type-signature"></span>parameters<span
|
|
235
|
+
class="type-signature"> :<a href="$.web.TupelList.html">$.web.TupelList</a></span></h4>
|
|
236
|
+
</dt>
|
|
237
|
+
<dd>
|
|
238
|
+
<div class="description">
|
|
239
|
+
The parameters of the entity
|
|
240
|
+
</div>
|
|
241
|
+
<h5>Type:</h5>
|
|
242
|
+
<ul>
|
|
243
|
+
<li>
|
|
244
|
+
<span class="param-type"><a href="$.web.TupelList.html">$.web.TupelList</a></span>
|
|
245
|
+
</li>
|
|
246
|
+
</ul>
|
|
247
|
+
<dl class="details">
|
|
248
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
249
|
+
<dd class="inherited-from">
|
|
250
|
+
<ul class="dummy">
|
|
251
|
+
<li>
|
|
252
|
+
<a href="$.web.WebEntityRequest.html#parameters">$.web.WebEntityRequest#parameters</a>
|
|
253
|
+
</li>
|
|
254
|
+
</dd>
|
|
255
|
+
</dl>
|
|
256
|
+
</dd>
|
|
257
|
+
<dt>
|
|
258
|
+
<h4 class="name" id="path"><span class="type-signature"><readonly> </span>path<span
|
|
259
|
+
class="type-signature"> :string</span></h4>
|
|
260
|
+
</dt>
|
|
261
|
+
<dd>
|
|
262
|
+
<div class="description">
|
|
263
|
+
The URL path specified in the request
|
|
264
|
+
</div>
|
|
265
|
+
<h5>Type:</h5>
|
|
266
|
+
<ul>
|
|
267
|
+
<li>
|
|
268
|
+
<span class="param-type">string</span>
|
|
269
|
+
</li>
|
|
270
|
+
</ul>
|
|
271
|
+
<dl class="details">
|
|
272
|
+
</dl>
|
|
273
|
+
<h5>Example</h5>
|
|
274
|
+
<pre class="prettyprint"><code>http://myhost:1080/sap.hana.xs.exampleapp/path/to/requested/resource.xsjs
|
|
275
|
+
^ ^
|
|
276
|
+
| |
|
|
277
|
+
---- request URL path ----</code></pre>
|
|
278
|
+
</dd>
|
|
279
|
+
<dt>
|
|
280
|
+
<h4 class="name" id="queryPath"><span class="type-signature"></span>queryPath<span
|
|
281
|
+
class="type-signature"> :string</span></h4>
|
|
282
|
+
</dt>
|
|
283
|
+
<dd>
|
|
284
|
+
<div class="description">
|
|
285
|
+
The URL query path specified in the request
|
|
286
|
+
</div>
|
|
287
|
+
<h5>Type:</h5>
|
|
288
|
+
<ul>
|
|
289
|
+
<li>
|
|
290
|
+
<span class="param-type">string</span>
|
|
291
|
+
</li>
|
|
292
|
+
</ul>
|
|
293
|
+
<dl class="details">
|
|
294
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
295
|
+
<dd class="inherited-from">
|
|
296
|
+
<ul class="dummy">
|
|
297
|
+
<li>
|
|
298
|
+
<a href="$.web.WebRequest.html#queryPath">$.web.WebRequest#queryPath</a>
|
|
299
|
+
</li>
|
|
300
|
+
</dd>
|
|
301
|
+
</dl>
|
|
302
|
+
<h5>Example</h5>
|
|
303
|
+
<pre class="prettyprint"><code>// http://myhost:8000/exampleapp/resource.xsjs/some/more/options?param=value
|
|
304
|
+
// ^ ^
|
|
305
|
+
// | |
|
|
306
|
+
// -- query path --</code></pre>
|
|
307
|
+
</dd>
|
|
308
|
+
</dl>
|
|
309
|
+
<h3 class="subsection-title">Methods</h3>
|
|
310
|
+
<dl>
|
|
311
|
+
<dt>
|
|
312
|
+
<h4 class="name" id="setBody"><span class="type-signature">async </span>setBody<span class="signature">(body, <span
|
|
313
|
+
class="optional">index</span>)</span><span class="type-signature"></span></h4>
|
|
314
|
+
</dt>
|
|
315
|
+
<dd>
|
|
316
|
+
<div class="description">
|
|
317
|
+
Sets the body of the entity;
|
|
318
|
+
the method supports all elemental JavaScript types and ArrayBuffers.
|
|
319
|
+
</div>
|
|
320
|
+
<h5>Parameters:</h5>
|
|
321
|
+
<table class="params">
|
|
322
|
+
<thead>
|
|
323
|
+
<tr>
|
|
324
|
+
<th>Name</th>
|
|
325
|
+
<th>Type</th>
|
|
326
|
+
<th>Argument</th>
|
|
327
|
+
<th class="last">Description</th>
|
|
328
|
+
</tr>
|
|
329
|
+
</thead>
|
|
330
|
+
<tbody>
|
|
331
|
+
<tr>
|
|
332
|
+
<td class="name"><code>body</code></td>
|
|
333
|
+
<td class="type">
|
|
334
|
+
<span class="param-type">any</span>
|
|
335
|
+
|
|
|
336
|
+
<span class="param-type">ArrayBuffer</span>
|
|
337
|
+
</td>
|
|
338
|
+
<td class="attributes">
|
|
339
|
+
</td>
|
|
340
|
+
<td class="description last">Can be any elemental JavaScript type or an ArrayBuffer</td>
|
|
341
|
+
</tr>
|
|
342
|
+
<tr>
|
|
343
|
+
<td class="name"><code>index</code></td>
|
|
344
|
+
<td class="type">
|
|
345
|
+
<span class="param-type">Number</span>
|
|
346
|
+
</td>
|
|
347
|
+
<td class="attributes">
|
|
348
|
+
<optional><br>
|
|
349
|
+
</td>
|
|
350
|
+
<td class="description last">If the first argument is ResultSet, the number specifies the
|
|
351
|
+
index of a Blob column
|
|
352
|
+
</td>
|
|
353
|
+
</tr>
|
|
354
|
+
</tbody>
|
|
355
|
+
</table>
|
|
356
|
+
<dl class="details">
|
|
357
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
358
|
+
<dd class="inherited-from">
|
|
359
|
+
<ul class="dummy">
|
|
360
|
+
<li>
|
|
361
|
+
<a href="$.web.WebEntityRequest.html#setBody">$.web.WebEntityRequest#setBody</a>
|
|
362
|
+
</li>
|
|
363
|
+
</dd>
|
|
364
|
+
</dl>
|
|
365
|
+
<h5>Throws:</h5>
|
|
366
|
+
<div class="param-desc">
|
|
367
|
+
Throws an error if the parameters are invalid
|
|
368
|
+
</div>
|
|
369
|
+
</dd>
|
|
370
|
+
</dl>
|
|
371
|
+
</article>
|
|
372
|
+
</section>
|
|
373
|
+
</div>
|
|
374
|
+
<nav>
|
|
375
|
+
<h2><a href="index.html">Index</a></h2>
|
|
376
|
+
<h3>Classes</h3>
|
|
377
|
+
<table>
|
|
378
|
+
<tr>
|
|
379
|
+
<td><a href="$.security.AntiVirus.html">AntiVirus</a></td>
|
|
380
|
+
<td class="oblique">$.security</td>
|
|
381
|
+
</tr>
|
|
382
|
+
<tr>
|
|
383
|
+
<td><a href="$.Application.html">Application</a></td>
|
|
384
|
+
<td class="oblique">$</td>
|
|
385
|
+
</tr>
|
|
386
|
+
<tr>
|
|
387
|
+
<td><a href="$.web.Body.html">Body</a></td>
|
|
388
|
+
<td class="oblique">$.web</td>
|
|
389
|
+
</tr>
|
|
390
|
+
<tr>
|
|
391
|
+
<td><a href="$.db.CallableStatement.html">CallableStatement</a></td>
|
|
392
|
+
<td class="oblique">$.db</td>
|
|
393
|
+
</tr>
|
|
394
|
+
<tr>
|
|
395
|
+
<td><a href="$.net.http.Client.html">Client</a></td>
|
|
396
|
+
<td class="oblique">$.net.http</td>
|
|
397
|
+
</tr>
|
|
398
|
+
<tr>
|
|
399
|
+
<td><a href="$.hdb.ColumnMetadata.html">ColumnMetadata</a></td>
|
|
400
|
+
<td class="oblique">$.hdb</td>
|
|
401
|
+
</tr>
|
|
402
|
+
<tr>
|
|
403
|
+
<td><a href="$.db.Connection.html">Connection</a></td>
|
|
404
|
+
<td class="oblique">$.db</td>
|
|
405
|
+
</tr>
|
|
406
|
+
<tr>
|
|
407
|
+
<td><a href="$.hdb.Connection.html">Connection</a></td>
|
|
408
|
+
<td class="oblique">$.hdb</td>
|
|
409
|
+
</tr>
|
|
410
|
+
<tr>
|
|
411
|
+
<td><a href="$.net.Destination.html">Destination</a></td>
|
|
412
|
+
<td class="oblique">$.net</td>
|
|
413
|
+
</tr>
|
|
414
|
+
<tr>
|
|
415
|
+
<td><a href="$.net.http.Destination.html">Destination</a></td>
|
|
416
|
+
<td class="oblique">$.net.http</td>
|
|
417
|
+
</tr>
|
|
418
|
+
<tr>
|
|
419
|
+
<td><a href="$.web.EntityList.html">EntityList</a></td>
|
|
420
|
+
<td class="oblique">$.web</td>
|
|
421
|
+
</tr>
|
|
422
|
+
<tr>
|
|
423
|
+
<td><a href="$.jobs.Job.html">Job</a></td>
|
|
424
|
+
<td class="oblique">$.jobs</td>
|
|
425
|
+
</tr>
|
|
426
|
+
<tr>
|
|
427
|
+
<td><a href="$.jobs.JobLog.html">JobLog</a></td>
|
|
428
|
+
<td class="oblique">$.jobs</td>
|
|
429
|
+
</tr>
|
|
430
|
+
<tr>
|
|
431
|
+
<td><a href="$.jobs.JobSchedules.html">JobSchedules</a></td>
|
|
432
|
+
<td class="oblique">$.jobs</td>
|
|
433
|
+
</tr>
|
|
434
|
+
<tr>
|
|
435
|
+
<td><a href="$.net.Mail.html">Mail</a></td>
|
|
436
|
+
<td class="oblique">$.net</td>
|
|
437
|
+
</tr>
|
|
438
|
+
<tr>
|
|
439
|
+
<td><a href="$.db.ParameterMetaData.html">ParameterMetaData</a></td>
|
|
440
|
+
<td class="oblique">$.db</td>
|
|
441
|
+
</tr>
|
|
442
|
+
<tr>
|
|
443
|
+
<td><a href="$.net.Mail.Part.html">Part</a></td>
|
|
444
|
+
<td class="oblique">$.net.Mail</td>
|
|
445
|
+
</tr>
|
|
446
|
+
<tr>
|
|
447
|
+
<td><a href="$.db.PreparedStatement.html">PreparedStatement</a></td>
|
|
448
|
+
<td class="oblique">$.db</td>
|
|
449
|
+
</tr>
|
|
450
|
+
<tr>
|
|
451
|
+
<td><a href="$.hdb.ProcedureResult.html">ProcedureResult</a></td>
|
|
452
|
+
<td class="oblique">$.hdb</td>
|
|
453
|
+
</tr>
|
|
454
|
+
<tr>
|
|
455
|
+
<td><a href="$.net.http.Request.html">Request</a></td>
|
|
456
|
+
<td class="oblique">$.net.http</td>
|
|
457
|
+
</tr>
|
|
458
|
+
<tr>
|
|
459
|
+
<td><a href="$.db.ResultSet.html">ResultSet</a></td>
|
|
460
|
+
<td class="oblique">$.db</td>
|
|
461
|
+
</tr>
|
|
462
|
+
<tr>
|
|
463
|
+
<td><a href="$.hdb.ResultSet.html">ResultSet</a></td>
|
|
464
|
+
<td class="oblique">$.hdb</td>
|
|
465
|
+
</tr>
|
|
466
|
+
<tr>
|
|
467
|
+
<td><a href="$.hdb.ResultSetIterator.html">ResultSetIterator</a></td>
|
|
468
|
+
<td class="oblique">$.hdb</td>
|
|
469
|
+
</tr>
|
|
470
|
+
<tr>
|
|
471
|
+
<td><a href="$.db.ResultSetMetaData.html">ResultSetMetaData</a></td>
|
|
472
|
+
<td class="oblique">$.db</td>
|
|
473
|
+
</tr>
|
|
474
|
+
<tr>
|
|
475
|
+
<td><a href="$.hdb.ResultSetMetaData.html">ResultSetMetaData</a></td>
|
|
476
|
+
<td class="oblique">$.hdb</td>
|
|
477
|
+
</tr>
|
|
478
|
+
<tr>
|
|
479
|
+
<td><a href="$.util.SAXParser.html">SAXParser</a></td>
|
|
480
|
+
<td class="oblique">$.util</td>
|
|
481
|
+
</tr>
|
|
482
|
+
<tr>
|
|
483
|
+
<td><a href="$.Session.html">Session</a></td>
|
|
484
|
+
<td class="oblique">$</td>
|
|
485
|
+
</tr>
|
|
486
|
+
<tr>
|
|
487
|
+
<td><a href="$.text.analysis.Session.html">Session</a></td>
|
|
488
|
+
<td class="oblique">$.text.analysis</td>
|
|
489
|
+
</tr>
|
|
490
|
+
<tr>
|
|
491
|
+
<td><a href="$.text.mining.Session.html">Session</a></td>
|
|
492
|
+
<td class="oblique">$.text.mining</td>
|
|
493
|
+
</tr>
|
|
494
|
+
<tr>
|
|
495
|
+
<td><a href="$.net.SMTPConnection.html">SMTPConnection</a></td>
|
|
496
|
+
<td class="oblique">$.net</td>
|
|
497
|
+
</tr>
|
|
498
|
+
<tr>
|
|
499
|
+
<td><a href="$.db.SQLException.html">SQLException</a></td>
|
|
500
|
+
<td class="oblique">$.db</td>
|
|
501
|
+
</tr>
|
|
502
|
+
<tr>
|
|
503
|
+
<td><a href="$.hdb.SQLException.html">SQLException</a></td>
|
|
504
|
+
<td class="oblique">$.hdb</td>
|
|
505
|
+
</tr>
|
|
506
|
+
<tr>
|
|
507
|
+
<td><a href="$.security.Store.html">Store</a></td>
|
|
508
|
+
<td class="oblique">$.security</td>
|
|
509
|
+
</tr>
|
|
510
|
+
<tr>
|
|
511
|
+
<td><a href="$.web.TupelList.html">TupelList</a></td>
|
|
512
|
+
<td class="oblique">$.web</td>
|
|
513
|
+
</tr>
|
|
514
|
+
<tr>
|
|
515
|
+
<td><a href="$.web.WebEntityRequest.html">WebEntityRequest</a></td>
|
|
516
|
+
<td class="oblique">$.web</td>
|
|
517
|
+
</tr>
|
|
518
|
+
<tr>
|
|
519
|
+
<td><a href="$.web.WebEntityResponse.html">WebEntityResponse</a></td>
|
|
520
|
+
<td class="oblique">$.web</td>
|
|
521
|
+
</tr>
|
|
522
|
+
<tr>
|
|
523
|
+
<td><a href="$.web.WebRequest.html">WebRequest</a></td>
|
|
524
|
+
<td class="oblique">$.web</td>
|
|
525
|
+
</tr>
|
|
526
|
+
<tr>
|
|
527
|
+
<td><a href="$.web.WebResponse.html">WebResponse</a></td>
|
|
528
|
+
<td class="oblique">$.web</td>
|
|
529
|
+
</tr>
|
|
530
|
+
<tr>
|
|
531
|
+
<td><a href="$.util.Zip.html">Zip</a></td>
|
|
532
|
+
<td class="oblique">$.util</td>
|
|
533
|
+
</tr>
|
|
534
|
+
</table>
|
|
535
|
+
<h3>Namespaces</h3>
|
|
536
|
+
<ul>
|
|
537
|
+
<li><a href="$.html"><span class="oblique"></span>$</a></li>
|
|
538
|
+
<li><a href="$.db.html"><span class="oblique">$.</span>db</a></li>
|
|
539
|
+
<li><a href="$.hdb.html"><span class="oblique">$.</span>hdb</a></li>
|
|
540
|
+
<li><a href="$.jobs.html"><span class="oblique">$.</span>jobs</a></li>
|
|
541
|
+
<li><a href="$.net.html"><span class="oblique">$.</span>net</a></li>
|
|
542
|
+
<li><a href="$.net.http.html"><span class="oblique">$.net.</span>http</a></li>
|
|
543
|
+
<li><a href="$.security.html"><span class="oblique">$.</span>security</a></li>
|
|
544
|
+
<li><a href="$.security.crypto.html"><span class="oblique">$.security.</span>crypto</a></li>
|
|
545
|
+
<li><a href="$.security.x509.html"><span class="oblique">$.security.</span>x509</a></li>
|
|
546
|
+
<li><a href="$.text.html"><span class="oblique">$.</span>text</a></li>
|
|
547
|
+
<li><a href="$.text.analysis.html"><span class="oblique">$.text.</span>analysis</a></li>
|
|
548
|
+
<li><a href="$.text.mining.html"><span class="oblique">$.text.</span>mining</a></li>
|
|
549
|
+
<li><a href="$.trace.html"><span class="oblique">$.</span>trace</a></li>
|
|
550
|
+
<li><a href="$.util.html"><span class="oblique">$.</span>util</a></li>
|
|
551
|
+
<li><a href="$.util.codec.html"><span class="oblique">$.util.</span>codec</a></li>
|
|
552
|
+
<li><a href="$.util.compression.html"><span class="oblique">$.util.</span>compression</a></li>
|
|
553
|
+
<li><a href="$.util.sql.html"><span class="oblique">$.util.</span>sql</a></li>
|
|
554
|
+
<li><a href="$.web.html"><span class="oblique">$.</span>web</a></li>
|
|
555
|
+
</ul>
|
|
556
|
+
</nav>
|
|
557
|
+
<br clear="both">
|
|
558
|
+
<footer>
|
|
559
|
+
<a href="Copyright-SAP.html">Copyright</a>
|
|
560
|
+
&
|
|
561
|
+
<a href="Disclaimer-SAP.html">Disclaimer</a>
|
|
562
|
+
</footer>
|
|
563
|
+
<script>prettyPrint();</script>
|
|
564
|
+
<script src="scripts/linenumber.js"></script>
|
|
565
|
+
</body>
|
|
566
|
+
|
|
567
|
+
</html>
|