Build 1.0_r1(from source)

org.apache.http.cookie
Class CookieOrigin

java.lang.Object
  extended by 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

Constructor Summary
CookieOrigin(String host, int port, String path, boolean secure)
           
 
Method Summary
 String getHost()
           
 String getPath()
           
 int getPort()
           
 boolean isSecure()
           
 String toString()
          Returns a string containing a concise, human-readable description of the receiver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CookieOrigin

public CookieOrigin(String host,
                    int port,
                    String path,
                    boolean secure)
Method Detail

getHost

public String getHost()

getPath

public String getPath()

getPort

public int getPort()

isSecure

public boolean isSecure()

toString

public String toString()
Description copied from class: Object
Returns a string containing a concise, human-readable description of the receiver.

Overrides:
toString in class Object
Returns:
String a printable representation for the receiver.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature