~ubuntu-branches/ubuntu/quantal/aria2/quantal

« back to all changes in this revision

Viewing changes to src/HttpResponseCommand.h

  • Committer: Bazaar Package Importer
  • Author(s): Kartik Mistry
  • Date: 2010-11-24 12:26:31 UTC
  • mfrom: (1.6.1 upstream) (2.3.8 experimental)
  • Revision ID: james.westby@ubuntu.com-20101124122631-upujekj1ek94h3x2
Tags: 1.10.6-1
* New upstream release:
  + Fixed FTBFS on alpha arch (Closes: #590257)
  + Added IPv6 support (Closes: #448390)
* debian/patches/ftbfs_kfreebsd.diff:
  + Dropped, merged upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 * files in the program, then also delete it here.
33
33
 */
34
34
/* copyright --> */
35
 
#ifndef _D_HTTP_RESPONSE_COMMAND_H_
36
 
#define _D_HTTP_RESPONSE_COMMAND_H_
 
35
#ifndef D_HTTP_RESPONSE_COMMAND_H
 
36
#define D_HTTP_RESPONSE_COMMAND_H
37
37
 
38
38
#include "AbstractCommand.h"
39
 
#include "Decoder.h"
40
39
#include "TimeA2.h"
41
40
 
42
41
namespace aria2 {
45
44
class HttpDownloadCommand;
46
45
class HttpResponse;
47
46
class SocketCore;
 
47
class StreamFilter;
48
48
 
49
49
class HttpResponseCommand : public AbstractCommand {
50
50
private:
55
55
  bool skipResponseBody(const SharedHandle<HttpResponse>& httpResponse);
56
56
 
57
57
  HttpDownloadCommand*
58
 
  createHttpDownloadCommand(const SharedHandle<HttpResponse>& httpResponse,
59
 
                            const SharedHandle<Decoder>& transferEncodingDecoder
60
 
                            = SharedHandle<Decoder>(),
61
 
                            const SharedHandle<Decoder>& contentEncodingDecoder
62
 
                            = SharedHandle<Decoder>());
 
58
  createHttpDownloadCommand
 
59
  (const SharedHandle<HttpResponse>& httpResponse,
 
60
   const SharedHandle<StreamFilter>& streamFilter);
63
61
 
64
62
  void updateLastModifiedTime(const Time& lastModified);
65
63
 
85
83
 
86
84
} // namespace aria2
87
85
 
88
 
#endif // _D_HTTP_RESPONSE_COMMAND_H_
 
86
#endif // D_HTTP_RESPONSE_COMMAND_H