Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

display http header  RSS feed

 
varsha simla
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello.i need help on how to display http headers in a browser using the concept of client - proxy - server in java.
i'm new to networking in java.thanks in advance
 
Stephan van Hulst
Saloon Keeper
Posts: 7706
141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Varsha, welcome to CodeRanch!

What kind of help do you need? Please take a look at HowToAskQuestionsOnJavaRanch
 
varsha simla
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello Stephan.
i want help concerning the coding part.

client side





i have been able to do that much so far by doing some research and now i'm stuck.please help me
 
varsha simla
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Stephan van Hulst
Saloon Keeper
Posts: 7706
141
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are you stuck with? Can you give a detailed description of the problems you're running into?
 
varsha simla
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the line 26 for the class ProxyServer
the variable clientSentence---cannot be resolved to a variable

i also want to have an overview what is done at a proxy server when i am sending a http get request

is my code logic good?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!