Class JaxRsClientInvocationHandler<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      private void addCookieParam​(Request request, java.lang.String representationAsText, java.lang.annotation.Annotation annotation)
      Deprecated.
       
      private void addFormParam​(Form form, java.lang.String representationAsText, java.lang.annotation.Annotation annotation)
      Deprecated.
       
      private void addHeaderParam​(Request request, java.lang.String representationAsText, java.lang.annotation.Annotation annotation)
      Deprecated.
       
      private void addPathParam​(Request request, java.lang.String representationAsText, java.lang.annotation.Annotation annotation)
      Deprecated.
       
      private void addQueryParam​(Request request, java.lang.String representationAsText, java.lang.annotation.Annotation annotation)
      Deprecated.
       
      private java.lang.String getRepresentationAsText​(java.lang.Object value)
      Deprecated.
       
      protected Request getRequest​(java.lang.reflect.Method javaMethod, java.lang.Object[] args)
      Deprecated.
      Allows for child classes to modify the request.
      private void handleJavaMethodParameter​(Request request, java.lang.Object value, java.lang.reflect.Type genericParameterType, java.lang.annotation.Annotation[] annotations, Form form)
      Deprecated.
       
      java.lang.Object invoke​(java.lang.Object proxy, java.lang.reflect.Method javaMethod, java.lang.Object[] args)
      Deprecated.
      Effectively invokes a Java method on the given proxy object.
      private void setRequestPathToAnnotationPath​(java.lang.reflect.Method javaMethod, Request request)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

    • Constructor Detail

      • JaxRsClientInvocationHandler

        public JaxRsClientInvocationHandler​(ClientResource clientResource,
                                            java.lang.Class<? extends T> resourceInterface)
        Deprecated.
        Constructor.
        Parameters:
        clientResource - The client resource.
        resourceInterface - The annotated resource interface.
    • Method Detail

      • addCookieParam

        private void addCookieParam​(Request request,
                                    java.lang.String representationAsText,
                                    java.lang.annotation.Annotation annotation)
        Deprecated.
      • addFormParam

        private void addFormParam​(Form form,
                                  java.lang.String representationAsText,
                                  java.lang.annotation.Annotation annotation)
        Deprecated.
      • addHeaderParam

        private void addHeaderParam​(Request request,
                                    java.lang.String representationAsText,
                                    java.lang.annotation.Annotation annotation)
        Deprecated.
      • addPathParam

        private void addPathParam​(Request request,
                                  java.lang.String representationAsText,
                                  java.lang.annotation.Annotation annotation)
        Deprecated.
      • addQueryParam

        private void addQueryParam​(Request request,
                                   java.lang.String representationAsText,
                                   java.lang.annotation.Annotation annotation)
        Deprecated.
      • getRepresentationAsText

        private java.lang.String getRepresentationAsText​(java.lang.Object value)
        Deprecated.
      • getRequest

        protected Request getRequest​(java.lang.reflect.Method javaMethod,
                                     java.lang.Object[] args)
                              throws java.lang.Throwable
        Deprecated.
        Description copied from class: ClientInvocationHandler
        Allows for child classes to modify the request.
        Overrides:
        getRequest in class ClientInvocationHandler<T>
        Throws:
        java.lang.Throwable
      • handleJavaMethodParameter

        private void handleJavaMethodParameter​(Request request,
                                               java.lang.Object value,
                                               java.lang.reflect.Type genericParameterType,
                                               java.lang.annotation.Annotation[] annotations,
                                               Form form)
                                        throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • invoke

        public java.lang.Object invoke​(java.lang.Object proxy,
                                       java.lang.reflect.Method javaMethod,
                                       java.lang.Object[] args)
                                throws java.lang.Throwable
        Deprecated.
        Description copied from class: ClientInvocationHandler
        Effectively invokes a Java method on the given proxy object.
        Specified by:
        invoke in interface java.lang.reflect.InvocationHandler
        Overrides:
        invoke in class ClientInvocationHandler<T>
        Throws:
        java.lang.Throwable
      • setRequestPathToAnnotationPath

        private void setRequestPathToAnnotationPath​(java.lang.reflect.Method javaMethod,
                                                    Request request)
        Deprecated.