protected IHttpRequest createHttpRequest ( String theUrl , EncodingEnum theEncoding , RequestTypeEnum theRequestType ) { IHttpClient httpClient = getRestfulClientFactory ( ) . getHttpClient ( new StringBuilder ( theUrl ) , null , null , theRequestType , myHeaders ) ; return httpClient . createGetRequest ( getContext ( ) , theEncoding ) ; }
Create an HTTP request for the given url encoding and request - type