// ** 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 PostReq */ public class PostReq : HTTPHead{ /** Construct a(n) PostReq Instance */ public PostReq(URL url, HTTPVer ver) : base(url, ver){ } /** Is the given object Equal to this PostReq? */ public override bool Equals(Object o){ if(!(o is PostReq))return false; if(o == this)return true; PostReq oo = (PostReq)o; return (url.Equals(oo.url))&&(ver.Equals(oo.ver)); } /** Parse an instance of PostReq from the given String */ public static new PostReq Parse(String inpt) { return new TheParser(new System.IO.StringReader(inpt)).parse_PostReq(); } /** Parse an instance of PostReq from the given Stream */ public static new PostReq Parse(System.IO.Stream inpt) { return new TheParser(inpt).parse_PostReq(); } /** Parse an instance of PostReq from the given Reader */ public static new PostReq Parse(System.IO.TextReader inpt) { return new TheParser(inpt).parse_PostReq(); } /** Get the ReqType of this Request */ public HTTPReq.ReqType getType(){ return HTTPReq.ReqType.POST; } /** DGP method from Class PrintToString */ public override String ToString(){ return global::edu.neu.ccs.demeterf.http.classes.PrintToString.PrintToStringM(this); } /** Getter for field PostReq.url */ public override URL GetUrl(){ return url; } /** Getter for field PostReq.ver */ public override HTTPVer GetVer(){ return ver; } } }