public class Http2PushMapping extends Object
Constructor and Description |
---|
Http2PushMapping()
Default constructor
|
Http2PushMapping(Http2PushMapping other)
Copy constructor
|
Http2PushMapping(JsonObject json)
Constructor from JSON
|
Http2PushMapping(String filePath,
String extensionTarget,
boolean noPush)
Constructor with params for Link preload
|
Modifier and Type | Method and Description |
---|---|
String |
getExtensionTarget() |
String |
getFilePath() |
boolean |
isNoPush() |
void |
setExtensionTarget(String extensionTarget) |
void |
setFilePath(String filePath) |
void |
setNoPush(boolean noPush) |
JsonObject |
toJson() |
public Http2PushMapping(Http2PushMapping other)
other
- the http2PushMapping to copypublic Http2PushMapping()
public Http2PushMapping(JsonObject json)
json
- the JSONpublic String getFilePath()
public void setFilePath(String filePath)
public String getExtensionTarget()
public void setExtensionTarget(String extensionTarget)
public boolean isNoPush()
public void setNoPush(boolean noPush)
public JsonObject toJson()
Copyright © 2022 Eclipse. All rights reserved.