public class ForcedRedirectException extends RuntimeException
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_MENU_ITEM_ID |
| Constructor and Description |
|---|
ForcedRedirectException(String sSourceMenuItemID,
com.helger.commons.url.ISimpleURL aRedirectTargetURL,
Serializable aContent)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Serializable |
getContent() |
com.helger.commons.url.ISimpleURL |
getRedirectTargetURL() |
String |
getSourceMenuItemID() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String DEFAULT_MENU_ITEM_ID
public ForcedRedirectException(@Nonnull @Nonempty String sSourceMenuItemID, @Nonnull com.helger.commons.url.ISimpleURL aRedirectTargetURL, @Nullable Serializable aContent)
sSourceMenuItemID - The source menu item ID that triggered the PRG.aRedirectTargetURL - The redirect target URL. May not be null.aContent - The additional content to be displayed upon the next get. May be
null. Usually this is an IHCNode but this
class is not accessible from here!@Nonnull @Nonempty public String getSourceMenuItemID()
null.@Nonnull public com.helger.commons.url.ISimpleURL getRedirectTargetURL()
null.@Nullable public Serializable getContent()
null. Usually this is an IHCNode but this
class is not accessible from here!Copyright © 2017–2019 Philip Helger. All rights reserved.