Header
@Deprecated @Documented @Target(value=PARAMETER) @Retention(value=RUNTIME) @Inherited public @interface Header
Modifier and Type | Optional Element and Description |
---|---|
String |
def
Deprecated.
The default value for this header if it's not present in the request.
|
String |
name
Deprecated.
HTTP header name.
|
Class<? extends HttpPartParser> |
parser
Deprecated.
Specifies the
HttpPartParser class used for parsing values from strings. |
String |
value
Deprecated.
A synonym for
name() . |
public abstract Class<? extends HttpPartParser> parser
HttpPartParser
class used for parsing values from strings.
The default value for this parser is inherited from the servlet/method which defaults to UonPartParser
.
You can use SimplePartParser
to parse POJOs that are directly convertible from Strings
.
Copyright © 2018 Apache. All rights reserved.