Package jade.imtp.leap.http
Class HTTPResponse
- java.lang.Object
-
- jade.imtp.leap.http.HTTPPacket
-
- jade.imtp.leap.http.HTTPResponse
-
public class HTTPResponse extends HTTPPacket
- Author:
- Giovanni Caire - TILAB
-
-
Constructor Summary
Constructors Constructor Description HTTPResponse()Constructor declaration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()StringgetMessage()protected voidreadFrom(InputStream is)Method declarationvoidsetCode(String c)voidsetMessage(String m)StringtoString()Method declarationvoidwriteTo(OutputStream os)Method declaration-
Methods inherited from class jade.imtp.leap.http.HTTPPacket
getField, getHttpType, getPayload, setField, setHttpType, setPayload, setPayload
-
-
-
-
Method Detail
-
getCode
public String getCode()
-
setCode
public void setCode(String c)
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String m)
-
readFrom
protected void readFrom(InputStream is) throws IOException
Method declaration- Overrides:
readFromin classHTTPPacket- Throws:
IOException
-
writeTo
public void writeTo(OutputStream os) throws IOException
Method declaration- Overrides:
writeToin classHTTPPacket- Throws:
IOException
-
toString
public String toString()
Method declaration- Overrides:
toStringin classHTTPPacket
-
-