Answers for "what is response entity in spring boot"

0

responseentity object

package com.zetcode;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class Application  {
    
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
Posted by: Guest on September-17-2020
0

responseentity object

package com.zetcode.model;

public class Country {
    
    private String name;
    private int population;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPopulation() {
        return population;
    }

    public void setPopulation(int population) {
        this.population = population;
    }
}
Posted by: Guest on September-17-2020

Code answers related to "what is response entity in spring boot"

Browse Popular Code Answers by Language