Up

GSWeb: Class GSWRequest

Authors

Manuel Guesdon (mguesdon@orange-concept.com)

Version: 1.8

Date: 2004/01/09 11:34:39

Copyright: (C) 1999-2003 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the GSWRequest class
  2. Software documentation for the GSWValueQualityHeaderPart class
  3. Software documentation for the GSWRequest(Cookies) category
  4. Software documentation for the GSWRequest(GSWFormValueReporting) category
  5. Software documentation for the GSWRequest(GSWRequestA) category
  6. Software documentation for the GSWRequest(GSWRequestB) category
  7. Software documentation for the GSWRequest(GSWRequestF) category
  8. Software documentation for the GSWRequest(GSWRequestG) category
  9. Software documentation for the GSWRequest(GSWRequestH) category
  10. Software documentation for the GSWRequest(GSWRequestI) category
  11. Software documentation for the GSWRequest(GSWRequestJ) category
  12. Software documentation for the GSWRequest(GSWRequestK) category
  13. Software documentation for the GSWRequest(GSWRequestL) category
  14. Software documentation for the GSWRequest(GSWRequestTypeReporting) category
  15. Software documentation for the GSWRequest(GSWURIElementReporting) category

Software documentation for the GSWRequest class

GSWRequest : GSWMessage

Declared in:
Foundation/GSWRequest.h
Standards:

HTTP request class

Method summary

_context 

- (GSWContext*) _context;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_setContext: 

- (void) _setContext: (GSWContext*)context;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


browserAcceptedEncodings 

- (NSArray*) browserAcceptedEncodings;

Description forthcoming.


browserLanguages 

- (NSArray*) browserLanguages;

Description forthcoming.


description 

- (NSString*) description;

Description forthcoming.


isSecure 

- (BOOL) isSecure;

Description forthcoming.


method 

- (NSString*) method;

Description forthcoming.


referer 

- (NSString*) referer;

Description forthcoming.


remoteAddress 

- (NSString*) remoteAddress;

Description forthcoming.


remoteHost 

- (NSString*) remoteHost;

Description forthcoming.


requestHandlerPathArray 

- (NSArray*) requestHandlerPathArray;

Description forthcoming.


uri 

- (NSString*) uri;

Description forthcoming.


urlHost 

- (NSString*) urlHost;

Description forthcoming.


urlPort 

- (int) urlPort;

Description forthcoming.


urlPortString 

- (NSString*) urlPortString;

Description forthcoming.


urlProtocol 

- (NSString*) urlProtocol;

Description forthcoming.


urlProtocolHostPort 

- (NSString*) urlProtocolHostPort;

Description forthcoming.


userAgent 

- (NSString*) userAgent;

Description forthcoming.


Software documentation for the GSWValueQualityHeaderPart class

GSWValueQualityHeaderPart : NSObject

Declared in:
Foundation/GSWRequest.h
Standards:

