2 * Copyright 2010-2017 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef _B_URL_RESULT_H_
6 #define _B_URL_RESULT_H_
9 #include <Archivable.h>
13 class BUrlResult
: public BArchivable
{
16 BUrlResult(BMessage
*);
17 virtual ~BUrlResult();
19 virtual status_t
Archive(BMessage
*, bool) const;
21 void SetContentType(BString contentType
);
22 void SetLength(size_t length
);
24 virtual BString
ContentType() const;
25 virtual size_t Length() const;
27 static BArchivable
* Instantiate(BMessage
*);