Class W3CHttpResponseCodec
java.lang.Object
org.openqa.selenium.remote.codec.AbstractHttpResponseCodec
org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec
- All Implemented Interfaces:
ResponseCodec<HttpResponse>
A response codec that adheres to the W3C WebDriver wire protocol.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode
(HttpResponse encodedResponse) Decodes a response.protected Object
getValueToEncode
(Response response) protected Response
reconstructValue
(Response response) Methods inherited from class org.openqa.selenium.remote.codec.AbstractHttpResponseCodec
encode
-
Constructor Details
-
W3CHttpResponseCodec
public W3CHttpResponseCodec()
-
-
Method Details
-
decode
Description copied from interface:ResponseCodec
Decodes a response.- Specified by:
decode
in interfaceResponseCodec<HttpResponse>
- Overrides:
decode
in classAbstractHttpResponseCodec
- Parameters:
encodedResponse
- the response to decode.- Returns:
- the decoded response.
-
getValueToEncode
- Specified by:
getValueToEncode
in classAbstractHttpResponseCodec
-
reconstructValue
- Specified by:
reconstructValue
in classAbstractHttpResponseCodec
-