Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| public class Asset { | |
| private AssetType type; | |
| @JsonTypeInfo( | |
| use = JsonTypeInfo.Id.NAME, | |
| include = JsonTypeInfo.As.EXTERNAL_PROPERTY, | |
| property = "type" | |
| ) | |
| @JsonSubTypes({ | |
| @JsonSubTypes.Type(value = ImageAssetProperties.class, name = "image"), |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000