Class: Buby::Cookie
- Includes:
- Java::Burp::ICookie
- Defined in:
- lib/buby/cookie.rb
Overview
This class is used to hold details about an HTTP cookie. Implements the burp.ICookie
interface
Instance Method Summary collapse
-
#getDomain ⇒ String
This method is used to retrieve the domain for which the cookie is in scope.
-
#getExpiration ⇒ java.util.Date
This method is used to retrieve the expiration time for the cookie.
-
#getName ⇒ String
This method is used to retrieve the name of the cookie.
-
#getValue ⇒ String
This method is used to retrieve the value of the cookie.
Instance Method Details
#getDomain ⇒ String
This method is used to retrieve the domain for which the cookie is in scope.
14 15 16 |
# File 'lib/buby/cookie.rb', line 14 def getDomain @domain end |
#getExpiration ⇒ java.util.Date
This method is used to retrieve the expiration time for the cookie.
23 |
# File 'lib/buby/cookie.rb', line 23 def getExpiration; @expires; end |
#getName ⇒ String
This method is used to retrieve the name of the cookie.
29 |
# File 'lib/buby/cookie.rb', line 29 def getName; @name; end |
#getValue ⇒ String
This method is used to retrieve the value of the cookie.
35 |
# File 'lib/buby/cookie.rb', line 35 def getValue; join("&"); end |