public String getTarget() { if (target == null) { String target = getRequestedTarget(); if (obfuscation && HDIVUtil.isObfuscatedTarget(target)) { // Restore state from request or memory IState state = restoreState(); if (state != null) { this.target = state.getAction(); redirect = this.target; context.setRedirectAction(redirect); } if (redirect == null) { throw new HDIVException(HDIVErrorCodes.INVALID_HDIV_PARAMETER_VALUE); } } if (this.target == null) { this.target = target; } } return target; }