Class OpenShiftHttpRedirectWithPrompt
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.openshift.jenkins.plugins.openshiftlogin.OpenShiftHttpRedirectWithPrompt
- All Implemented Interfaces:
Serializable,org.kohsuke.stapler.HttpResponse
public class OpenShiftHttpRedirectWithPrompt
extends RuntimeException
implements org.kohsuke.stapler.HttpResponse
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.kohsuke.stapler.HttpResponseRedirect to the context rootstatic org.kohsuke.stapler.HttpRedirectRedirect to "." -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.kohsuke.stapler.HttpResponsefromContextPath(String relative) Deprecated.voidgenerateResponse(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, Object node) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kohsuke.stapler.HttpResponse
generateResponse
-
Field Details
-
DOT
public static org.kohsuke.stapler.HttpRedirect DOTRedirect to "." -
CONTEXT_ROOT
public static org.kohsuke.stapler.HttpResponse CONTEXT_ROOTRedirect to the context root
-
-
Constructor Details
-
OpenShiftHttpRedirectWithPrompt
-
OpenShiftHttpRedirectWithPrompt
-
-
Method Details
-
generateResponse
public void generateResponse(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, Object node) throws IOException, javax.servlet.ServletException - Specified by:
generateResponsein interfaceorg.kohsuke.stapler.HttpResponse- Throws:
IOExceptionjavax.servlet.ServletException
-
fromContextPath
Deprecated.UseHttpResponses.redirectViaContextPath(String).- Parameters:
relative- The path relative to the context path. The context path + this value is sent to the user.
-
HttpResponses.redirectViaContextPath(String).