Example usage for org.springframework.web.util UrlPathHelper setRemoveSemicolonContent

List of usage examples for org.springframework.web.util UrlPathHelper setRemoveSemicolonContent

Introduction

In this page you can find the example usage for org.springframework.web.util UrlPathHelper setRemoveSemicolonContent.

Prototype

public void setRemoveSemicolonContent(boolean removeSemicolonContent) 

Source Link

Document

Set if ";" (semicolon) content should be stripped from the request URI.

Usage

From source file:at.ac.univie.isc.asio.security.UriAuthenticationFilter.java

/**
 * Create the filter with default settings.
 *//*from ww w. j  a  v  a  2s. c  o  m*/
public static UriAuthenticationFilter create() {
    final UrlPathHelper pathHelper = new UrlPathHelper();
    pathHelper.setRemoveSemicolonContent(true);
    pathHelper.setUrlDecode(true);
    return new UriAuthenticationFilter(pathHelper);
}