Package jade.imtp.leap.http
Class HTTPRequest
- java.lang.Object
-
- jade.imtp.leap.http.HTTPPacket
-
- jade.imtp.leap.http.HTTPRequest
-
public class HTTPRequest extends HTTPPacket
- Author:
- Giovanni Caire - TILAB
-
-
Constructor Summary
Constructors Constructor Description HTTPRequest()Constructor declaration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFile()StringgetMethod()voidreadFrom(InputStream is)Method declarationvoidsetFile(String f)voidsetMethod(String m)StringtoString()Method declarationprotected voidwriteTo(OutputStream os)Method declaration-
Methods inherited from class jade.imtp.leap.http.HTTPPacket
getField, getHttpType, getPayload, setField, setHttpType, setPayload, setPayload
-
-
-
-
Method Detail
-
getMethod
public String getMethod()
-
setMethod
public void setMethod(String m)
-
getFile
public String getFile()
-
setFile
public void setFile(String f)
-
readFrom
public void readFrom(InputStream is) throws IOException
Method declaration- Overrides:
readFromin classHTTPPacket- Throws:
IOException
-
writeTo
protected void writeTo(OutputStream os) throws IOException
Method declaration- Overrides:
writeToin classHTTPPacket- Throws:
IOException
-
toString
public String toString()
Method declaration- Overrides:
toStringin classHTTPPacket
-
-