Question: What does following code snippet do: private TestRestTemplate template = new TestRestTemplate ( ) % % % % . . template . getForEntity ( createURL

What does following code snippet do: private TestRestTemplate template
=
new TestRestTemplate
(
)
%
%
%
%
.
.
template.getForEntity
(
createURL
(
"
/
welcome
"
)
,
String.class
)
Pick ONE option
It executes a get request for the given URI.
it creates a template which has yet not executed the request for the given URI
it executes a post request for the given URI

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!