func1().func2() what is this technique called?

Viewed 96

In spring security I see functions connected by and() and .(dot). So what is this technique? I've read through it before. But now I forgot, can anyone tell me a name so I can learn about it?

http
  .authorizeRequests()
    .antMatchers("/", "/home").permitAll()
    .anyRequest().authenticated()
    .and()
  .formLogin()
    .loginPage("/login")
    .permitAll()
    .and()
  .logout()
    .permitAll();
1 Answers

That is a very vague description, but i think you are looking for the term method chaining.

Related