Deprecated API


Contents
Deprecated Interfaces
play.mvc.SimpleResult
          Use play.api.mvc.Result instead 
play.mvc.SimpleResult
          Use play.api.mvc.Result instead 
 

Deprecated Methods
play.mvc.Http.RequestHeader.accept()
          Use Http.RequestHeader.acceptedTypes() instead. 
play.mvc.Http.RequestHeader.accept()
          Use Http.RequestHeader.acceptedTypes() instead. 
play.libs.ws.WSRequest.addHeader(String, String)
           
play.libs.ws.ning.NingWSRequest.addHeader(String, String)
           
play.libs.ws.ning.NingWSRequest.addHeader(String, String)
           
play.libs.ws.WSRequest.addHeader(String, String)
           
play.libs.ws.WSRequest.auth(String, String, WSAuthScheme)
           
play.libs.ws.WSRequest.auth(String, String, WSAuthScheme)
           
play.mvc.Results.badRequest(File, int)
          Since the length of the file is known, there is little reason to send a file as chunked. 
play.mvc.Results.badRequest(File, int)
          Since the length of the file is known, there is little reason to send a file as chunked. 
play.test.Helpers.charset(Result, long)
           
play.test.Helpers.charset(Result, long)
           
play.test.Helpers.contentType(Result, long)
           
play.test.Helpers.contentType(Result, long)
           
play.test.Helpers.cookie(String, Result, long)
           
play.test.Helpers.cookie(String, Result, long)
           
play.test.Helpers.cookies(Result, long)
           
play.test.Helpers.cookies(Result, long)
           
play.mvc.Results.created(File, int)
          Since the length of the file is known, there is little reason to send a file as chunked. 
play.mvc.Results.created(File, int)
          Since the length of the file is known, there is little reason to send a file as chunked. 
play.mvc.Http.Response.discardCookies(String...)
          Use the discardCookie methods instead 
play.mvc.Http.Response.discardCookies(String...)
          Use the discardCookie methods instead 
play.test.Helpers.flash(Result, long)
           
play.test.Helpers.flash(Result, long)
           
play.mvc.Results.forbidden(File, int)
          Since the length of the file is known, there is little reason to send a file as chunked. 
play.mvc.Results.forbidden(File, int)
          Since the length of the file is known, there is little reason to send a file as chunked. 
play.test.Helpers.header(String, Result, long)
           
play.test.Helpers.header(String, Result, long)
           
play.test.Helpers.headers(Result, long)
           
play.test.Helpers.headers(Result, long)
           
play.mvc.Results.internalServerError(File, int)
          Since the length of the file is known, there is little reason to send a file as chunked. 
play.mvc.Results.internalServerError(File, int)
          Since the length of the file is known, there is little reason to send a file as chunked. 
play.mvc.Results.notFound(File, int)
          Since the length of the file is known, there is little reason to send a file as chunked. 
play.mvc.Results.notFound(File, int)
          Since the length of the file is known, there is little reason to send a file as chunked. 
play.mvc.Results.ok(File, int)
          Since the length of the file is known, there is little reason to send a file as chunked. 
play.mvc.Results.ok(File, int)
          Since the length of the file is known, there is little reason to send a file as chunked. 
play.test.Helpers.redirectLocation(Result, long)
           
play.test.Helpers.redirectLocation(Result, long)
           
play.test.Helpers.routeAndCall(Class, FakeRequest)
            
play.test.Helpers.routeAndCall(Class, FakeRequest)
            
play.test.Helpers.routeAndCall(FakeRequest)
            
play.test.Helpers.routeAndCall(FakeRequest)
            
play.libs.EventSource.sendData(String)
          Replaced by send 
play.libs.EventSource.sendData(String)
          Replaced by send 
play.libs.EventSource.sendDataById(String, String)
          Replaced by send 
play.libs.EventSource.sendDataById(String, String)
          Replaced by send 
play.libs.EventSource.sendDataByName(String, String)
          Replaced by send 
play.libs.EventSource.sendDataByName(String, String)
          Replaced by send 
play.test.Helpers.session(Result, long)
           
play.test.Helpers.session(Result, long)
           
play.libs.ws.ning.NingWSRequest.setBody(File)
           
play.libs.ws.ning.NingWSRequest.setBody(File)
           
play.libs.ws.ning.NingWSRequest.setBody(InputStream)
           
play.libs.ws.ning.NingWSRequest.setBody(InputStream)
           
play.libs.ws.ning.NingWSRequest.setBody(String)
           
play.libs.ws.ning.NingWSRequest.setBody(String)
           
play.libs.ws.ning.NingWSRequest.setBodyEncoding(String)
           
play.libs.ws.ning.NingWSRequest.setBodyEncoding(String)
           
play.libs.ws.ning.NingWSRequest.setFollowRedirects(Boolean)
           
play.libs.ws.ning.NingWSRequest.setFollowRedirects(Boolean)
           
play.libs.ws.WSRequest.setHeader(String, String)
           
play.libs.ws.ning.NingWSRequest.setHeader(String, String)
           
play.libs.ws.ning.NingWSRequest.setHeader(String, String)
           
play.libs.ws.WSRequest.setHeader(String, String)
           
play.libs.ws.ning.NingWSRequest.setHeaders(FluentCaseInsensitiveStringsMap)
           
play.libs.ws.ning.NingWSRequest.setHeaders(FluentCaseInsensitiveStringsMap)
           
play.libs.ws.WSRequest.setHeaders(Map>)
           
play.libs.ws.ning.NingWSRequest.setHeaders(Map>)
           
play.libs.ws.ning.NingWSRequest.setHeaders(Map>)
           
play.libs.ws.WSRequest.setHeaders(Map>)
           
play.libs.ws.ning.NingWSRequest.setPerRequestConfig(PerRequestConfig)
           
play.libs.ws.ning.NingWSRequest.setPerRequestConfig(PerRequestConfig)
           
play.libs.ws.ning.NingWSRequest.setQueryParameters(FluentStringsMap)
           
play.libs.ws.ning.NingWSRequest.setQueryParameters(FluentStringsMap)
           
play.libs.ws.WSRequest.setUrl(String)
           
play.libs.ws.ning.NingWSRequest.setUrl(String)
           
play.libs.ws.ning.NingWSRequest.setUrl(String)
           
play.libs.ws.WSRequest.setUrl(String)
           
play.test.Helpers.status(Result, long)
           
play.test.Helpers.status(Result, long)
           
play.mvc.Results.unauthorized(File, int)
          Since the length of the file is known, there is little reason to send a file as chunked. 
play.mvc.Results.unauthorized(File, int)
          Since the length of the file is known, there is little reason to send a file as chunked. 
 

Deprecated Constructors
play.libs.F.Promise(Future)
          Since 2.2. Use F.Promise.wrap(Future) instead. 
play.libs.F.Promise(Future)
          Since 2.2. Use F.Promise.wrap(Future) instead.