package com.github.messenger4j.quickstart.boot;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * This is the main class for inbound and outbound communication with the Facebook Messenger Platform.
 * The callback handler is responsible for the webhook verification and processing of the inbound messages and events.
 * It showcases the features of the Messenger Platform.
 *
 * @author Max Grabenhorst
 */
@RestController
@RequestMapping("/callback")
public class MessengerPlatformCallbackHandler {

   
    @RequestMapping(method = RequestMethod.GET)
    public ResponseEntity<String> testeApp() {
    	return ResponseEntity.ok("Teste Ok OK");
    }
}

@@ -40,17 +40,19 @@
 rt.boot;
-%0A
+%0D%0A%0D
 %0Aimport 
@@ -91,16 +91,17 @@
 eEntity;
+%0D
 %0Aimport 
@@ -155,16 +155,17 @@
 Mapping;
+%0D
 %0Aimport 
@@ -218,16 +218,17 @@
 tMethod;
+%0D
 %0Aimport 
@@ -286,13 +286,16 @@
 ler;
-%0A
+%0D%0A%0D
 %0A/**
+%0D
 %0A * 
@@ -393,16 +393,17 @@
 latform.
+%0D
 %0A * The 
@@ -513,16 +513,17 @@
  events.
+%0D
 %0A * It s
@@ -570,19 +570,21 @@
 latform.
+%0D
 %0A *
+%0D
 %0A * @aut
@@ -606,12 +606,14 @@
 orst
+%0D
 %0A */
+%0D
 %0A@Re
@@ -624,16 +624,17 @@
 ntroller
+%0D
 %0A@Reques
@@ -654,16 +654,17 @@
 llback%22)
+%0D
 %0Apublic 
@@ -707,13 +707,16 @@
 er %7B
-%0A
+%0D%0A%0D
 %0A   
+%0D
 %0A   
@@ -759,16 +759,17 @@
 hod.GET)
+%0D
 %0A    pub
@@ -807,16 +807,17 @@
 eApp() %7B
+%0D
 %0A    %09re
@@ -855,16 +855,22 @@
 k OK
+ CI
 %22);
+%0D
 %0A    %7D
+%0D
 %0A%7D
+%0D
 %0A

teste CI