Tabnine Logo
BufferedWebResponse.encodeURL
Code IndexAdd Tabnine to your IDE (free)

How to use
encodeURL
method
in
org.apache.wicket.protocol.http.BufferedWebResponse

Best Java code snippets using org.apache.wicket.protocol.http.BufferedWebResponse.encodeURL (Showing top 2 results out of 315)

origin: org.apache.wicket/com.springsource.org.apache.wicket

/**
 * Saves url to redirect to when buffered response is flushed. Implementations should encode the
 * URL to make sure cookie-less operation is supported in case clients forgot.
 * 
 * @param url
 *            The URL to redirect to
 */
public final void redirect(final String url)
{
  if (redirectURL != null)
  {
    throw new WicketRuntimeException("Already redirecting to '" + redirectURL +
        "'. Cannot redirect more than once");
  }
  // encode to make sure no caller forgot this
  this.redirectURL = encodeURL(url).toString();
}
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * Saves url to redirect to when buffered response is flushed. Implementations should encode the
 * URL to make sure cookie-less operation is supported in case clients forgot.
 * 
 * @param url
 *            The URL to redirect to
 */
@Override
public final void redirect(final String url)
{
  if (redirectURL != null)
  {
    throw new WicketRuntimeException("Already redirecting to '" + redirectURL +
      "'. Cannot redirect more than once");
  }
  // encode to make sure no caller forgot this
  redirectURL = encodeURL(url).toString();
}
org.apache.wicket.protocol.httpBufferedWebResponseencodeURL

Popular methods of BufferedWebResponse

  • <init>
    Construct.
  • filter
  • getText
    Returns the text already written to this response.
  • reset
  • write
  • writeMetaData
    transfer cookie operations (add, clear) to given web response
  • writeStream
  • writeTo
    Writes the content of the buffer to the specified response. Also sets the properties and and headers

Popular in Java

  • Updating database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onRequestPermissionsResult (Fragment)
  • getExternalFilesDir (Context)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Notification (javax.management)
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now