[jcifs] HTTP headers and status code

gracy at spymac.com gracy at spymac.com
Fri Feb 18 10:45:31 GMT 2005


I don't know how to get this two values (Content-length and status-code):
I've used request.getContentLength() in the last guy in the chain (when the NTLM
protocol has finished) and thats return "-1".

Thanks,
Gracy 

On Thu Feb 17 16:37 , 'Michael B Allen' mba2000 at ioplex.com> sent:

>gracy at spymac.com said:
>>
>>
>> I am using NtlmHttpFilter and I need to know:
>> Content-length
>> status-code
>>
>> How can I get this values If the response is not committed in the doFilter
>> method?
>
>I don't know what you're trying to do but know that the NTLM HTTP
>Authentication protocol is a three request handshake. Otherwise after the
>filter calls the next guy in the chain the ServletRequest should look like
>any other. So you can use getContentLength() or whatever.
>
>Mike






More information about the jcifs mailing list