58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
return self;
}
- (void)dealloc
{
[URL release];
[headers release];
[postData release];
[MIMEType release];
[super dealloc];
}
- (void)setURL: (OFURL*)URL_
{
|
|
|
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
return self;
}
- (void)dealloc
{
[URL release];
[headers release];
[POSTData release];
[MIMEType release];
[super dealloc];
}
- (void)setURL: (OFURL*)URL_
{
|
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
}
- (OFDictionary*)headers
{
OF_GETTER(headers, YES)
}
- (void)setPostData: (OFDataArray*)postData_
{
OF_SETTER(postData, postData_, YES, 0)
}
- (OFDataArray*)postData
{
OF_GETTER(postData, YES)
}
- (void)setMIMEType: (OFString*)MIMEType_
{
OF_SETTER(MIMEType, MIMEType_, YES, 1)
}
|
|
|
|
|
|
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
}
- (OFDictionary*)headers
{
OF_GETTER(headers, YES)
}
- (void)setPOSTData: (OFDataArray*)POSTData_
{
OF_SETTER(POSTData, POSTData_, YES, 0)
}
- (OFDataArray*)POSTData
{
OF_GETTER(POSTData, YES)
}
- (void)setMIMEType: (OFString*)MIMEType_
{
OF_SETTER(MIMEType, MIMEType_, YES, 1)
}
|
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
|
- initWithStatusCode: (short)status
headers: (OFDictionary*)headers_
data: (OFDataArray*)data_
{
self = [super init];
statusCode = status;
data = [data_ retain];
headers = [headers_ copy];
return self;
}
- (void)dealloc
{
[data release];
[headers release];
[super dealloc];
}
- (short)statusCode
{
return statusCode;
|
<
>
|
|
|
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
|
- initWithStatusCode: (short)status
headers: (OFDictionary*)headers_
data: (OFDataArray*)data_
{
self = [super init];
statusCode = status;
headers = [headers_ copy];
data = [data_ retain];
return self;
}
- (void)dealloc
{
[headers release];
[data release];
[super dealloc];
}
- (short)statusCode
{
return statusCode;
|