Introducción a los controladores con Spring Boot (GET)

Un controlador, aunque es más conocido con el termino controller (en inglés), es el encargado de responder a los eventos. Normalmente, estos eventos son acciones (más técnicamente son conocidas como peticiones) que usualmente son realizadas por el usuario, aunque también pueden ser peticiones más automatizadas como APIS, páginas front con Ajax, etc.

El controlador, en la vida real podría ser un recepcionista de un hotel que nos manda a un punto u otro, dependiendo de la petición (request) que le enviemos. Nos permite orquestar, es el encargado de recibir una petición que se envía a nuestro servidor por ejemplo el http://localhost:8888/ con la que anteriormente ya nos hemos peleado. Lo que estábamos haciendo hasta ahora, era lanzar una petición que no llegaba a ningún punto. Esto se produce, debido a que no teníamos un controlador que la pudiera capturar dicha petición. Por tanto, la request no tenía respuesta (response) y nos aparecía un error de página en blanco.

Entendiendo el funcionamiento de un controller

Si creamos un controlador, ya podremos responder a dicha ruta y por tanto, ya podremos mostrar un mensaje. En este caso en concreto, al realizar la petición por el navegador, devolveremos una vista.

En este artículo el objetivo es familiarizándonos y comunicándonos únicamente el controlador, aunque lo habitual sería que trabajar con el MVC del que hablaremos en próximos artículos.

Creando la estructura de paquetes (packages)

Vamos a crear un controlador, pero antes, tenemos que crear un package, que contenga dicho controlador. En la clase anterior, estuvimos hablando sobre que la anotación @SpringBootApplication sobre la que comentamos que es equivalente a tener 3 anotaciones. Una de ellas era @ComponentScan. Si no queremos tener que indicarle que escanee varios packages (lo cual suele ser la mejor idea), solemos meter toda la estructura de paquetes dentro del package “padre” que será el package donde tenemos el main.

C:.
├───main
│   ├───java
│   │   └───com
│   │       └───restfull
│   │           └───core
│   │               │   Javadesde0Application.java
│   │               │
│   │               └───controllers
│   │                       IndexController.java
│   │
│   └───resources
│       │   application.properties
│       │
│       ├───static
│       └───templates
└───test
    └───java
        └───com
            └───restfull
                └───core
                        Javadesde0ApplicationTests.java

Para ello, pulsamos botón derecho sobre el package que contiene el main. De esta forma, cuando vayamos a poner el nombre directamente nos saldrá el com.restfull.core y solo le tendremos que añadir un . y el nombre del package hijo. Sino, tendríamos que escribir el nombre completo del package.

Los controladores, los separaremos en un package llamado controllers. Ya que tenemos varios packages, vamos a organizados de manera que el propio nombre sea tan intuitivo, que nos indique lo que se almacena en su interior.

Ya tenemos el package creado lo que está vacío por eso el icono de la caja sale en blanco y no en marrón.

Si creamos una clase dentro del package, el icono se pondrá en marrón. Es la manera que tiene el IDE de diferenciar los package vacíos de los que contienen clases.

Le ponemos el nombre al controlador. En este caso, al encargarse de las rutas del index usaremos un nombre que lo identifique como Index y como Controlador. Por tanto, el nombre será IndexController

Creando nuestro primer controlador

Y escribimos en IndexController un controlador sencillo, que más abajo explicaremos. Como podría ser:

Analizando las anotaciones del @Controller de Spring Boot

Si analizamos lo anterior, tenemos:

  • package com.restfull.core.controllers: define el paquete donde está albergada la clase.
  • @Controller: define que la clase es un controlador. Es una especialización de @Component y se detecta automáticamente a través de la exploración de classpath.
  • @GetMapping(“/”): define la ruta que mapeará dicho elemento del controlador. En este caso, será escuchará a una petición de tipo GET, que apunta a http://localhost:8888/
  • @ResponseBody: la anotación @ResponseBody le dice a un controlador que el objeto devuelto se serialice automáticamente en JSON y se devuelve al objeto HttpResponse.

Verificando el funcionamiento del controllador

Si volvemos a arrancar el proyecto, y verificamos que no nos aparezca ningún error.

