Package org.apache.http.cookie
Class CookieOrigin
java.lang.Object
org.apache.http.cookie.CookieOrigin
public final class CookieOrigin extends Object
CookieOrigin class incapsulates details of an origin server that
are relevant when parsing, validating or matching HTTP cookies.
- Since:
- 4.0
- Author:
- Oleg Kalnichevski
-
Constructor Summary
Constructors Constructor Description CookieOrigin(String host, int port, String path, boolean secure) -
Method Summary
-
Constructor Details
-
CookieOrigin
-
-
Method Details
-
getHost
-
getPath
-
getPort
public int getPort() -
isSecure
public boolean isSecure() -
toString
Description copied from class:ObjectReturns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toStringmethod if you intend implementing your owntoStringmethod.
-