|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.neu.ccs.demeterf.http.classes.HTTPHead edu.neu.ccs.demeterf.http.classes.HeadReq
public class HeadReq
Representation of HeadReq
Nested Class Summary |
---|
Nested classes/interfaces inherited from class edu.neu.ccs.demeterf.http.classes.HTTPHead |
---|
HTTPHead.url, HTTPHead.ver |
Constructor Summary | |
---|---|
HeadReq(URL url,
HTTPVer ver)
Construct a(n) HeadReq Instance |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Is the given object Equal to this HeadReq? |
HTTPReq.ReqType |
getType()
Get the ReqType of this Request |
URL |
getUrl()
Getter for field HeadReq.url |
HTTPVer |
getVer()
Getter for field HeadReq.ver |
HTTPResp |
handle(HTTPReq r,
ReqHandler h)
Handle a Request using a ReHandler |
static HeadReq |
parse(java.io.InputStream inpt)
Parse an instance of HeadReq from the given Stream |
static HeadReq |
parse(java.io.Reader inpt)
Parse an instance of HeadReq from the given Reader |
static HeadReq |
parse(java.lang.String inpt)
Parse an instance of HeadReq from the given String |
java.lang.String |
toString()
DGP method from Class PrintToString |
Methods inherited from class edu.neu.ccs.demeterf.http.classes.HTTPHead |
---|
Get, Head, Post |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HeadReq(URL url, HTTPVer ver)
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public static HeadReq parse(java.lang.String inpt) throws ParseException
ParseException
public static HeadReq parse(java.io.InputStream inpt) throws ParseException
ParseException
public static HeadReq parse(java.io.Reader inpt) throws ParseException
ParseException
public HTTPReq.ReqType getType()
getType
in class HTTPHead
public HTTPResp handle(HTTPReq r, ReqHandler h)
handle
in class HTTPHead
public java.lang.String toString()
toString
in class HTTPHead
public URL getUrl()
getUrl
in class HTTPHead
public HTTPVer getVer()
getVer
in class HTTPHead
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |