| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ExchangeAttribute | wrap(final ExchangeAttribute attribute)
Implements io.
|
| substitute | back to summary |
|---|---|
| private final String substitute | |
| SubstituteEmptyWrapper | back to summary |
|---|---|
| public SubstituteEmptyWrapper(String substitute) | |
| wrap | back to summary |
|---|---|
| public ExchangeAttribute wrap(final ExchangeAttribute attribute) Implements io.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ExchangeAttribute | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | readAttribute(HttpServerExchange
The exchange exchange)Implements io. Resolve the attribute from the HTTP server exchange. |
| public void | writeAttribute(HttpServerExchange
The exchange exchange, String The new value for the attribute newValue)Implements io. Sets a new value for the attribute. |
| attribute | back to summary |
|---|---|
| private final ExchangeAttribute attribute | |
| substitute | back to summary |
|---|---|
| private final String substitute | |
| SubstituteEmptyAttribute | back to summary |
|---|---|
| public SubstituteEmptyAttribute(ExchangeAttribute attribute, String substitute) | |
| readAttribute | back to summary |
|---|---|
| public String readAttribute(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.
| |
| writeAttribute | back to summary |
|---|---|
| public void writeAttribute(HttpServerExchange exchange, String newValue) throws ReadOnlyAttributeException Implements io. Doc from io. Sets a new value for the attribute. Not all attributes are writable.
| |