AWSXMLResponseSerializer

Objective-C

@interface AWSXMLResponseSerializer : NSObject <AWSHTTPURLResponseSerializer>

@property (nonatomic, assign) Class outputClass;

- (instancetype)initWithJSONDefinition:(NSDictionary *)JSONDefinition
                            actionName:(NSString *)actionName
                           outputClass:(Class)outputClass;

+ (NSMutableDictionary *)parseResponse:(NSHTTPURLResponse *)response
                                 rules:(AWSJSONDictionary *)rules
                        bodyDictionary:(NSMutableDictionary *)bodyDictionary
                                 error:(NSError *__autoreleasing *)error;
@end

Swift

class AWSXMLResponseSerializer : NSObject, AWSHTTPURLResponseSerializer

Undocumented

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) Class outputClass

    Swift

    var outputClass: AnyClass! { get set }
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithJSONDefinition:(NSDictionary *)JSONDefinition
                                actionName:(NSString *)actionName
                               outputClass:(Class)outputClass;

    Swift

    init!(jsonDefinition JSONDefinition: [AnyHashable : Any]!, actionName: String!, outputClass: AnyClass!)
  • Undocumented

    Declaration

    Objective-C

    + (NSMutableDictionary *)parseResponse:(NSHTTPURLResponse *)response
                                     rules:(AWSJSONDictionary *)rules
                            bodyDictionary:(NSMutableDictionary *)bodyDictionary
                                     error:(NSError *__autoreleasing *)error;

    Swift

    class func parseResponse(_ response: HTTPURLResponse!, rules: AWSJSONDictionary!, bodyDictionary: NSMutableDictionary!) throws -> NSMutableDictionary