Y una vez nos aparezca la confirmación de que se ha inicializado el proyecto (started SpringBootApplication). Ya podemos realizar la petición, está vez, cuando hagamos la petición, en vez de que nos aparezca el error que hemos visto más arriba, nos devolverá el Hello World! Ya que ahora sí que tenemos la ruta http://localhost:8888/ orquestada mediante al controlador IndexController.

Y por tanto, el resultado será el esperado:

@RestController

Otra opción, con la que recibiremos el mismo resultado será el utilizarla la anotación @RestController en vez de @Controller. De esta manera, nos evitamos el tener que escribir la anotación @ResponseBody en carda ruta del controlador. Peor también tiene un inconveniente si solamente vamos a devolver cosas en formato en REST, esta forma es ideal. Por ejemplo para hacer APIs pero si vamos a devolver vistas, y datos en un JSON (REST), esto dejaría de tener sentido. Vamos a ver el ejemplo:

93 comentarios

  1. Great goods from you, man. I have understand your stuff
    previous to and you are just too magnificent. I actually like what
    you have acquired here, really like what you are stating and
    the way in which you say it. You make it entertaining and you still care for to keep it
    smart. I can’t wait to read much more from you.

    This is really a great website.

  2. Hi there! Do you know if they make any plugins to safeguard against hackers?
    I’m kinda paranoid about losing everything I’ve worked hard on.
    Any tips?

    Stop by my web page Wawza Apple Cider Gummies Reviews

  3. Hello just wanted to give you a quick heads up. The text in your article seem to be running
    off the screen in Firefox. I’m not sure if this is a formatting issue or something to
    do with web browser compatibility but I thought I’d post to let you know.
    The design look great though! Hope you get the issue fixed soon. Many thanks

    Feel free to surf to my web-site; http://networking.drbarbara.pl/

  4. Piece of writing writing is also a excitement, if you be familiar with
    then you can write if not it is complicated to write.

  5. I’m not sure where you’re getting your info, but great topic.
    I needs to spend some time learning more or understanding more.
    Thanks for magnificent info I was looking for this information for
    my mission.

  6. I do consider all the ideas you’ve introduced for your post.
    They’re very convincing and will definitely work. Nonetheless, the posts are
    too short for beginners. May you please prolong them a bit from next time?
    Thanks for the post.

  7. It’s enormous that you are getting thoughts from
    this piece of writing as well as from our discussion made here.

  8. Hello there, I discovered your website by the use of Google
    while looking for a related topic, your website got here up,
    it looks good. I’ve bookmarked it in my google bookmarks.

    Hi there, just changed into alert to your weblog via Google, and located that it’s
    really informative. I am gonna watch out for brussels. I’ll appreciate
    if you continue this in future. Numerous folks will likely be benefited
    from your writing. Cheers!

  9. Well I really liked studying it. This information provided
    by you is very useful for proper planning.

    Stop by my blog post … Aizen Power Review (cowon.mix-connexion.com)

  10. Heya this is kinda of off topic but I was wanting to know if
    blogs use WYSIWYG editors or if you have to manually code with HTML.
    I’m starting a blog soon but have no coding expertise
    so I wanted to get guidance from someone with experience.
    Any help would be enormously appreciated!

  11. Truly no matter if someone doesn’t understand
    then its up to other visitors that they will help, so here it occurs.

  12. Some really nice stuff on this site, I like it.

    Here is my website: Moscatcher Zapper (webboard.thaibaccarat.net)

  13. Hi there! I know this is kinda off topic but I was wondering if you knew where I
    could locate a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having difficulty finding one?
    Thanks a lot!

    my site; Eagle Hemp CBD

  14. You actually make it seem really easy with your presentation however I find this topic to be really one thing which I think I
    might never understand. It kind of feels too complicated
    and very broad for me. I’m having a look forward for your next submit, I’ll attempt to get the cling of it!

  15. I visited many blogs but the audio feature for audio songs existing at this
    website is truly superb.

    my webpage: Viking XL Keto BHB

  16. You made some decent points there. I checked on the net for additional information about the issue
    and found most people will go along with your views
    on this site.

    Visit my blog post; Erorectin Ingredients

  17. Thank you, I’ve recently been searching for information approximately this topic for ages
    and yours is the greatest I’ve found out till now. However, what in regards to the
    bottom line? Are you certain about the supply?

  18. Hello, of course this paragraph is really pleasant and
    I have learned lot of things from it on the topic of blogging.

    thanks.

  19. What’s up to every one, because I am in fact eager of
    reading this blog’s post to be updated on a
    regular basis. It carries fastidious stuff.

  20. My husband and i got cheerful that Michael could deal with his studies through your ideas he
    discovered when using the weblog. It’s not at all simplistic to simply continually be giving
    freely hints which usually most people have been selling.
    So we figure out we now have the website owner to give thanks to because of that.

    Those illustrations you’ve made, the simple web site navigation,
    the relationships your site make it easier to instill –
    it’s everything powerful, and it’s really facilitating
    our son in addition to our family feel that the subject is brilliant,
    which is certainly incredibly indispensable.
    Thanks for the whole thing!

    Review my homepage: http://www.hotelforrest.ru

  21. Today, I went to the beach with my kids. I found a sea shell and gave it to my 4 year old daughter and said
    “You can hear the ocean if you put this to your ear.” She placed the shell to
    her ear and screamed. There was a hermit crab inside and it pinched her ear.
    She never wants to go back! LoL I know this
    is totally off topic but I had to tell someone!

  22. Hello to every , as I am actually keen of reading this blog’s post to be updated on a regular basis.
    It contains nice material.

  23. I am really loving the theme/design of your weblog. Do you ever run into any web browser compatibility problems?
    A few of my blog readers have complained about my website not
    operating correctly in Explorer but looks great
    in Chrome. Do you have any advice to help fix this issue?

    Also visit my homepage; Primiene

  24. Wow, amazing blog layout! How long have you been blogging for?

    you made blogging look easy. The overall look of your web site is wonderful, as well as the content!

    Also visit my blog post; Brilliance Keto Review

  25. As soon as I observed this web site I went on reddit to share some of the love with
    them.

    My web page; Cogni360 Pills

  26. Only wanna comment on few general things, The website design and style is perfect,
    the written content is rattling good :D.

    Feel free to surf to my page … Testo Bull Reviews

  27. This website was… how do I say it? Relevant!!
    Finally I’ve found something which helped me. Many thanks!

    Look into my site – Clean Cut Keto Pills

  28. This post provides clear idea for the new viewers of blogging,
    that truly how to do running a blog.

  29. Hi there, I enjoy reading all of your post. I wanted to write a little comment to support you.

    Also visit my web page: Imarais Beauty Review

  30. I am forever thought about this, appreciate it
    for putting up.

    Also visit my blog; WifiLift Review

  31. I know this if off topic but I’m looking into starting my own weblog and was curious what all is
    needed to get set up? I’m assuming having a blog like yours would cost a pretty penny?
    I’m not very internet savvy so I’m not 100% positive. Any recommendations or advice would be greatly appreciated.
    Thank you

    Also visit my web page :: Max Ketosis Fuel

  32. I conceive you have remarked some very interesting points,
    appreciate it for the post.

    Also visit my site :: Gold Leaf CBD Gummies

  33. My brother recommended I might like this website. He was totally right.
    This post truly made my day. You can not imagine just how much time I had
    spent for this information! Thanks!

    Look at my website – Total Keto 365 Reviews

  34. Hey There. I discovered your weblog using msn. This is a very well written article.
    I will be sure to bookmark it and return to read more
    of your helpful information. Thank you for the post.

    I will definitely return.

  35. Hello very nice blog!! Guy .. Excellent .. Amazing ..
    I will bookmark your website and take the feeds also?
    I’m glad to seek out a lot of useful information right here within the put
    up, we’d like work out more strategies in this regard, thanks for sharing.
    . . . . .

    Also visit my webpage – Brilliance Keto Pills

  36. Some genuinely nice and utilitarian information on this internet site,
    besides I believe the design has got fantastic features.

    Here is my web page :: Keto Complete Review

  37. Hello there, I discovered your web site by means of Google
    while looking for a related matter, your web site came up,
    it appears good. I have bookmarked it in my google bookmarks.

    my blog post :: Keto LeanX Reviews

  38. This website is my breathing in, really great style and Perfect
    content material.

    my web page – Rapid Fire Keto

  39. I’d been honored to get a call coming from a friend immediately he observed the
    important tips shared on your site. Examining your blog article is
    a real brilliant experience. Thank you for considering readers just like me,
    and I want for you the best of achievements for a professional in this arena.

    My web-site – Testo Bull Capsules

  40. Superb post.Never knew this, thank you for letting me know.

    Have a look at my web-site; Cognitive IQ

  41. What’s up, after reading this amazing piece of writing i am also delighted to share my knowledge
    here with mates.

    my page; http://thaipurchase.com/

  42. This page truly has all the information and facts I
    needed concerning this subject and didn?t know who to ask.

    my blog; Green Flame CBD Review

  43. Everything is very open with a precise explanation of the challenges.
    It was really informative. Your website is extremely helpful.
    Many thanks for sharing!

    My web page … Keto Lean X

  44. Aw, this was an extremely nice post. Spending some time and actual effort to make a top notch article?

    but what can I say? I put things off a lot and
    don’t manage to get anything done.

    Also visit my site :: Rapid Fire Keto

  45. Aw, this was an exceptionally good post. Finding the time and actual effort to create a top notch article?

    but what can I say? I put things off a whole lot and don’t seem to get nearly anything
    done.

    Also visit my blog post … https://prettypeople.club

  46. Hmm it seems like your site ate my first comment (it was super long) so I guess
    I’ll just sum it up what I wrote and say, I’m thoroughly enjoying your
    blog. I as well am an aspiring blog writer but I’m still new to everything.
    Do you have any suggestions for rookie blog writers?
    I’d genuinely appreciate it.

    Here is my homepage; Hempizor CBD Oil, https://tanglewood.sh/,

  47. Do you mind if I quote a couple of your articles as long as I
    provide credit and sources back to your webpage? My blog is in the exact same area of
    interest as yours and my visitors would truly benefit from a lot of the information you present here.

    Please let me know if this okay with you.
    Thanks!

  48. Asking questions are in fact good thing if you are not understanding something totally, however
    this paragraph gives nice understanding even.

    Feel free to visit my web blog; Rapid Fire Keto Review

  49. Everyone loves what you guys tend to be up too.
    This sort of clever work and coverage! Keep up the
    fantastic works guys I’ve included you guys to
    our blogroll.

  50. I do believe all the concepts you have offered on your post.
    They are very convincing and can certainly work. Still, the posts are
    very quick for newbies. May just you please prolong them
    a little from subsequent time? Thank you for the post.

    Also visit my page; Testo Bull Reviews

  51. Hello every one, here every person is sharing these kinds of familiarity, therefore it’s
    fastidious to read this web site, and I used to pay a visit
    this blog all the time.

    Here is my webpage; Oracle Leaf Gold CBD

  52. whoah this weblog is magnificent i like reading your posts.

    Keep up the good work! You realize, a lot of individuals are looking around for this info, you can help them greatly.

    Feel free to surf to my web page: Ilok Air Portable AC

  53. It’s impressive that you are getting ideas from this article as well as from our dialogue made at this place.

    Here is my web-site – Clean Cut Keto Reviews

  54. Fantastic beat ! I wish to apprentice while you amend your site,
    how can i subscribe for a blog website? The account
    aided me a acceptable deal. I had been tiny bit acquainted of this your broadcast offered bright clear concept

  55. I have recently started a website, the info you provide on this website has
    helped me tremendously. Thanks for all of your time & work.

    Here is my page: Trim Tone Side Effects (https://conservadores.prosite.ws)

  56. I am regular visitor, how are you everybody? This piece of
    writing posted at this site is actually fastidious.

    Feel free to surf to my blog post; http://www.a913.vip

  57. Hello would you mind stating which blog platform you’re using?
    I’m planning to start my own blog in the near future but I’m having a
    difficult time deciding between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style seems different then most blogs and I’m looking for something unique.

    P.S Sorry for being off-topic but I had to ask!

    Feel free to visit my web blog; thaipurchase.com

  58. It’s awesome to visit this website and reading the views
    of all mates on the topic of this post,
    while I am also eager of getting experience.

    Also visit my homepage :: http://www.meteoritegarden.com

  59. We’re a group of volunteers and starting a new scheme in our community.
    Your site provided us with useful info to paintings on. You have
    done an impressive task and our entire community shall be grateful to you.

    Visit my blog: Vinyasa Anti Aging Cream

  60. Pretty nice post. I just stumbled upon your weblog and wished to say that I have
    really loved browsing your weblog posts. After all I’ll be subscribing on your rss feed and I
    hope you write once more very soon!

    Here is my blog … Rapid Fire Keto Pills

  61. This info is invaluable. When can I find out more?

    My web page: Dermal Pearle Ingredients

  62. I just could not go away your web site before suggesting that I actually loved the
    usual info a person provide for your guests? Is gonna be again steadily in order to inspect new posts

    Here is my website http://www.hltkd.tw

  63. Hello, i feel that i saw you visited my website so i got here
    to ?return the choose?.I am trying to in finding things to improve my web site!I
    guess its good enough to use a few of your ideas!!

    Also visit my website :: Tacoma Farms CBD Oil Price (http://www.meteoritegarden.com/userinfo.php?uid=2882199)

  64. Hello There. I found your weblog the use of msn. This is an extremely well written article.

    I will be sure to bookmark it and come back to learn more of your helpful
    info. Thank you for the post. I will certainly return.

  65. I really appreciate your work, Great post.

    My web site … VirgoFX Review

  66. My spouse and i still can’t quite believe that I
    could always be one of those reading the important suggestions found on this blog.
    My family and I are really thankful on your generosity and for giving me the advantage to pursue this chosen career path.
    Appreciate your sharing the important information I managed
    to get from your web site.

    Feel free to visit my web blog :: http://www.hltkd.tw

  67. Some genuinely interesting info, well written and generally user pleasant.

    Feel free to visit my site … Amellia Cream Reviews

  68. Hello there! This post couldn?t be written much better!
    Looking at this post reminds me of my previous roommate! He continually kept preaching about this.

    I most certainly will forward this information to him. Pretty sure he’s going to have a very
    good read. Many thanks for sharing!

    Also visit my webpage; Bailey

  69. Some truly nice stuff on this web site, I enjoy it.

    Stop by my web-site … Xoth CBD Gummies Reviews

  70. hello!,I really like your writing very a lot! percentage we be in contact extra about your article on AOL?
    I need an expert on this area to unravel my
    problem. Maybe that is you! Taking a look forward to peer you.

    Feel free to surf to my website; librarius.main.jp

  71. Definitely believe that which you said. Your favorite justification seemed to be on the internet the simplest
    thing to be aware of. I say to you, I certainly
    get annoyed while people think about worries that they just do not know about.
    You managed to hit the nail upon the top as well as defined out
    the whole thing without having side-effects , people could take a signal.
    Will probably be back to get more. Thanks

    my webpage :: Cognitive IQ Reviews

  72. I think you have observed some very interesting points, thank you for the post.

    Also visit my homepage … Brilliance Keto Pills

  73. Saved as a favorite, I really like your website!

  74. Hi mates, its wonderful post about cultureand completely explained, keep it up all the time.

    Stop by my website … WifiLift Reviews

  75. After looking into a number of the blog articles on your website, I seriously
    like your way of writing a blog. I bookmarked
    it to my bookmark website list and will be checking back soon. Please visit my website too and let me know your opinion.

    My site; Nigel

  76. I like the valuable information you provide in your articles.
    I’ll bookmark your weblog and check again here regularly.
    I’m quite sure I will learn plenty of new stuff right here!
    Best of luck for the next!

    my web site – https://rftitanforge.com/forums/index.php?action=profile&u=142152

  77. Of course, what a great site and informative posts, I surely
    will bookmark your website.Have an awsome day!

    Feel free to visit my web blog; WifiLift Wifi Extender

  78. I think the admin of this web site is really working hard in favor of his web page, for the reason that here every
    data is quality based stuff.

    Review my web blog :: librarius.main.jp

  79. Some really nice and useful information on this site, too I
    believe the pattern has superb features.

    My web-site … http://www.comptine.biz

  80. Some really interesting points you have written.Assisted me a lot,
    just what I was searching for :D.

    Here is my page; Infinity CBD Review

  81. Nice blog right here! Additionally your site quite a bit up very fast!

    What web host are you the usage of? Can I get your affiliate link in your host?
    I desire my website loaded up as quickly as yours
    lol

    Also visit my page: Total Keto 365 Side Effects#

  82. Hi! I’m at work browsing your blog from my new apple iphone!
    Just wanted to say I love reading your blog and look forward to
    all your posts! Keep up the fantastic work!

    Feel free to surf to my page :: Health Flow Male Enhancement Ingredients

  83. Hey just wanted to give you a quick heads up.
    The words in your post seem to be running off the screen in Ie.
    I’m not sure if this is a format issue or something to do with browser compatibility
    but I figured I’d post to let you know. The style and design look great though!
    Hope you get the issue fixed soon. Cheers

    Also visit my website: http://www.koan.at

  84. Wow, incredible blog layout! How long have you been blogging for?
    you make blogging look easy. The overall look of your web site is magnificent, as
    well as the content!

  85. hello there and thank you for your info – I’ve definitely picked up anything new from right here.
    I did however expertise some technical issues using this
    web site, since I experienced to reload the website many
    times previous to I could get it to load correctly. I had been wondering if your hosting is
    OK? Not that I am complaining, but slow loading instances times
    will sometimes affect your placement in google and could damage your high-quality score if advertising and marketing with Adwords.
    Well I’m adding this RSS to my e-mail and could look out for a lot
    more of your respective interesting content. Ensure that you update this again soon..

    Here is my web-site – True Keto 1800

  86. I know this if off topic but I’m looking into starting my own blog and was
    curious what all is needed to get setup? I’m assuming having a blog like yours would cost a pretty penny?
    I’m not very web savvy so I’m not 100% positive. Any recommendations or advice would be greatly appreciated.
    Thanks

    Look at my web page … Health Flow Male Enhancement Reviews

  87. Greetings! This is my first visit to your blog!
    We are a collection of volunteers and starting a new project
    in a community in the same niche. Your blog provided us beneficial information to work on. You have done a wonderful job!

    Stop by my web page :: Health Flow Pills Reviews

  88. I was wondering if you ever considered changing the layout of your blog?
    Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so
    people could connect with it better. Youve got an awful
    lot of text for only having 1 or 2 pictures.
    Maybe you could space it out better?

  89. I couldn’t refrain from commenting. Very well written!

    My web blog – Xoth CBD

  90. Hey There. I found your blog the usage of msn. This is
    a very smartly written article. I’ll make sure to bookmark
    it and come back to read extra of your helpful information. Thank you for
    the post. I will certainly return. cheap flights http://1704milesapart.tumblr.com/ cheap
    flights

  91. Aw, this was a very good post. Taking a few minutes
    and actual effort to generate a good article? but what can I say?
    I put things off a whole lot and never manage to get anything done.

    My website :: http://www.anapapansion.ru

  92. Right here is the right site for everyone who would like to understand this topic.
    You know a whole lot its almost hard to argue with you (not that I really would want to?HaHa).
    You certainly put a new spin on a topic that has been written about for a long
    time. Excellent stuff, just excellent!

    Also visit my homepage: Max Ketosis Fuel Keto

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

La Ley 34/2002 nos obliga a avisarte de que usamos cookies propias y de terceros con objetivos estadísticos y de sesión y para mostrarte la 'publi' que nos da de comer. Tranquilo, este mensaje solo sale una vez. Más información

Java desde 0 comunica a los usuarios, a través de este aviso, que puede utilizar cookies cuando el usuario navega por las diferentes pantallas y páginas del sitio. Durante el uso de nuestra página Web usted acepta y autoriza expresamente el uso de cookies, de acuerdo con nuestra Política de Privacidad. Este sitio web utiliza las siguientes cookies propias: - Cookies de sesión, para garantizar que los usuarios que escriban comentarios en el blog sean humanos y no aplicaciones automatizadas. De esta forma se combate el spam. Este sitio web utiliza las siguientes cookies de terceros: - Google AdManager y AdSense: Utiliza cookies para mejorar la publicidad. Entre otros fines, suelen utilizarse para segmentarla según el contenido que sea relevante para los usuarios o su ubicación, mejorar los informes de rendimiento de las campañas y evitar mostrar anuncios que los usuarios ya hayan visto. Las cookies no contienen información personal identificable. Consulta cómo utiliza Google la información de sitios web o aplicaciones. y cómo bloquear determinados anuncios. - Google Analytics: Almacena cookies para poder elaborar estadísticas sobre el tráfico y volumen de visitas de esta web. Al utilizar este sitio web está consintiendo el tratamiento de información acerca de usted por Google. Por tanto, el ejercicio de cualquier derecho en este sentido deberá hacerlo comunicando directamente con Google. - Redes sociales: Cada red social utiliza sus propias cookies para que usted pueda pinchar en botones del tipo Me gusta o Compartir.

Cerrar