简体   繁体   中英

Accessing response using java in playframework

How to access Response object in Java?

I have gone through the documentation:

https://www.playframework.com/documentation/2.4.x/JavaResponse

But the problem with the above documentation is that I don't know what to import. What class I have to import to access and manipulate Response s?

You have to import the following class:

import play.mvc.Result;

This is usually already imported when you create a new project using Activator .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM