Foxit PDF SDK  9.1
com.foxit.sdk.PDFViewCtrl.HttpRequestProperties Class Reference

Public Member Functions

 HttpRequestProperties ()
 
void setRequestProperty (@NonNull String key, @NonNull String value)
 

Detailed Description

Class for customizing HTTP request properties.

Constructor & Destructor Documentation

◆ HttpRequestProperties()

com.foxit.sdk.PDFViewCtrl.HttpRequestProperties.HttpRequestProperties ( )

Simple constructor to use when creating a

object from code.

Member Function Documentation

◆ setRequestProperty()

void com.foxit.sdk.PDFViewCtrl.HttpRequestProperties.setRequestProperty ( @NonNull String  key,
@NonNull String  value 
)

Sets the general request property. If a property with the key already exists, overwrite its value with the new value.

Parameters
keythe keyword by which the request is known (e.g.,
Accept
).
valuethe value associated with it.
com.foxit.sdk.PDFViewCtrl.HttpRequestProperties.HttpRequestProperties
HttpRequestProperties()
Definition: PDFViewCtrl.java:4693