| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final ExchangeAttribute |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | readAttribute(final HttpServerExchange
The exchange exchange)Implements io. Resolve the attribute from the HTTP server exchange. |
| public String | |
| public void | writeAttribute(final HttpServerExchange
The exchange exchange, final String The new value for the attribute newValue)Implements io. Sets a new value for the attribute. |
| HOST_AND_PORT | back to summary |
|---|---|
| public static final String HOST_AND_PORT | |
| INSTANCE | back to summary |
|---|---|
| public static final ExchangeAttribute INSTANCE | |
| HostAndPortAttribute | back to summary |
|---|---|
| private HostAndPortAttribute() | |
| readAttribute | back to summary |
|---|---|
| public String readAttribute(final HttpServerExchange exchange) Implements io. Doc from io. Resolve the attribute from the HTTP server exchange. This may return null if the attribute is not present.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| writeAttribute | back to summary |
|---|---|
| public void writeAttribute(final HttpServerExchange exchange, final String newValue) throws ReadOnlyAttributeException Implements io. Doc from io. Sets a new value for the attribute. Not all attributes are writable.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ExchangeAttribute | build(final String
The string token token)Implements io. Build the attribute from a text based representation. |
| public String | name()
Implements io. The string representation of the attribute name. |
| public int | priority()
Implements io. The priority of the builder. |
| Builder | back to summary |
|---|---|
| public Builder() | |
| build | back to summary |
|---|---|
| public ExchangeAttribute build(final String token) Implements io. Doc from io. Build the attribute from a text based representation. If the attribute does not understand this representation then it will just return null.
| |
| name | back to summary |
|---|---|
| public String name() Implements io. Doc from io. The string representation of the attribute name. This is used solely for debugging / informational purposes | |
| priority | back to summary |
|---|---|
| public int priority() Implements io. Doc from io. The priority of the builder. Builders will be tried in priority builder. Built in builders use the priority range 0-100,
| |