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