java.lang.Object |
↳ |
com.atlassian.johnson.filters.AbstractJohnsonFilter |
|
↳ |
com.atlassian.jira.web.filters.johnson.JiraJohnsonFilter |
Class Overview
Enhances the base JohnsonFilter
with awareness of the startup page.
Summary
[Expand]
Inherited Constants |
From class
com.atlassian.johnson.filters.AbstractJohnsonFilter
String |
TEXT_XML_UTF8_CONTENT_TYPE |
|
|
[Expand]
Inherited Fields |
From class
com.atlassian.johnson.filters.AbstractJohnsonFilter
protected
JohnsonConfig |
config |
|
protected
FilterConfig |
filterConfig |
|
|
Protected Methods |
void
|
handleError(JohnsonEventContainer container, HttpServletRequest request, HttpServletResponse response)
|
void
|
handleNotSetup(HttpServletRequest request, HttpServletResponse response)
|
[Expand]
Inherited Methods |
From class
com.atlassian.johnson.filters.AbstractJohnsonFilter
void
|
destroy()
|
void
|
doFilter(ServletRequest arg0, ServletResponse arg1, FilterChain arg2)
|
JohnsonEventContainer
|
getContainerAndRunEventChecks(HttpServletRequest arg0)
|
static
String
|
getServletPath(HttpServletRequest arg0)
|
String
|
getStringForEvents(Collection<Event> arg0)
|
abstract
void
|
handleError(JohnsonEventContainer arg0, HttpServletRequest arg1, HttpServletResponse arg2)
|
abstract
void
|
handleNotSetup(HttpServletRequest arg0, HttpServletResponse arg1)
|
boolean
|
ignoreURI(String arg0)
|
void
|
init(FilterConfig arg0)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
javax.servlet.Filter
void
|
destroy()
|
void
|
doFilter(ServletRequest arg0, ServletResponse arg1, FilterChain arg2)
|
void
|
init(FilterConfig arg0)
|
|
Public Constructors
public
JiraJohnsonFilter
()
Public Methods
public
void
doFilter
(ServletRequest request, ServletResponse response, FilterChain filterChain)
public
static
String
getServletPathFromRequest
(HttpServletRequest request)
Re-publishes getServletPath(HttpServletRequest)
with public
access.
In its infinite wisdom, AbstractJohnsonFilter restricts this extraordinarily useful method to
protected
scope. This is the wrong place for that useful code to live, but the other choice
is to copy-and-paste the code.
Parameters
request
| the servlet request from which to extract the servlet path |
Returns
- the servlet path, which is the application context-scoped part of the URL. In other words, for
http://localhost:8090/jira/secure/foo.jsp
, the result is /secure/foo.jsp
.
Protected Methods
protected
void
handleError
(JohnsonEventContainer container, HttpServletRequest request, HttpServletResponse response)
protected
void
handleNotSetup
(HttpServletRequest request, HttpServletResponse response)