activemq-cpp-3.9.0
decaf::internal::net::URLType Class Reference

Basic type object that holds data that composes a given URL. More...

#include <src/main/decaf/internal/net/URLType.h>

Public Member Functions

 URLType ()
 
virtual ~URLType ()
 
decaf::lang::String getFile () const
 Gets the File of the URL. More...
 
void setFile (const decaf::lang::String &file)
 Sets the File of the URL. More...
 
decaf::lang::String getProtocol () const
 Gets the protocol of the URL, e.g. More...
 
void setProtocol (const decaf::lang::String &protocol)
 Sets the protocol of the URL, e.g. More...
 
decaf::lang::String getAuthority () const
 Gets the Authority of the URL. More...
 
void setAuthority (const decaf::lang::String &authority)
 Sets the Authority of the URL. More...
 
decaf::lang::String getUserInfo () const
 Gets the user info part of the URL, e.g. More...
 
void setUserInfo (const decaf::lang::String &userInfo)
 Sets the user info part of the URL, e.g. More...
 
decaf::lang::String getHost () const
 Gets the Host name part of the URL. More...
 
void setHost (const decaf::lang::String &host)
 Sets the Host name part of the URL. More...
 
int getPort () const
 Gets the port part of the URL. More...
 
void setPort (int port)
 Sets the port part of the URL. More...
 
decaf::lang::String getPath () const
 Gets the Path part of the URL. More...
 
void setPath (const decaf::lang::String &path)
 Sets the Path part of the URL. More...
 
decaf::lang::String getQuery () const
 Gets the Query part of the URL. More...
 
void setQuery (const decaf::lang::String &query)
 Sets the Query part of the URL. More...
 
decaf::lang::String getRef () const
 Gets the Ref part of the URL. More...
 
void setRef (const decaf::lang::String &ref)
 Sets the Ref part of the URL. More...
 
int getHashCode () const
 Gets the computed hashCode for this URLType or return -1 if non is set. More...
 
void setHashCode (int hashCode)
 Sets the hash code for this URLType instance. More...
 

Detailed Description

Basic type object that holds data that composes a given URL.

Constructor & Destructor Documentation

decaf::internal::net::URLType::URLType ( )
virtual decaf::internal::net::URLType::~URLType ( )
virtual

Member Function Documentation

decaf::lang::String decaf::internal::net::URLType::getAuthority ( ) const
inline

Gets the Authority of the URL.

Returns
Authority part string.
decaf::lang::String decaf::internal::net::URLType::getFile ( ) const
inline

Gets the File of the URL.

Returns
File part string.
int decaf::internal::net::URLType::getHashCode ( ) const
inline

Gets the computed hashCode for this URLType or return -1 if non is set.

Returns
the hash code for this URLType instance or -1 if not set.
decaf::lang::String decaf::internal::net::URLType::getHost ( ) const
inline

Gets the Host name part of the URL.

Returns
Host name part string.
decaf::lang::String decaf::internal::net::URLType::getPath ( ) const
inline

Gets the Path part of the URL.

Returns
Path part string.
int decaf::internal::net::URLType::getPort ( ) const
inline

Gets the port part of the URL.

Returns
port part string, -1 if not set.
decaf::lang::String decaf::internal::net::URLType::getProtocol ( ) const
inline

Gets the protocol of the URL, e.g.

protocol ("http"/"ftp"/...).

Returns
protocol part string.
decaf::lang::String decaf::internal::net::URLType::getQuery ( ) const
inline

Gets the Query part of the URL.

Returns
Query part string.
decaf::lang::String decaf::internal::net::URLType::getRef ( ) const
inline

Gets the Ref part of the URL.

Returns
Ref part string.
decaf::lang::String decaf::internal::net::URLType::getUserInfo ( ) const
inline

Gets the user info part of the URL, e.g.

user name, as in http://user:passwd@host:port/

Returns
user info part string.
void decaf::internal::net::URLType::setAuthority ( const decaf::lang::String authority)
inline

Sets the Authority of the URL.

Parameters
authorityAuthority part string.
void decaf::internal::net::URLType::setFile ( const decaf::lang::String file)
inline

Sets the File of the URL.

Parameters
FileAuthority part string.
void decaf::internal::net::URLType::setHashCode ( int  hashCode)
inline

Sets the hash code for this URLType instance.

Parameters
hashCodeThe new hash code that's been computed for this URLType instance.
void decaf::internal::net::URLType::setHost ( const decaf::lang::String host)
inline

Sets the Host name part of the URL.

Parameters
host- Host name part string.
void decaf::internal::net::URLType::setPath ( const decaf::lang::String path)
inline

Sets the Path part of the URL.

Parameters
path- Path part string.
void decaf::internal::net::URLType::setPort ( int  port)
inline

Sets the port part of the URL.

Parameters
port- port part string, -1 if not set.
void decaf::internal::net::URLType::setProtocol ( const decaf::lang::String protocol)
inline

Sets the protocol of the URL, e.g.

protocol ("http"/"ftp"/...).

Parameters
protocol- protocol part string.
void decaf::internal::net::URLType::setQuery ( const decaf::lang::String query)
inline

Sets the Query part of the URL.

Parameters
query- Query part string.
void decaf::internal::net::URLType::setRef ( const decaf::lang::String ref)
inline

Sets the Ref part of the URL.

Parameters
ref- Ref part string.
void decaf::internal::net::URLType::setUserInfo ( const decaf::lang::String userInfo)
inline

Sets the user info part of the URL, e.g.

user name, as in http://user:passwd@host:port/

Parameters
userInfo- user info part string.

The documentation for this class was generated from the following file: