mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-21 02:41:04 +00:00
* GSWeb/GNUmakefile: use -Werror * GSWeb/GSWFileUpload.* added multiple file support * Testing/DynamicElements/FileUpload1Page.wo added multiple file support * GSWeb/* fixed warnings on Mountain Lion git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36200 72102866-910b-0410-8b05-ffd578937521
134 lines
4 KiB
Objective-C
134 lines
4 KiB
Objective-C
/** GSWDynamicURLString.h - <title>GSWeb: Class GSWDynamicURLString</title>
|
|
|
|
Copyright (C) 1999-2004 Free Software Foundation, Inc.
|
|
|
|
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
|
|
Date: Mar 1999
|
|
|
|
$Revision$
|
|
$Date$
|
|
|
|
This file is part of the GNUstep Web Library.
|
|
|
|
<license>
|
|
This library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Library General Public
|
|
License as published by the Free Software Foundation; either
|
|
version 2 of the License, or (at your option) any later version.
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Library General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Library General Public
|
|
License along with this library; if not, write to the Free
|
|
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
</license>
|
|
**/
|
|
|
|
// $Id$
|
|
|
|
#ifndef _GSWDynamicURLString_h__
|
|
#define _GSWDynamicURLString_h__
|
|
|
|
|
|
//====================================================================
|
|
@interface GSWDynamicURLString : NSMutableString <NSCoding,NSCopying/*,NSMutableString*/>
|
|
{
|
|
NSMutableString* _urlBeginning;
|
|
IMP _urlBeginningASImp;
|
|
NSMutableString* _url;
|
|
IMP _urlASImp;
|
|
|
|
NSString* _protocol;//NDFN
|
|
NSString* _host;//NDFN
|
|
int _port;//NDFN
|
|
NSString* _prefix;
|
|
NSString* _applicationName;
|
|
NSString* _applicationNumberString;
|
|
NSString* _requestHandlerKey;
|
|
NSString* _queryString;
|
|
NSString* _requestHandlerPath;
|
|
int _applicationNumber;
|
|
struct {
|
|
unsigned int beginningComposed:1;
|
|
unsigned int composed:1;
|
|
unsigned int unused:30;
|
|
} _flags;
|
|
};
|
|
|
|
-(id)init;
|
|
-(id)initWithCharactersNoCopy:(unichar*)chars
|
|
length:(NSUInteger)length
|
|
freeWhenDone:(BOOL)flag;
|
|
-(id)initWithCharacters:(const unichar*)chars
|
|
length:(NSUInteger)length;
|
|
//-(id)initWithCStringNoCopy:(char*)byteString
|
|
// length:(NSUInteger)length
|
|
// freeWhenDone:(BOOL)flag;
|
|
//-(id)initWithCString:(const char*)byteString
|
|
// length:(NSUInteger)length;
|
|
-(id)initWithCString:(const char*)byteString;
|
|
-(id)initWithString:(NSString*)string;
|
|
-(id)initWithFormat:(NSString*)format,...;
|
|
-(id)initWithFormat:(NSString*)format
|
|
arguments:(va_list)argList;
|
|
-(id)initWithData:(NSData*)data
|
|
encoding:(NSStringEncoding)encoding;
|
|
-(id)initWithContentsOfFile:(NSString*)path;
|
|
-(void)dealloc;
|
|
|
|
-(id)initWithCoder:(NSCoder*)coder;
|
|
-(void)encodeWithCoder:(NSCoder*)coder;
|
|
|
|
-(id)copyWithZone:(NSZone*)zone;
|
|
|
|
-(NSString*)description;
|
|
-(void)forwardInvocation:(NSInvocation*)invocation;
|
|
-(NSMethodSignature*)methodSignatureForSelector:(SEL)selector;
|
|
|
|
-(void)_compose;
|
|
-(void)_parse;
|
|
|
|
-(NSString*)urlRequestHandlerPath;
|
|
// 5.0 also in 4.5?
|
|
-(NSString*)requestHandlerPath;
|
|
|
|
-(NSString*)urlQueryString;
|
|
-(NSString*)queryString;
|
|
|
|
-(NSString*)urlRequestHandlerKey;
|
|
-(int)urlApplicationNumber;
|
|
|
|
- (NSString*) applicationNumber;
|
|
- (void) setApplicationNumber: (NSString*) newNr;
|
|
|
|
-(NSString*)urlApplicationName;
|
|
-(NSString*)urlPrefix;
|
|
-(NSString*)urlProtocol;//NDFN
|
|
-(NSString*)urlHost;//NDFN
|
|
-(NSString*)urlPortString;//NDFN
|
|
-(int)urlPort;//NDFN
|
|
-(NSString*)urlProtocolHostPort;//NDFN
|
|
|
|
-(void)setURLRequestHandlerPath:(NSString*)aString;
|
|
// 5.0 also in 4.5?
|
|
-(void)setRequestHandlerPath:(NSString*)aString;
|
|
|
|
-(void)setURLQueryString:(NSString*)aString;
|
|
-(void)setQueryString:(NSString*)aString;
|
|
|
|
-(void)setURLRequestHandlerKey:(NSString*)aString;
|
|
-(void)setRequestHandlerKey:(NSString*)aString;
|
|
|
|
-(void)setURLApplicationNumber:(int)applicationNumber;
|
|
-(void)setURLApplicationName:(NSString*)aString;
|
|
-(void)setURLPrefix:(NSString*)aString;
|
|
-(void)setURLProtocol:(NSString*)aString;//NDFN
|
|
-(void)setURLHost:(NSString*)aString;//NDFN
|
|
-(void)setURLPortString:(NSString*)aString;//NDFN
|
|
-(void)setURLPort:(int)port_;//NDFN
|
|
@end
|
|
|
|
#endif //_GSWDynamicURLString_h__
|