public class PutFilter extends Object implements Filter
| Modifier and Type | Field and Description |
|---|---|
static String |
__DELETE |
static String |
__MOVE |
static String |
__OPTIONS |
static String |
__PUT |
| Constructor and Description |
|---|
PutFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
doFilter(ServletRequest req,
ServletResponse res,
FilterChain chain) |
void |
handleDelete(HttpServletRequest request,
HttpServletResponse response,
String pathInContext,
File file) |
void |
handleMove(HttpServletRequest request,
HttpServletResponse response,
String pathInContext,
File file) |
void |
handleOptions(FilterChain chain,
HttpServletRequest request,
HttpServletResponse response) |
void |
handlePut(HttpServletRequest request,
HttpServletResponse response,
String pathInContext,
File file) |
void |
init(FilterConfig config) |
protected boolean |
passConditionalHeaders(HttpServletRequest request,
HttpServletResponse response,
File file) |
public static final String __PUT
public static final String __DELETE
public static final String __MOVE
public static final String __OPTIONS
public void init(FilterConfig config) throws ServletException
init in interface FilterServletExceptionpublic void doFilter(ServletRequest req, ServletResponse res, FilterChain chain) throws IOException, ServletException
doFilter in interface FilterIOExceptionServletExceptionpublic void handlePut(HttpServletRequest request, HttpServletResponse response, String pathInContext, File file) throws ServletException, IOException
ServletExceptionIOExceptionpublic void handleDelete(HttpServletRequest request, HttpServletResponse response, String pathInContext, File file) throws ServletException, IOException
ServletExceptionIOExceptionpublic void handleMove(HttpServletRequest request, HttpServletResponse response, String pathInContext, File file) throws ServletException, IOException, URISyntaxException
public void handleOptions(FilterChain chain, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
IOExceptionServletExceptionprotected boolean passConditionalHeaders(HttpServletRequest request, HttpServletResponse response, File file) throws IOException
IOExceptionCopyright © 1995-2015 Webtide. All Rights Reserved.