toggle menu
sarif
jvm
switch theme
search in API
sarif
/
com.jetbrains.qodana.sarif.model
/
WebRequest
Web
Request
open
class
WebRequest
:
PropertyOwner
Describes an HTTP request.
Members
Constructors
Web
Request
Link copied to clipboard
constructor
(
)
Properties
body
Link copied to clipboard
@
SerializedName
(
value
=
"body"
)
@
Expose
open
var
body
:
ArtifactContent
Represents the contents of an artifact.
headers
Link copied to clipboard
@
SerializedName
(
value
=
"headers"
)
@
Expose
open
var
headers
:
Headers
The request headers.
index
Link copied to clipboard
@
SerializedName
(
value
=
"index"
)
@
Expose
open
var
index
:
Integer
The index within the run.webRequests array of the request object associated with this result.
method
Link copied to clipboard
@
SerializedName
(
value
=
"method"
)
@
Expose
open
var
method
:
String
The HTTP method.
parameters
Link copied to clipboard
@
SerializedName
(
value
=
"parameters"
)
@
Expose
open
var
parameters
:
Parameters
The request parameters.
properties
Link copied to clipboard
@
SerializedName
(
value
=
"properties"
)
@
Expose
open
var
properties
:
PropertyBag
Key/value pairs that provide additional information about the object.
protocol
Link copied to clipboard
@
SerializedName
(
value
=
"protocol"
)
@
Expose
open
var
protocol
:
String
The request protocol.
target
Link copied to clipboard
@
SerializedName
(
value
=
"target"
)
@
Expose
open
var
target
:
String
The target of the request.
version
Link copied to clipboard
@
SerializedName
(
value
=
"version"
)
@
Expose
open
var
version
:
String
The request version.
Functions
equals
Link copied to clipboard
open
fun
equals
(
other
:
Any
)
:
Boolean
get
Properties
Link copied to clipboard
abstract
fun
getProperties
(
)
:
PropertyBag
hash
Code
Link copied to clipboard
open
fun
hashCode
(
)
:
Int
set
Properties
Link copied to clipboard
abstract
fun
setProperties
(
<set-?>
:
PropertyBag
)
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
update
Properties
Link copied to clipboard
open
fun
updateProperties
(
mutator
:
(
in
PropertyBag
)
->
Unit
)
with
Body
Link copied to clipboard
open
fun
withBody
(
body
:
ArtifactContent
)
:
WebRequest
with
Headers
Link copied to clipboard
open
fun
withHeaders
(
headers
:
Headers
)
:
WebRequest
with
Index
Link copied to clipboard
open
fun
withIndex
(
index
:
Integer
)
:
WebRequest
with
Method
Link copied to clipboard
open
fun
withMethod
(
method
:
String
)
:
WebRequest
with
Parameters
Link copied to clipboard
open
fun
withParameters
(
parameters
:
Parameters
)
:
WebRequest
with
Properties
Link copied to clipboard
open
fun
withProperties
(
properties
:
PropertyBag
)
:
WebRequest
with
Protocol
Link copied to clipboard
open
fun
withProtocol
(
protocol
:
String
)
:
WebRequest
with
Target
Link copied to clipboard
open
fun
withTarget
(
target
:
String
)
:
WebRequest
with
Version
Link copied to clipboard
open
fun
withVersion
(
version
:
String
)
:
WebRequest