iPhoneからサーバーにデータを送信しています。コードは次のとおりです:Javaでgzipデータを受信および解凍する方法は?
ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:[NSURL URLWithString:url]];
[request setShouldCompressRequestBody:YES]; // gzip compression
[request setTimeOutSeconds:60];
[request setPostValue:emailString forKey:@"email"];
[request setPostValue:jsonStr forKey:@"jsonstring"];
[request setPostValue:pwd forKey:@"password"];
[request setDelegate:self];
[request startAsynchronous];
私のサーバーでこのデータを受け取ることはできますが、何の助けも見つけられませんでした。私はreq.getParameter()を使ってそれを受け取りますか? yesの場合は、パラメータ名とその解凍方法をemail、jsonstring、passwordパラメータで指定します。前もって感謝します。