Tabnine Logo
RequestContext.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.wicket.RequestContext
constructor

Best Java code snippets using org.apache.wicket.RequestContext.<init> (Showing top 4 results out of 315)

origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * @return The current threads request context, will make one if there wasn't one.
 */
public static final RequestContext get()
{
  RequestContext context = current.get();
  if (context == null)
  {
    context = new RequestContext();
  }
  return context;
}
origin: org.apache.wicket/com.springsource.org.apache.wicket

/**
 * @return The current threads request context, will make one if there wasn't one.
 */
public static final RequestContext get()
{
  RequestContext context = (RequestContext)current.get();
  if (context == null)
  {
    context = new RequestContext();
  }
  return context;
}
origin: org.ops4j.pax.wicket/pax-wicket-service

protected void createRequestContext(WebRequest request, WebResponse response)
{
  if (filterPortletContext == null ||
    !filterPortletContext.createPortletRequestContext(request, response))
  {
    new RequestContext();
  }
}
origin: org.apache.wicket/com.springsource.org.apache.wicket

protected void createRequestContext(WebRequest request, WebResponse response)
{
  if (filterPortletContext == null ||
    !filterPortletContext.createPortletRequestContext(request, response))
  {
    new RequestContext();
  }
}
org.apache.wicketRequestContext<init>

Javadoc

Construct.

Popular methods of RequestContext

  • get
  • isPortletRequest
  • encodeRenderURL
    Encodes URL's for render URLs, typically overridden by the portlet implementation.
  • encodeResourceURL
    Encodes URL's for resource targets, typically overridden by the portlet implementation.
  • encodeSharedResourceURL
    Encodes URL's for shared resource targets, typically overridden by the portlet implementation.
  • encodeMarkupId
    Encodes markup Ids, typically overridden by the portlet implementation.
  • getHeaderResponse
    Used to override response objects, typically used by the portlet implementation. In a Portlet envir
  • getNamespace
  • set
    Sets the RequestContext for the current threads active request.
  • unset
    Resets the RequestContext for the current threads active request.

Popular in Java

  • Start an intent from android
  • compareTo (BigDecimal)
  • getContentResolver (Context)
  • setRequestProperty (URLConnection)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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