org.apache.http.cookie
Class CookieOrigin
java.lang.Object
org.apache.http.cookie.CookieOrigin
@Contract(threading=IMMUTABLE)
public final class CookieOrigin
- extends Object
CookieOrigin class encapsulates details of an origin server that
are relevant when parsing, validating or matching HTTP cookies.
- Since:
- 4.0
CookieOrigin
public CookieOrigin(String host,
int port,
String path,
boolean secure)
getHost
public String getHost()
getPath
public String getPath()
getPort
public int getPort()
isSecure
public boolean isSecure()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1999–2019 The Apache Software Foundation. All rights reserved.