• 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic