Package play.libs.ws

Class WSAsync.WSAsyncRequest

    • Field Detail

      • type

        protected java.lang.String type
    • Constructor Detail

      • WSAsyncRequest

        protected WSAsyncRequest​(java.lang.String url,
                                 java.lang.String encoding)
    • Method Detail

      • getUrlWithoutQueryString

        protected java.lang.String getUrlWithoutQueryString()
        Returns the URL but removed the queryString-part of it The QueryString-info is later added with addQueryString()
        Returns:
        The URL without the queryString-part
      • addQueryString

        protected void addQueryString​(com.ning.http.client.AsyncHttpClient.BoundRequestBuilder requestBuilder)
        Adds the queryString-part of the url to the BoundRequestBuilder
        Parameters:
        requestBuilder - : The request buider to add the queryString-part
      • prepareGet

        public com.ning.http.client.AsyncHttpClient.BoundRequestBuilder prepareGet()
      • prepareOptions

        public com.ning.http.client.AsyncHttpClient.BoundRequestBuilder prepareOptions()
      • prepareHead

        public com.ning.http.client.AsyncHttpClient.BoundRequestBuilder prepareHead()
      • preparePatch

        public com.ning.http.client.AsyncHttpClient.BoundRequestBuilder preparePatch()
      • preparePost

        public com.ning.http.client.AsyncHttpClient.BoundRequestBuilder preparePost()
      • preparePut

        public com.ning.http.client.AsyncHttpClient.BoundRequestBuilder preparePut()
      • prepareDelete

        public com.ning.http.client.AsyncHttpClient.BoundRequestBuilder prepareDelete()