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 TypMethodeBeschreibungintGets the HTTP codeGets the HTTP responseGets the HTTP warningvoidsethttpCode(int code) Sets the HTTP codevoidsethttpResponse(String response) Sets the HTTP responsevoidsetHttpWarning(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
-