Merge pull reqest #92 from DavidBiesack/master
* DavidBiesack-master: Minor fix in Javadoc for RequestMapping
This commit is contained in:
commit
5959de5d9e
|
@ -331,8 +331,13 @@ public @interface RequestMapping {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The consumable media types of the mapped request, narrowing the primary mapping.
|
* The consumable media types of the mapped request, narrowing the primary mapping.
|
||||||
* <p>The format is a sequence of media types ("text/plain", "application/*),
|
* <p>The format is a single media type or a sequence of media types,
|
||||||
* with a request only mapped if the {@code Content-Type} matches one of these media types.
|
* with a request only mapped if the {@code Content-Type} matches one of these media types.
|
||||||
|
* Examples:
|
||||||
|
* <pre>
|
||||||
|
* consumes = "text/plain"
|
||||||
|
* consumes = {"text/plain", "application/*"}
|
||||||
|
* </pre>
|
||||||
* Expressions can be negated by using the "!" operator, as in "!text/plain", which matches
|
* Expressions can be negated by using the "!" operator, as in "!text/plain", which matches
|
||||||
* all requests with a {@code Content-Type} other than "text/plain".
|
* all requests with a {@code Content-Type} other than "text/plain".
|
||||||
* <p><b>Supported at the type level as well as at the method level!</b>
|
* <p><b>Supported at the type level as well as at the method level!</b>
|
||||||
|
@ -345,8 +350,13 @@ public @interface RequestMapping {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The producible media types of the mapped request, narrowing the primary mapping.
|
* The producible media types of the mapped request, narrowing the primary mapping.
|
||||||
* <p>The format is a sequence of media types ("text/plain", "application/*),
|
* <p>The format is a single media type or a sequence of media types,
|
||||||
* with a request only mapped if the {@code Accept} matches one of these media types.
|
* with a request only mapped if the {@code Accept} matches one of these media types.
|
||||||
|
* Examples:
|
||||||
|
* <pre>
|
||||||
|
* produces = "text/plain"
|
||||||
|
* produces = {"text/plain", "application/*"}
|
||||||
|
* </pre>
|
||||||
* Expressions can be negated by using the "!" operator, as in "!text/plain", which matches
|
* Expressions can be negated by using the "!" operator, as in "!text/plain", which matches
|
||||||
* all requests with a {@code Accept} other than "text/plain".
|
* all requests with a {@code Accept} other than "text/plain".
|
||||||
* <p><b>Supported at the type level as well as at the method level!</b>
|
* <p><b>Supported at the type level as well as at the method level!</b>
|
||||||
|
|
Loading…
Reference in New Issue