eckit::Url class

Constructors, destructors, conversion operators

Url(std::istream&)
Url(const std::string&)
~Url()

Public functions

auto operator[](const std::string&) -> UrlAccess
void erase(const std::string&)
void set(const std::string&, const std::string&)
auto get(const std::string&) -> const std::string&
auto method() -> const std::string&
auto headerIn() -> HttpHeader&
auto headerOut() -> HttpHeader&
auto headerIn() const -> const HttpHeader&
auto headerOut() const -> const HttpHeader&
auto str() const -> std::string
auto name() const -> std::string
auto size() const -> int
auto operator[](int) const -> const std::string&
auto authenticated() -> bool
void authenticate(const std::string& realm = "MARS")
void status(int s, const std::string& message = "")
void type(const std::string& type)
void forward(const std::string& s)
void location(const std::string& s)
void retryAfter(long s)
void dontCache()
void cgiParam(std::ostream&, char sep = ' ') const
auto json() const -> eckit::Value
void remaining(const std::vector<std::string>& remaining)
auto remaining() const -> const std::vector<std::string>&
void streamFrom(DataHandle*, const std::string& type = "application/octet-stream")
auto streamFrom() -> DataHandle*
auto streamType() const -> const std::string&

Friends

auto operator<<(std::ostream& s, const Url& p) -> std::ostream&