message = ''; $this->statusCode = Http::STATUS_OK; $this->server = $server; } /** * @param int $statusCode * @return self * @since 8.2.0 */ public function setStatusCode($statusCode) { $this->statusCode = (int)$statusCode; return $this; } /** * @param string $message * @return self * @since 8.2.0 */ public function setMessage($message) { $this->message = (string)$message; return $this; } /** * @return int * @since 8.2.0 */ public function getStatusCode() { return $this->statusCode; } /** * @return string * @since 8.2.0 */ public function getMessage() { return $this->message; } /** * @return null|Server * @since 9.0.0 */ public function getServer() { return $this->server; } } Vaadin 6, 7, 8 is a Java framework for modern Java web applications: https://github.com/vaadin/frameworkwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/server/AbstractExtension.java
blob: 31f90d9141fb0f7ad7072fe1a6ca7fb265cea2df (plain)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137