• Post Reply Bookmark Topic Watch Topic
  • New Topic

HttpRequest.setDateHeader ???

 
Micheal John
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From http://www.javaranch.com/carl/SCWCD.htm#Question%208)


I find only two setters in the ServletRequest (HttpServletRequest):
void setAttribute(java.lang.String name, java.lang.Object o)
Stores an attribute in this request.
void setCharacterEncoding(java.lang.String env)
Overrides the name of the character encoding used in the body of this request.

Is there any HttpRequest.setDateHeader( ? )???
 
Elan Ram
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jhon,

setDateHeader() is defined in HttpServetResponse and not in HttpServetRequest.

Question is wrong.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!