LiJinHuan
2024-01-05 462188a2c982b0a8750dfe01692dfd898216bb0c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
global class PageReference {
    global PageReference(SObject sobject) { }
    global PageReference(String url) { }
    /**
     * The name of the anchor located on the page
     */
    global String getAnchor() { }
    /**
     * The rendered content for the page
     */
    global Blob getContent() { }
    /**
     * The rendered content for the page converted to PDF format
     */
    global Blob getContentAsPDF() { }
    /**
     * Get cookies
     */
    global Map<String,System.Cookie> getCookies() { }
    /**
     * The HTTP headers
     */
    global Map<String,String> getHeaders() { }
    /**
     * The query/form parameters
     */
    global Map<String,String> getParameters() { }
    /**
     * The next page to navigate to will be a redirect and the page state will be reset
     */
    global Boolean getRedirect() { }
    /**
     * When this PageReference is set up to redirect, the returned HTTP redirect code will be used
     */
    global Integer getRedirectCode() { }
    /**
     * The url of this page reference
     */
    global String getUrl() { }
    /**
     * The name of the anchor located on the page
     */
    global System.PageReference setAnchor(String anchor) { }
    /**
     * Set cookies
     */
    global void setCookies(List<System.Cookie> cookies) { }
    /**
     * The next page to navigate to will be a redirect and the page state will be reset
     */
    global System.PageReference setRedirect(Boolean redirect) { }
    /**
     * When this PageReference is set up to redirect, the provided HTTP redirect code will be used instead of a default redirection
     */
    global System.PageReference setRedirectCode(Integer redirectCode) { }
 
}