Child pages
  • OptionsRequest

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Hidden
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE


HTML Table
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#addHeader(headerName, value)
Add a header to the request.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Response
Table Cell (td)
#executeRequest([username], [password])
Execute the request method.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String[]
Table Cell (td)
#getAllowedMethods()
Returns the supported HTTP Request operations as a String Array

HTML Table
idfunction
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Method Details
Table Body (tbody)
idaddHeader
classnode
Table Row (tr)
idname
Table Cell (td)
addHeader
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Boolean
Span
stylefloat: left; font-weight: bold;
idiets
addHeader
Span
stylefloat: left;
idiets
(headerName, value)
Table Row (tr)
iddes
Table Cell (td)
Add a header to the request.
Table Row (tr)
idprs
Table Cell (td)
Parameters
headerName
value
Table Row (tr)
idret
Table Cell (td)
Returns
Boolean
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
method.addHeader('Content-type','text/xml; charset=ISO-8859-1')
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idexecuteRequest
classnode
Table Row (tr)
idname
Table Cell (td)
executeRequest
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Response
Span
stylefloat: left; font-weight: bold;
idiets
executeRequest
Span
stylefloat: left;
idiets
([username], [password])
Table Row (tr)
iddes
Table Cell (td)
Execute the request method.
Table Row (tr)
idprs
Table Cell (td)
Parameters
[username]
[password]
Table Row (tr)
idret
Table Cell (td)
Returns
Response
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var response = method.executeRequest()
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetAllowedMethods
classnode
Table Row (tr)
idname
Table Cell (td)
getAllowedMethods
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
String[]
Span
stylefloat: left; font-weight: bold;
idiets
getAllowedMethods
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Returns the supported HTTP Request operations as a String Array
Table Row (tr)
idret
Table Cell (td)
Returns
String[]
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var supportedOperations = request.getAllowedMethods()application.output(supportedOperations.join(',');
Table Row (tr)
classlastDetailRow
Table Cell (td)