|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@StableMinor(version="6.2", sinceVersion="6.2") public interface IWebsiteBaseURL
A website base URL. It defines the URLs by which a website is accessible.
A base URL contains domain, port and path.
For a URL to be considered as matching this base URL it must:
Website
Method Summary | |
---|---|
String |
getDomain()
Returns the domain of this website base URL. |
String |
getPath()
Returns the path part of this website base URL. |
int |
getPort()
Returns the port of this website base URL. |
IWebsite |
getWebsite()
Returns the website this base URL belongs to. |
boolean |
matches(HttpServletRequest request)
Returns whether a HttpServletRequest destination matches this
base URL. |
String |
toString()
Returns a string representation of this base URL. |
Method Detail |
---|
String getDomain()
my.site.com
int getPort()
String getPath()
null
.boolean matches(HttpServletRequest request)
HttpServletRequest
destination matches this
base URL.
The request is considered as matching this base URL if its destination corresponds to any resource inside it.
request
- the request.
true
if the request matches this base URL, false
otherwise.String toString()
The purpose of the returned string is for simple display of this base URL and may not be compatible to any format.
toString
in class Object
IWebsite getWebsite()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |