1 17 18 package org.apache.tomcat.util.http.mapper; 19 20 import org.apache.tomcat.util.buf.MessageBytes; 21 22 27 public class MappingData { 28 29 public Object host = null; 30 public Object context = null; 31 public Object wrapper = null; 32 public boolean jspWildCard = false; 33 34 public MessageBytes contextPath = MessageBytes.newInstance(); 35 public MessageBytes requestPath = MessageBytes.newInstance(); 36 public MessageBytes wrapperPath = MessageBytes.newInstance(); 37 public MessageBytes pathInfo = MessageBytes.newInstance(); 38 39 public MessageBytes redirectPath = MessageBytes.newInstance(); 40 41 public void recycle() { 42 host = null; 43 context = null; 44 wrapper = null; 45 pathInfo.recycle(); 46 requestPath.recycle(); 47 wrapperPath.recycle(); 48 contextPath.recycle(); 49 redirectPath.recycle(); 50 jspWildCard = false; 51 } 52 53 } 54 | Popular Tags |