Filterpublic class PutFilter extends java.lang.Object implements Filter
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
__DELETE |
|
static java.lang.String |
__MOVE |
|
static java.lang.String |
__OPTIONS |
|
static java.lang.String |
__PUT |
| Constructor | Description |
|---|---|
PutFilter() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
destroy() |
|
void |
doFilter(ServletRequest req,
ServletResponse res,
FilterChain chain) |
|
void |
handleDelete(HttpServletRequest request,
HttpServletResponse response,
java.lang.String pathInContext,
java.io.File file) |
|
void |
handleMove(HttpServletRequest request,
HttpServletResponse response,
java.lang.String pathInContext,
java.io.File file) |
|
void |
handleOptions(FilterChain chain,
HttpServletRequest request,
HttpServletResponse response) |
|
void |
handlePut(HttpServletRequest request,
HttpServletResponse response,
java.lang.String pathInContext,
java.io.File file) |
|
void |
init(FilterConfig config) |
|
protected boolean |
passConditionalHeaders(HttpServletRequest request,
HttpServletResponse response,
java.io.File file) |
public static final java.lang.String __PUT
public static final java.lang.String __DELETE
public static final java.lang.String __MOVE
public static final java.lang.String __OPTIONS
public void init(FilterConfig config) throws ServletException
init in interface FilterServletExceptionpublic void doFilter(ServletRequest req, ServletResponse res, FilterChain chain) throws java.io.IOException, ServletException
doFilter in interface Filterjava.io.IOExceptionServletExceptionpublic void handlePut(HttpServletRequest request, HttpServletResponse response, java.lang.String pathInContext, java.io.File file) throws ServletException, java.io.IOException
ServletExceptionjava.io.IOExceptionpublic void handleDelete(HttpServletRequest request, HttpServletResponse response, java.lang.String pathInContext, java.io.File file) throws ServletException, java.io.IOException
ServletExceptionjava.io.IOExceptionpublic void handleMove(HttpServletRequest request, HttpServletResponse response, java.lang.String pathInContext, java.io.File file) throws ServletException, java.io.IOException, java.net.URISyntaxException
ServletExceptionjava.io.IOExceptionjava.net.URISyntaxExceptionpublic void handleOptions(FilterChain chain, HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException
java.io.IOExceptionServletExceptionprotected boolean passConditionalHeaders(HttpServletRequest request, HttpServletResponse response, java.io.File file) throws java.io.IOException
java.io.IOExceptionCopyright © 1995–2018 Webtide. All rights reserved.