18#ifndef _DECAF_INTERNAL_NET_URITYPE_H_
19#define _DECAF_INTERNAL_NET_URITYPE_H_
36 std::string schemeSpecificPart;
37 std::string authority;
72 this->source = source;
88 this->scheme = scheme;
96 return schemeSpecificPart;
104 this->schemeSpecificPart = schemeSpecificPart;
120 this->authority = authority;
138 this->userinfo = userinfo;
218 this->fragment = fragment;
234 this->opaque = opaque;
250 this->absolute = absolute;
258 return serverAuthority;
266 this->serverAuthority = serverAuthority;
293 return this->hashCode;
303 this->hashCode = hashCode;
std::string getFragment() const
Gets the Fragment part of the URI.
Definition URIType.h:209
bool isServerAuthority() const
Gets if the URI is a Server Authority.
Definition URIType.h:257
bool isValid() const
Gets if the URI is valid, meaning that the source has been set and parsed and all relevant data field...
Definition URIType.h:274
std::string getSchemeSpecificPart() const
Gets the Scheme Specific Part of the URI.
Definition URIType.h:95
void setPort(int port)
Sets the port part of the URI.
Definition URIType.h:169
std::string getPath() const
Gets the Path part of the URI.
Definition URIType.h:177
void setSource(const std::string &source)
Sets the source URI string that was parsed to obtain this URIType instance and the resulting data,...
Definition URIType.h:71
void setServerAuthority(bool serverAuthority)
Sets if the URI is a Server Authority.
Definition URIType.h:265
void setSchemeSpecificPart(const std::string &schemeSpecificPart)
Sets the Scheme Specific Part of the URI.
Definition URIType.h:103
void setQuery(const std::string &query)
Sets the Query part of the URI.
Definition URIType.h:201
URIType(const std::string &source)
int getPort() const
Gets the port part of the URI.
Definition URIType.h:161
std::string getQuery() const
Gets the Query part of the URI.
Definition URIType.h:193
std::string getSource() const
Gets the source URI string that was parsed to obtain this URIType instance and the resulting data,...
Definition URIType.h:62
void setUserInfo(const std::string &userinfo)
Sets the user info part of the URI, e.g.
Definition URIType.h:137
int getHashCode() const
Gets the computed hashCode for this URIType or return -1 if non is set.
Definition URIType.h:292
void setValid(bool valid)
Sets if the URI is valid, meaning that the source has been set and parsed and all relevant data field...
Definition URIType.h:283
std::string getAuthority() const
Gets the Authority of the URI.
Definition URIType.h:111
void setHost(const std::string &host)
Sets the Host name part of the URI.
Definition URIType.h:153
std::string getUserInfo() const
Gets the user info part of the URI, e.g.
Definition URIType.h:128
bool isOpaque() const
Gets if the URI is Opaque.
Definition URIType.h:225
void setScheme(const std::string &scheme)
Sets the Scheme of the URI, e.g.
Definition URIType.h:87
std::string getHost() const
Gets the Host name part of the URI.
Definition URIType.h:145
void setHashCode(int hashCode)
Sets the hash code for this URIType instance.
Definition URIType.h:302
void setFragment(const std::string &fragment)
Sets the Fragment part of the URI.
Definition URIType.h:217
void setAbsolute(bool absolute)
Sets if the URI is Absolute.
Definition URIType.h:249
std::string getScheme() const
Gets the Scheme of the URI, e.g.
Definition URIType.h:79
bool isAbsolute() const
Gets if the URI is Absolute.
Definition URIType.h:241
void setOpaque(bool opaque)
Sets if the URI is Opaque.
Definition URIType.h:233
void setAuthority(const std::string &authority)
Sets the Authority of the URI.
Definition URIType.h:119
void setPath(const std::string &path)
Sets the Path part of the URI.
Definition URIType.h:185
#define DECAF_API
Definition Config.h:29
Definition DefaultServerSocketFactory.h:27
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25