Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

How to decode HTTP packets?

I want to decode the HTTP header inside TCP packet. I used sal.packet.TCP.getRawPayload and stored the result in a byte[]. There were only 20 bytes and when I tried to print it byte by byte (typecasting it to char), I'm getting some non-alphanumeric characters. Can somebody help?

How to decode HTTP packets?

I want to decode the HTTP header inside TCP packet. I used sal.packet.TCP.getRawPayload sal.packet.TCP.getRawPayload and stored the result in a byte[]. byte[]. There were only 20 bytes and when I tried to print it byte by byte (typecasting it to char), I'm getting some non-alphanumeric characters. Can somebody help?