Code example for ProtocolVersion

0
                return getUri().toString();
            } 
             
            @Override 
            public ProtocolVersion getProtocolVersion() {
                return new ProtocolVersion("HTTP", 1, 1);
            } 
             
            @Override 
            public String getMethod() {
                return mMethod;
            } 
             
            @Override 
            public String toString() {
                String path = AsyncHttpRequest.this.getUri().getPath();
                if (path.length() == 0)
                    path = "/";
                String query = AsyncHttpRequest.this.getUri().getRawQuery();
                if (query != null && query.length() != 0) {
                    path += "?" + query;