NetworkInterface class getByName example. public static NetworkInterface getByName(String name) throws SocketException Searches for the network interface with the specified name.
HttpCookieclass HasExpired() method example. This example shows you how to use HasExpired() method.This method Reports whether this http cookie has expired or not.
NetworkInterface class getByInetAddress example. public static NetworkInterface getByInetAddress(InetAddress addr) throws SocketException Convenience method to search for a network interface that has the specified Internet Protocol (IP) address bound to it.
HttpCookieclass GetVersion() method example. This example shows you how to use GetVersion() method.This method Returns the version of the protocol this cookie complies with.
NetworkInterface class equals example. public boolean equals(Object obj) Compares this object against the specified object. The result is true if and only if the argument is not null and it represents the same NetworkInterface as this object.
HttpCookieclass GetSecure() method example. This example shows you how to use GetSecure() method.This method Returns true if the browser is sending cookies only over a secure protocol,
HttpCookieclass GetPortlist() method example. This example shows you how to use GetPortlist() method.This method Return the port list attribute of the cookie
HttpCookieclass GetPath() method example. This example shows you how to use GetPath() method.This method
Returns the path on the server to which the browser returns this cookie.
HttpCookieclass GetMaxAge() method example. This example shows you how to use GetMaxAge() method.This method Returns the maximum age of the cookie, specified in seconds
HttpCookieclass GetDomain() method example. This example shows you how to use GetDomain() method.This method Returns the domain name set for this cookie.
HttpCookieclass GetDiscard() method example. This example shows you how to use GetDiscard() method.This method Return the discard attribute of the cookie
HttpCookieclass GetCommentURL() method example. This example shows you how to use GetCommentURL() method.This method Returns the comment url describing the purpose of this cookie, or null if the cookie has no comment url.
HttpCookieclass GetComment() method example. This example shows you how to use GetComment() method.This method Returns the comment describing the purpose of this cookie, or null if the cookie has no comment.
URIclass ToASCIIString() method example. This example shows you how to use ToASCIIString() method.This method Returns the content of this URI as a US-ASCII string.
URIclass Resolve() method example. This example shows you how to use Resolve() method.This method Constructs a new URI by parsing the given string and then resolving it against this URI.
URIclass ParseServerAuthority() method example. This example shows you how to use ParseServerAuthority() method.This method Attempts to parse this URI's authority component, if defined, into user-information, host, and port components.
URIclass GetUserInfo() method example. This example shows you how to use GetUserInfo() method.This method
Returns the decoded user-information component of this URI.
URIclass GetSchemeSpecificPart() method example. This example shows you how to use GetSchemeSpecificPart() method.This methodReturns the decoded scheme-specific part of this URI.