@Override
    protected HTTPClientConfiguration createHTTPClientConfiguration()
    {
        CommonHTTPClientConfiguration configuration=new CommonHTTPClientConfiguration();
        configuration.setHostName("api.phaxio.com");
        configuration.setSSL(true);
        configuration.setMethod(FaxActionType.SUBMIT_FAX_JOB,HTTPMethod.POST);
        configuration.setMethod(FaxActionType.CANCEL_FAX_JOB,HTTPMethod.POST);
        configuration.setMethod(FaxActionType.GET_FAX_JOB_STATUS,HTTPMethod.POST);

        return configuration;
    }
@ Override protected HTTPClientConfiguration createHTTPClientConfiguration ( ) { CommonHTTPClientConfiguration configuration = new CommonHTTPClientConfiguration ( ) ; configuration . setHostName ( "api.phaxio.com" ) ; configuration . setSSL ( true ) ; configuration . setMethod ( FaxActionType . SUBMIT_FAX_JOB , HTTPMethod . POST ) ; configuration . setMethod ( FaxActionType . CANCEL_FAX_JOB , HTTPMethod . POST ) ; configuration . setMethod ( FaxActionType . GET_FAX_JOB_STATUS , HTTPMethod . POST ) ; return configuration ; }
This function creates and returns the HTTP configuration object.

@return  The HTTP configuration object