public interface

ValueConstants

org.springframework.web.bind.annotation.ValueConstants

Class Overview

Common value constants shared between bind annotations.

Summary

Constants
String DEFAULT_NONE Constant defining a value for no default - as a replacement for null which we cannot use in annotation attributes.

Constants

public static final String DEFAULT_NONE

Constant defining a value for no default - as a replacement for null which we cannot use in annotation attributes.

This is an artificial arrangement of 16 unicode characters, with its sole purpose being to never match user-declared values.

See Also
  • RequestParam#defaultValue()
  • RequestHeader#defaultValue()
  • CookieValue#defaultValue()
Constant Value: "  "