Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Internet Protocols Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWHttpBasicAuthorizationHeader

Module:  Internet Protocols Module   Package:  HTTP


RWHttpBasicAuthorizationHeaderRWHttpAuthorizationHeaderBase ... ... RWHttpHeaderBase

Local Index

Members

Header File

#include <rw/http/RWHttpBasicAuthorizationHeader.h>

Description

RWHttpBasicAuthorizationHeader is a specialization class of RWHttpAuthorizationHeaderBase. It is a helper class that formats and encodes its contents as Authorization: basic header_value, where header_value is the username and password used for basic authentication.

Public Constructors

RWHttpBasicAuthorizationHeader();
RWHttpBasicAuthorizationHeader(const RWCString& username,
  const RWCString& password);
RWHttpBasicAuthorizationHeader(const RWHttpGenericHeader& hdr);

Public Member Functions

RWCString
getPassword() const;
RWCString
getUsername() const;
virtual RWCString
getValue() const;
void
setPassword(const RWCString& password);
void
setUsername(const RWCString& username);

Static Protected Member Functions

RWCString
decodeString(const RWCString& str);
RWCString
encodeString(const RWCString& str);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.