Example usage for javax.servlet.http HttpFilter interface-usage

List of usage examples for javax.servlet.http HttpFilter interface-usage

Introduction

In this page you can find the example usage for javax.servlet.http HttpFilter interface-usage.

Usage

From source file org.cryptomator.frontend.webdav.filters.MacChunkedPutCompatibilityFilter.java

/**
 * If a PUT request with chunked transfer encoding and a X-Expected-Entity-Length header field is sent,
 * the input stream will return EOF after the number of bytes stated in this header has been read.
 * 
 * This filter ensures compatibility of the Mac OS X WebDAV client, as Macs don't terminate chunked transfers normally (by sending a 0-byte-chunk).
 */

From source file org.cryptomator.frontend.webdav.filters.UriNormalizationFilter.java

/**
 * Normalizes all URIs contained in requests depending on the resource type of existing resources.
 * URIs identifying directories will always end on "/", URIs identifying files will not.
 * 
 * If the resource type is unknown, because the resource doesn't exist yet, this filter will determine the resource type based on the HTTP method,
 * e.g. a MKCOL request will result in a directory..

From source file org.cryptomator.frontend.webdav.servlet.UnicodeResourcePathNormalizationFilter.java

/**
 * Makes sure, all resource paths containing special unicode characters are composed of characters in {@link Form#NFC Normalization Form C}.
 * Multistatus responses will be transformed back to {@link Form#NFD NFD} for certain user agents known to expect it.
 */
public class UnicodeResourcePathNormalizationFilter implements HttpFilter {