* If the copy contains a Max-Forwards header field, the jiplet MUST
* decrement its value by one (1). If the copy does not contain a
* Max-Forwards header field, the jiplet MUST add one with a field
* value, which SHOULD be 70.
*/
MaxForwardsHeader mf = (MaxForwardsHeader) clonedRequest
.getHeader(MaxForwardsHeader.NAME);
if (mf == null)
{
mf = headerFactory.createMaxForwardsHeader(70);
clonedRequest.addHeader(mf);
}
else
{
int max = mf.getMaxForwards() - 1;
mf.setMaxForwards(max);
}
//
// 4. Record-Route
//