Created
          July 30, 2019 22:52 
        
      - 
      
- 
        Save omeuerodrigofreitas/59f836f5ce725972a921138a7312ffc4 to your computer and use it in GitHub Desktop. 
    Nossa classe HelloWordResource alterada
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package br.com.rodrigofreitas.meuapp.resource; | |
| import javax.ws.rs.GET; | |
| import javax.ws.rs.Path; | |
| import javax.ws.rs.Produces; | |
| import javax.ws.rs.core.MediaType; | |
| @Path("/hello") | |
| public class HelloWordResource { | |
| @GET | |
| @Produces(MediaType.TEXT_PLAIN) | |
| public String hello() { | |
| return "Seja bem-vindo ao quarkus"; | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment