Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::net::http::HttpServletContext Class Reference

#include <HttpServletContext.h>

Public Member Functions

 HttpServletContext (Request &req, Response &resp, const IPAddress::Ptr &remote_address)
 
auto & getReq () const
 
auto & getResp () const
 
auto getRemoteAddress () const
 
io::InputStreamgetInputStream () const
 
io::OutputStreamgetOutputStream () const
 

Private Attributes

Requestreq
 
Responseresp
 
const IPAddress::Ptrremote_address
 

Constructor & Destructor Documentation

◆ HttpServletContext()

sese::net::http::HttpServletContext::HttpServletContext ( Request & req,
Response & resp,
const IPAddress::Ptr & remote_address )
inline

Member Function Documentation

◆ getInputStream()

io::InputStream * sese::net::http::HttpServletContext::getInputStream ( ) const
inlinenodiscard

◆ getOutputStream()

io::OutputStream * sese::net::http::HttpServletContext::getOutputStream ( ) const
inlinenodiscard

◆ getRemoteAddress()

auto sese::net::http::HttpServletContext::getRemoteAddress ( ) const
inlinenodiscard

References remote_address.

◆ getReq()

auto & sese::net::http::HttpServletContext::getReq ( ) const
inlinenodiscard

References req.

Referenced by sese::net::http::Servlet::invoke().

◆ getResp()

auto & sese::net::http::HttpServletContext::getResp ( ) const
inlinenodiscard

References resp.

Referenced by sese::net::http::Servlet::invoke().

Member Data Documentation

◆ remote_address

const IPAddress::Ptr& sese::net::http::HttpServletContext::remote_address
private

Referenced by getRemoteAddress().

◆ req

Request& sese::net::http::HttpServletContext::req
private

Referenced by getInputStream(), and getReq().

◆ resp

Response& sese::net::http::HttpServletContext::resp
private

Referenced by getOutputStream(), and getResp().


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