Thanks Deepal for the quick response.
What key should I use to get the request URL? I went through the Constants
java doc but it was not immediately clear.
MessageContext messageContext = MessageContext
.getCurrentMessageContext();
if(messageContext != null){
String url = (String)messageContext.getProperty("????");
}
From:
Deepal jayasinghe <[email protected]>
To:
[email protected]
Date:
09/07/2010 02:46 PM
Subject:
Re: If Tomcat is configured to accept both HTTP and HTTPS, how to know in
axis2 if the request came over HTTPS?
You can do that by looking at the request URL which you can access using
MessageContext.
Deepal
Folks
In my server code, I need to know if the call received came through over
HTTP or HTTPS. I would like to process the request a bit differently if
the request came through HTTPS.
How can I do this in axis2 1.2 (the version I am using)? If it is easier
to do in axis2 1.5.1, I could upgrade.
I would much appreciate code samples.
Thanks
Nav Kumar
______________________________________________________________________
This email has been spam and virus checked by Elster IT Services.