public class PushItemHeaderValue extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PushItemHeaderValue.HeaderOperation
The header operation to be used
|
Constructor and Description |
---|
PushItemHeaderValue(String value,
PushItemHeaderValue.HeaderOperation operation) |
Modifier and Type | Method and Description |
---|---|
PushItemHeaderValue.HeaderOperation |
getOperation()
Gets the header operation
|
String |
getValue()
The value of the header
|
void |
setOperation(PushItemHeaderValue.HeaderOperation operation)
Sets the header operation
|
void |
setValue(String value)
Sets the value of the header
|
public PushItemHeaderValue(String value, PushItemHeaderValue.HeaderOperation operation)
value
- the value of the headeroperation
- the header operationpublic String getValue()
public void setValue(String value)
value
- the value of the headerpublic PushItemHeaderValue.HeaderOperation getOperation()
public void setOperation(PushItemHeaderValue.HeaderOperation operation)
operation
- the header operationCopyright © 2006–2022 Apache Software Foundation. All rights reserved.