Questions tagged [clienthttprequest]

5 questions
2
votes
1 answer

Application property not injected into private variable in ClientHttpRequestInterceptor

I wrote a ClientHttpRequestInterceptor implementation to automatically insert some HttpHeaders into any outgoing request from my Spring Boot service. One of the headers that I was to support is to indicate the source application that is sending…
feicipet
  • 934
  • 2
  • 8
  • 21
1
vote
1 answer

HTTP posts and multiple threads in Java

I am writing an internal Java Applet to do file uploads via HTTP. I started using the built in ClientHttpRequest which worked great if I want to post one after another. When I try to have multiple threads post at the same time, something on the…
unknown (yahoo)
0
votes
1 answer

WebResource multipart post request

I need to send post request using java test to this rest function : @RequestMapping(value = "/upload", method = RequestMethod.POST) public @ResponseBody String handleFileUpload(@PathVariable Long ownerId, @RequestBody MultipartFile file, …
0
votes
2 answers

Why does Silverlight 4 ClientHttp WebRequest prompt the user for a login and password?

One of the new features of the client http stack in Silverlight 4 is the ability to supply network credentials. When I use this feature Windows shows a "Windows Security" message box that prompts the user for a login and password (text in the box…
James Cadd
  • 12,136
  • 30
  • 85
  • 134
-1
votes
2 answers

Springboot ClientHttpRequestInterceptor: get request object type

I'm working on a springboot project where I need to intercept outgoing http requests and do something with it. I know we can use ClientHttpRequestInterceptor for the same and it works fine too. But I need to know the java class type of the request…
Ram
  • 191
  • 1
  • 2
  • 12