Class Request<E>

    • Constructor Detail

      • Request

        public Request()
    • Method Detail

      • getTargetClass

        protected abstract Class<E> getTargetClass()
        Returns the target return class for the Request.
        Returns:
        The target return class for the Request.
      • getHttpRequest

        protected abstract org.apache.http.client.methods.HttpRequestBase getHttpRequest()
        Returns the specific HttpRequestBase for the Request.
        Returns:
        The specific HttpRequestBase for the Request.
      • executeRequest

        public E executeRequest()
        Executes the Request and returns the response as the given target class.
        Returns:
        The Request response as the given target class.