Package de.dlr.proseo.basewrap.rest
Klasse HttpResponseInfo
java.lang.Object
de.dlr.proseo.basewrap.rest.HttpResponseInfo
A class to hold information extracted from a HTTP response.
- Autor:
- Hubert Asamer
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
Gets the HTTP codeGets the HTTP responseGets the HTTP warningvoid
sethttpCode
(int code) Sets the HTTP codevoid
sethttpResponse
(String response) Sets the HTTP responsevoid
setHttpWarning
(String httpWarning) Sets the HTTP warning
-
Konstruktordetails
-
HttpResponseInfo
public HttpResponseInfo()
-
-
Methodendetails
-
gethttpCode
public int gethttpCode()Gets the HTTP code- Gibt zurück:
- the HTTP code
-
sethttpCode
public void sethttpCode(int code) Sets the HTTP code- Parameter:
code
- the HTTP code
-
getHttpWarning
Gets the HTTP warning- Gibt zurück:
- the HTTP warning
-
setHttpWarning
Sets the HTTP warning- Parameter:
httpWarning
- the HTTP warning
-
gethttpResponse
Gets the HTTP response- Gibt zurück:
- the HTTP response
-
sethttpResponse
Sets the HTTP response- Parameter:
response
- the HTTP response
-