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

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • setScale (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Github Copilot alternatives
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