Package org.zkoss.zk.ui.util
Class URIInfo
java.lang.Object
org.zkoss.zk.ui.util.URIInfo
Represents an URI and how to use the URI.
- Since:
- 3.6.3
- Author:
- tomyeh
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SEND_REDIRECT
public static final int SEND_REDIRECTRepresents send-redirect shall be used to access the URI (uri). It implies the URI can be anything, such as HTML, JSP, and ZUL, as long as it is a complete Web page.- See Also:
-
POPUP
public static final int POPUPRepresents popup shall be used to show the content of the URI (uri). It implies the content of the URI might be a fragment of HTML tags (rather than ZUL).- See Also:
-
uri
The URI. -
type
public final int typeHow to use the URI. It could be one ofSEND_REDIRECTorPOPUP.
-
-
Constructor Details
-
URIInfo
Constructor.- Parameters:
uri- the URI. (Notice that URI is not encoded with servlet context yet)type- how to use the URI. It could be one ofSEND_REDIRECTorPOPUP.
-
URIInfo
Constructor. It is equivalent to URIInfo(uri, SEND_REDIRECT).
-