You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
327 B
16 lines
327 B
package com.redhat.pctsec; |
|
|
|
import jakarta.ws.rs.GET; |
|
import jakarta.ws.rs.Path; |
|
import jakarta.ws.rs.Produces; |
|
import jakarta.ws.rs.core.MediaType; |
|
|
|
@Path("/hello") |
|
public class GreetingResource { |
|
|
|
@GET |
|
@Produces(MediaType.TEXT_PLAIN) |
|
public String hello() { |
|
return "Hello from RESTEasy Reactive"; |
|
} |
|
}
|
|
|