@Header(value="Server") public final class Server extends HeaderString
A name for the server.
Server: Apache/2.4.1 (Unix)
Server = "Server" ":" 1*( product | comment )
Example:
Server: CERN/3.0 libwww/2.17
If the response is being forwarded through a proxy, the proxy application MUST NOT modify the Server response-header. Instead, it SHOULD include a Via field (as described in section 14.45).
Note: Revealing the specific software version of the server might allow the server machine to become more vulnerable to attacks against software that is known to contain security holes. Server implementors are encouraged to make this field a configurable option.
Modifier and Type | Method and Description |
---|---|
static Server |
forString(String value)
Returns a parsed
|
asString, eq, eqIC, toString
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.