Class PushItemHeaderValue
- java.lang.Object
-
- org.apache.wicket.http2.markup.head.PushItemHeaderValue
-
public class PushItemHeaderValue extends Object
A push header to be applied when the resource is pushed- Author:
- Tobias Soloschenko
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PushItemHeaderValue.HeaderOperation
The header operation to be used
-
Constructor Summary
Constructors Constructor Description PushItemHeaderValue(String value, PushItemHeaderValue.HeaderOperation operation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PushItemHeaderValue.HeaderOperation
getOperation()
Gets the header operationString
getValue()
The value of the headervoid
setOperation(PushItemHeaderValue.HeaderOperation operation)
Sets the header operationvoid
setValue(String value)
Sets the value of the header
-
-
-
Constructor Detail
-
PushItemHeaderValue
public PushItemHeaderValue(String value, PushItemHeaderValue.HeaderOperation operation)
- Parameters:
value
- the value of the headeroperation
- the header operation
-
-
Method Detail
-
setValue
public void setValue(String value)
Sets the value of the header- Parameters:
value
- the value of the header
-
getOperation
public PushItemHeaderValue.HeaderOperation getOperation()
Gets the header operation- Returns:
- the header operation
-
setOperation
public void setOperation(PushItemHeaderValue.HeaderOperation operation)
Sets the header operation- Parameters:
operation
- the header operation
-
-