A class to handle value and quality like for Accept-Language or Accept-Encoding Cf RFC 2616 (http://www.rfc-editor.org/rfc/rfc2616.txt)


Instance Variables

Method summary

valueQualityHeaderPartWithString: 

+ (GSWValueQualityHeaderPart*) valueQualityHeaderPartWithString: (NSString*)string;

Description forthcoming.


valueQualityHeaderPartWithValue: qualityString: 

+ (GSWValueQualityHeaderPart*) valueQualityHeaderPartWithValue: (NSString*)value qualityString: (NSString*)qualityString;

Description forthcoming.


valuesFromHeaderString: 

+ (NSArray*) valuesFromHeaderString: (NSString*)string;

Description forthcoming.


compareOnQualityDesc: 

- (int) compareOnQualityDesc: (GSWValueQualityHeaderPart*)qv;

Description forthcoming.


initWithString: 

- (id) initWithString: (NSString*)string;

Description forthcoming.


initWithValue: qualityString: 

- (id) initWithValue: (NSString*)value qualityString: (NSString*)qualityString;

Description forthcoming.


quality 

- (float) quality;

Description forthcoming.


value 

- (NSString*) value;

Description forthcoming.




Instance Variables for GSWValueQualityHeaderPart Class

_quality

@protected float _quality;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_value

@protected NSString* _value;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.





Software documentation for the GSWRequest(Cookies) category

GSWRequest(Cookies)

Declared in:
Foundation/GSWRequest.h
Standards:

Description forthcoming.

Method summary

_cookieDescription 

- (NSString*) _cookieDescription;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_initCookieDictionary 

- (NSDictionary*) _initCookieDictionary;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


cookieValueForKey: 

- (NSString*) cookieValueForKey: (NSString*)key;

Description forthcoming.


cookieValues 

- (NSDictionary*) cookieValues;

Description forthcoming.


cookieValuesForKey: 

- (NSArray*) cookieValuesForKey: (NSString*)key;

Description forthcoming.


setCookieFromHeaders 

- (void) setCookieFromHeaders;

Description forthcoming.


Software documentation for the GSWRequest(GSWFormValueReporting) category

GSWRequest(GSWFormValueReporting)

Declared in:
Foundation/GSWRequest.h
Standards:

Description forthcoming.

Method summary

appendFormValue: forKey: 

- (void) appendFormValue: (id)value forKey: (NSString*)key;

Description forthcoming.


appendFormValues: forKey: 

- (void) appendFormValues: (NSArray*)values forKey: (NSString*)key;

Description forthcoming.


dateFormValueForKey: withFormatter: 

- (NSCalendarDate*) dateFormValueForKey: (NSString*)key withFormatter: (NSDateFormatter*)formatter;

Description forthcoming.


defaultFormValueEncoding 

- (NSStringEncoding) defaultFormValueEncoding;

Description forthcoming.


formValueEncoding 

- (NSStringEncoding) formValueEncoding;

Description forthcoming.


formValueForKey: 

- (id) formValueForKey: (NSString*)key;

Description forthcoming.


formValueKeys 

- (NSArray*) formValueKeys;

Description forthcoming.


formValues 

- (NSDictionary*) formValues;

Description forthcoming.


formValuesForKey: 

- (NSArray*) formValuesForKey: (NSString*)key;

Description forthcoming.


isFormValueEncodingDetectionEnabled 

- (BOOL) isFormValueEncodingDetectionEnabled;

Description forthcoming.


numberFormValueForKey: withFormatter: 

- (NSNumber*) numberFormValueForKey: (NSString*)key withFormatter: (NSNumberFormatter*)formatter;

Description forthcoming.


setDefaultFormValueEncoding: 

- (void) setDefaultFormValueEncoding: (NSStringEncoding)encoding;

Description forthcoming.


setFormValueEncodingDetectionEnabled: 

- (void) setFormValueEncodingDetectionEnabled: (BOOL)flag;

Description forthcoming.


stringFormValueForKey: 

- (NSString*) stringFormValueForKey: (NSString*)key;

Description forthcoming.


Software documentation for the GSWRequest(GSWRequestA) category

GSWRequest(GSWRequestA)

Declared in:
Foundation/GSWRequest.h
Standards:

Description forthcoming.

Method summary

adaptorPrefix 

- (NSString*) adaptorPrefix;

Description forthcoming.


applicationName 

- (NSString*) applicationName;

Description forthcoming.


applicationNumber 

- (int) applicationNumber;

Description forthcoming.


requestHandlerKey 

- (NSString*) requestHandlerKey;

Description forthcoming.


requestHandlerPath 

- (NSString*) requestHandlerPath;

Description forthcoming.


sessionID 

- (NSString*) sessionID;

Description forthcoming.


sessionIDFromValuesOrCookieByLookingForCookieFirst: 

- (NSString*) sessionIDFromValuesOrCookieByLookingForCookieFirst: (BOOL)lookCookieFirst;

Description forthcoming.


Software documentation for the GSWRequest(GSWRequestB) category

GSWRequest(GSWRequestB)

Declared in:
Foundation/GSWRequest.h
Standards:

Description forthcoming.

Method summary

_contentType 

- (NSString*) _contentType;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_extractValuesFromFormData: withEncoding: 

- (NSDictionary*) _extractValuesFromFormData: (NSData*)formData withEncoding: (NSStringEncoding)encoding;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_formData 

- (NSData*) _formData;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_formValueEncodingFromFormData: 

- (NSStringEncoding) _formValueEncodingFromFormData: (NSData*)formData;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_urlQueryString 

- (NSString*) _urlQueryString;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


Software documentation for the GSWRequest(GSWRequestF) category

GSWRequest(GSWRequestF)

Declared in:
Foundation/GSWRequest.h
Standards:

Description forthcoming.

Method summary

_isUsingWebServer 

- (BOOL) _isUsingWebServer;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_setIsUsingWebServer: 

- (void) _setIsUsingWebServer: (BOOL)_flag;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


Software documentation for the GSWRequest(GSWRequestG) category

GSWRequest(GSWRequestG)

Declared in:
Foundation/GSWRequest.h
Standards:

Description forthcoming.

Method summary

_lookForIDsInCookiesFirst 

+ (BOOL) _lookForIDsInCookiesFirst;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_applicationURLPrefix 

- (GSWDynamicURLString*) _applicationURLPrefix;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_completeURLWithRequestHandlerKey: path: queryString: isSecure: port: 

- (id) _completeURLWithRequestHandlerKey: (NSString*)key path: (NSString*)path queryString: (NSString*)queryString isSecure: (BOOL)isSecure port: (int)port;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_formValues 

- (NSDictionary*) _formValues;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_getFormValuesFromURLEncoding 

- (void) _getFormValuesFromURLEncoding;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_hasFormValues 

- (BOOL) _hasFormValues;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_isSessionIDInCookies 

- (BOOL) _isSessionIDInCookies;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_isSessionIDInFormValues 

- (BOOL) _isSessionIDInFormValues;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_isSessionIDInRequest 

- (BOOL) _isSessionIDInRequest;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_urlWithRequestHandlerKey: path: queryString: 

- (GSWDynamicURLString*) _urlWithRequestHandlerKey: (NSString*)key path: (NSString*)path queryString: (NSString*)queryString;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_urlWithURLPrefix: requestHandlerKey: path: queryString: 

- (GSWDynamicURLString*) _urlWithURLPrefix: (NSString*)urlPrefix requestHandlerKey: (NSString*)key path: (NSString*)path queryString: (NSString*)queryString;

urlPrefix will prefix url (before the /GSWeb)
Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


Software documentation for the GSWRequest(GSWRequestH) category

GSWRequest(GSWRequestH)

Declared in:
Foundation/GSWRequest.h
Standards:

Description forthcoming.

Method summary

_decodeMultipartBody: boundary: 

- (NSArray*) _decodeMultipartBody: (NSData*)body boundary: (NSString*)boundary;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_getFormValuesFromMultipartFormData 

- (void) _getFormValuesFromMultipartFormData;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_parseData: 

- (NSArray*) _parseData: (NSData*)data;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


_parseOneHeader: 

- (NSDictionary*) _parseOneHeader: (NSString*)header;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


Software documentation for the GSWRequest(GSWRequestI) category

GSWRequest(GSWRequestI)

Declared in:
Foundation/GSWRequest.h
Standards:

Description forthcoming.

Method summary

nonNilFormValueForKey: 

- (id) nonNilFormValueForKey: (NSString*)key;

Description forthcoming.


Software documentation for the GSWRequest(GSWRequestJ) category

GSWRequest(GSWRequestJ)

Declared in:
Foundation/GSWRequest.h
Standards:

Description forthcoming.

Method summary

dictionaryWithKeys: 

- (id) dictionaryWithKeys: (id)unknown;

Description forthcoming.


formKeyWithSuffix: 

- (id) formKeyWithSuffix: (NSString*)suffix;

Description forthcoming.


selectedButtonName 

- (NSString*) selectedButtonName;

Description forthcoming.


valueFromImageMap: 

- (id) valueFromImageMap: (id)unknown;

Description forthcoming.


valueFromImageMapNamed: 

- (id) valueFromImageMapNamed: (NSString*)aName;

Description forthcoming.


valueFromImageMapNamed: inFramework: 

- (id) valueFromImageMapNamed: (NSString*)aName inFramework: (NSString*)aFramework;

Description forthcoming.


xCoord 

- (id) xCoord;

Description forthcoming.


yCoord 

- (id) yCoord;

Description forthcoming.


Software documentation for the GSWRequest(GSWRequestK) category

GSWRequest(GSWRequestK)

Declared in:
Foundation/GSWRequest.h
Standards:

Description forthcoming.

Method summary

_uriElements 

- (NSMutableDictionary*) _uriElements;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


applicationHost 

- (NSString*) applicationHost;

Description forthcoming.


contextID 

- (NSString*) contextID;

Description forthcoming.


pageName 

- (NSString*) pageName;

Description forthcoming.


senderID 

- (NSString*) senderID;

Description forthcoming.


uriOrFormOrCookiesElementForKey: byLookingForCookieFirst: 

- (id) uriOrFormOrCookiesElementForKey: (NSString*)key byLookingForCookieFirst: (BOOL)lookCookieFirst;

Description forthcoming.


uriOrFormOrCookiesElements 

- (NSMutableDictionary*) uriOrFormOrCookiesElements;

Description forthcoming.


uriOrFormOrCookiesElementsByLookingForCookieFirst: 

- (NSDictionary*) uriOrFormOrCookiesElementsByLookingForCookieFirst: (BOOL)lookCookieFirst;

Description forthcoming.


Software documentation for the GSWRequest(GSWRequestL) category

GSWRequest(GSWRequestL)

Declared in:
Foundation/GSWRequest.h
Standards:

Description forthcoming.

Method summary

_validateAPI 

- (void) _validateAPI;

Warning the underscore at the start of the name of this method indicates that it is private, for internal use only, and you should not use the method in your code.


Software documentation for the GSWRequest(GSWRequestTypeReporting) category

GSWRequest(GSWRequestTypeReporting)

Declared in:
Foundation/GSWRequest.h
Standards:

Description forthcoming.

Method summary

isFromClientComponent 

- (BOOL) isFromClientComponent;

Description forthcoming.


Software documentation for the GSWRequest(GSWURIElementReporting) category

GSWRequest(GSWURIElementReporting)

Declared in:
Foundation/GSWRequest.h
Standards:

Description forthcoming.

Method summary

uriElementForKey: 

- (NSString*) uriElementForKey: (NSString*)key;

Description forthcoming.


uriElementKeys 

- (NSArray*) uriElementKeys;

Description forthcoming.


uriElements 

- (NSDictionary*) uriElements;

Description forthcoming.



Up