Class GetMovieByTitleRequest
java.lang.Object
com.amilesend.omdb.client.model.GetByTitleRequestBase
com.amilesend.omdb.client.model.movie.GetMovieByTitleRequest
- All Implemented Interfaces:
GetMovieBasedRequest, QueryParameterBasedRequest
The request to fetch movie information by its title.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGetMovieByTitleRequest.GetMovieByTitleRequestBuilder<C extends GetMovieByTitleRequest, B extends GetMovieByTitleRequest.GetMovieByTitleRequestBuilder<C,B>> Nested classes/interfaces inherited from class GetByTitleRequestBase
GetByTitleRequestBase.GetByTitleRequestBaseBuilder<C,B> -
Field Summary
Fields inherited from interface QueryParameterBasedRequest
JSON_RESPONSE_TYPE -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()okhttp3.HttpUrl.BuilderpopulateQueryParameters(okhttp3.HttpUrl.Builder urlBuilder) Helper method to populate query parameters of aHttpUrl.Builder.toString()Methods inherited from class GetByTitleRequestBase
getPlot, getTitle, getYear
-
Method Details
-
populateQueryParameters
public okhttp3.HttpUrl.Builder populateQueryParameters( okhttp3.HttpUrl.Builder urlBuilder) Description copied from interface:QueryParameterBasedRequestHelper method to populate query parameters of aHttpUrl.Builder.- Specified by:
populateQueryParametersin interfaceQueryParameterBasedRequest- Overrides:
populateQueryParametersin classGetByTitleRequestBase- Parameters:
urlBuilder- the HttpUrl.Builder instance- Returns:
- the HttpUrl.Builder instance
-
builder
-
equals
- Overrides:
equalsin classGetByTitleRequestBase
-
hashCode
public int hashCode()- Overrides:
hashCodein classGetByTitleRequestBase
-
toString
- Overrides:
toStringin classGetByTitleRequestBase
-