plrequest
index
/home/geetham/sourceforge/icap_server/proxylet/plrequest.py

# -*- Mode: Python; tab-width: 4 -*-
#
#       Author: Geetha Manjunath < geetham@india.hp.com > 
#
# This file implements the Proxylet API for HTTP Request Object
#

 
Modules
            
StringIO
os
posixpath
re
stat
string
time

 
Classes
            
ProxyletRequest
HttpProxyletRequest

 
class HttpProxyletRequest(ProxyletRequest)
       
  
__init__(self, *args)
addHeader(self, headerName, value)
getContentLength(self)
getContentType(self)
getCookie(self)
getDestinationHost(self)
getDestinationPort(self)
getHeader(self, headerName)
getHeaderNames(self)
getMethod(self)
getPayloadInputStream(self) from ProxyletRequest
getPayloadOutputStream(self) from ProxyletRequest
getProtocol(self) from ProxyletRequest
getProtocolVersion(self) from ProxyletRequest
getRemoteAddr(self) from ProxyletRequest
getResponseOutputStream(self)
getURIPath(self)
get_header_match(head_reg, lines)
parseHeader(self, lines)
removeHeader(self, headerName)
setContentLength(self, len)
setContentType(self, ctype)
setDestinationHost(self, host) from ProxyletRequest
setDestinationPort(self, nport)
setHeader(self, headerName, value)
setURIPath(self, newUrl)

 
class ProxyletRequest
      ############## The request class ########################
 
  
__init__(self, icapRequest, encapReqData)
getContentLength(self)
getDestinationHost(self)
getDestinationPort(self)
getPayloadInputStream(self)
getPayloadOutputStream(self)
getProtocol(self)
getProtocolVersion(self)
getRemoteAddr(self)
setDestinationHost(self, host)
setDestinationPort(self, port)

 
Data
             RCS_ID = '$Id: plrequest.html,v 1.1 2002/05/30 06:28:29 geetham Exp $'
__file__ = '/home/geetham/sourceforge/icap_server/proxylet/plrequest.pyc'
__name__ = 'plrequest'
http_regex = <SRE_Pattern object>