com.go.teaservlet
Interface ApplicationRequest

All Superinterfaces:
javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest

public interface ApplicationRequest
extends javax.servlet.http.HttpServletRequest

An ordinary HttpServletRequest, but with additional operations specific to the TeaServlet.

Version:
15 , 01/07/10
Author:
Brian S O'Neill

Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Method Summary
 java.lang.Object getIdentifier()
          Returns an object, whose instance uniquely identifies this request.
 TemplateLoader.Template getTemplate()
          Returns the template that is processing this request, or null if this request was not initiated by a template.
 TemplateLoader getTemplateLoader()
          Returns a TemplateLoader for selecting and executing templates.
 boolean isCompressionAccepted()
          Returns true if this request will accept a GZIP compressed response.
 
Methods inherited from interface javax.servlet.http.HttpServletRequest
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
 
Methods inherited from interface javax.servlet.ServletRequest
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
 

Method Detail

getTemplate

public TemplateLoader.Template getTemplate()
Returns the template that is processing this request, or null if this request was not initiated by a template.

getTemplateLoader

public TemplateLoader getTemplateLoader()
Returns a TemplateLoader for selecting and executing templates. If this ApplicationRequest was initiated by a template, then its TemplateLoader matches the one returned from this method.

getIdentifier

public java.lang.Object getIdentifier()
Returns an object, whose instance uniquely identifies this request.

isCompressionAccepted

public boolean isCompressionAccepted()
Returns true if this request will accept a GZIP compressed response.