// ** This class was generated with DemFGen (vers:11/17/2009) namespace edu.neu.ccs.demeterf.http.classes{ using edu.neu.ccs.demeterf.lib; using System.Net.Sockets; using System.Text; using System.IO; using System; /** Representation of GetReq */ public class GetReq : HTTPHead{ /** Construct a(n) GetReq Instance */ public GetReq(URL url, HTTPVer ver) : base(url, ver){ } /** Is the given object Equal to this GetReq? */ public override bool Equals(Object o){ if(!(o is GetReq))return false; if(o == this)return true; GetReq oo = (GetReq)o; return (url.Equals(oo.url))&&(ver.Equals(oo.ver)); } /** Parse an instance of GetReq from the given String */ public static new GetReq Parse(String inpt) { return new TheParser(new System.IO.StringReader(inpt)).parse_GetReq(); } /** Parse an instance of GetReq from the given Stream */ public static new GetReq Parse(System.IO.Stream inpt) { return new TheParser(inpt).parse_GetReq(); } /** Parse an instance of GetReq from the given Reader */ public static new GetReq Parse(System.IO.TextReader inpt) { return new TheParser(inpt).parse_GetReq(); } /** Get the ReqType of this Request */ public HTTPReq.ReqType getType(){ return HTTPReq.ReqType.GET; } /** DGP method from Class PrintToString */ public override String ToString(){ return global::edu.neu.ccs.demeterf.http.classes.PrintToString.PrintToStringM(this); } /** Getter for field GetReq.url */ public override URL GetUrl(){ return url; } /** Getter for field GetReq.ver */ public override HTTPVer GetVer(){ return ver; } } }