public SequenceService createSequenceService ( final String endpointUrl ) { return new RestAdapter . Builder ( ) . setEndpoint ( endpointUrl ) . setErrorHandler ( errorHandler ) . setConverter ( new JacksonSequenceConverter ( jsonFactory ) ) . build ( ) . create ( SequenceService . class ) ; }
Create and return a new sequence service with the specified endpoint URL .