Class JsonHttpResponseCodec
- java.lang.Object
-
- org.openqa.selenium.remote.codec.AbstractHttpResponseCodec
-
- org.openqa.selenium.remote.codec.jwp.JsonHttpResponseCodec
-
- All Implemented Interfaces:
ResponseCodec<org.openqa.selenium.remote.http.HttpResponse>
public class JsonHttpResponseCodec extends AbstractHttpResponseCodec
A response codec that adheres to the Selenium project's JSON/HTTP wire protocol.- See Also:
- JSON wire protocol
-
-
Constructor Summary
Constructors Constructor Description JsonHttpResponseCodec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
getValueToEncode(Response response)
protected Response
reconstructValue(Response response)
-
Methods inherited from class org.openqa.selenium.remote.codec.AbstractHttpResponseCodec
decode, encode
-
-
-
-
Method Detail
-
reconstructValue
protected Response reconstructValue(Response response)
- Specified by:
reconstructValue
in classAbstractHttpResponseCodec
-
getValueToEncode
protected java.lang.Object getValueToEncode(Response response)
- Specified by:
getValueToEncode
in classAbstractHttpResponseCodec
-
-