Jay Macarty wrote:
>
> Perhaps I just missed this somewhere. I am trying to use the
> com.oreilly.servlet.HttpMessage class to setup a call to a site that
> requires a authorization: header. Is there a way to set this header in
> the HttpMessage object?
Hi Jay,
It's not built into the HttpMessage API, but you can set headers using
URLConnection and HttpURLConnection. You could therefore add such
functionality to the HttpMessage class without too much trouble. The
only trick is coming up with an elegant API...
-jh-
--
Jason Hunter
[EMAIL PROTECTED]
Book: http://www.servlets.com/book
Article: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html