com.atlassian.core.filters
Class StubEncodingFilter
java.lang.Object
com.atlassian.core.filters.AbstractHttpFilter
com.atlassian.core.filters.AbstractEncodingFilter
com.atlassian.core.filters.StubEncodingFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public class StubEncodingFilter
- extends AbstractEncodingFilter
|
Method Summary |
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse)
If you want to omit the filterChain, this class will substitute a no-op instance. |
protected java.lang.String |
getContentType()
|
protected java.lang.String |
getEncoding()
|
void |
setContentType(java.lang.String contentType)
|
void |
setEncoding(java.lang.String encoding)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StubEncodingFilter
public StubEncodingFilter()
getEncoding
protected java.lang.String getEncoding()
- Specified by:
getEncoding in class AbstractEncodingFilter
getContentType
protected java.lang.String getContentType()
- Specified by:
getContentType in class AbstractEncodingFilter
setEncoding
public void setEncoding(java.lang.String encoding)
setContentType
public void setContentType(java.lang.String contentType)
doFilter
public void doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse)
throws java.io.IOException,
javax.servlet.ServletException
- If you want to omit the filterChain, this class will substitute a no-op instance.
- Throws:
java.io.IOException
javax.servlet.ServletException
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.