Class ClientInvoker

    • Field Detail

      • httpMethod

        protected java.lang.String httpMethod
      • method

        protected java.lang.reflect.Method method
      • declaring

        protected java.lang.Class declaring
      • accepts

        protected javax.ws.rs.core.MediaType accepts
      • followRedirects

        protected boolean followRedirects
      • baseUri

        protected java.net.URI baseUri
      • attributes

        protected java.util.Map<java.lang.String,​java.lang.Object> attributes
    • Constructor Detail

      • ClientInvoker

        public ClientInvoker​(java.net.URI baseUri,
                             java.lang.Class declaring,
                             java.lang.reflect.Method method,
                             ProxyConfig config)
    • Method Detail

      • getAttributes

        public java.util.Map<java.lang.String,​java.lang.Object> getAttributes()
      • getAccepts

        public javax.ws.rs.core.MediaType getAccepts()
      • getMethod

        public java.lang.reflect.Method getMethod()
      • getDeclaring

        public java.lang.Class getDeclaring()
      • invoke

        public java.lang.Object invoke​(java.lang.Object[] args)
        Specified by:
        invoke in interface MethodInvoker
      • createRequest

        protected ClientRequest createRequest​(java.lang.Object[] args)
      • getHttpMethod

        public java.lang.String getHttpMethod()
      • setHttpMethod

        public void setHttpMethod​(java.lang.String httpMethod)
      • isFollowRedirects

        public boolean isFollowRedirects()
      • setFollowRedirects

        public void setFollowRedirects​(boolean followRedirects)
      • followRedirects

        public void followRedirects()