Sha256: 50252c02090857453db8330a6c5e287150d18f7c200d480095f2aebb843dc629
Contents?: true
Size: 952 Bytes
Versions: 1
Compression:
Stored size: 952 Bytes
Contents
require 'CGI' class Buby # This class is used to hold details about an HTTP cookie. Implements the # +burp.ICookie+ interface # class Cookie < CGI::Cookie # This method is used to retrieve the domain for which the cookie is in # scope. # # @return [String] The domain for which the cookie is in scope. def getDomain @domain end # This method is used to retrieve the expiration time for the cookie. # # @return [java.util.Date] The expiration time for the cookie, or +nil+ if # none is set (i.e., for non-persistent session cookies). # def getExpiration; @expires; end # This method is used to retrieve the name of the cookie. # # @return [String] The name of the cookie. # def getName; @name; end # This method is used to retrieve the value of the cookie. # # @return [String] The value of the cookie. # def getValue; join("&"); end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
buby-1.5.0.pre1-java | lib/buby/cookie.rb |