Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.transistore.service.cfg;
 
 
 
Configuration Object that service uses; either read from a JSON or YAML file, or programmatically constructed. Typically contained in a wrapper Object.
public class BasicTSServiceConfig
    extends ServiceConfig
{
    
By default, we'll use "/ts/" as the service root.
    protected final static String[] DEFAULT_SERVICE_ROOT = new String[] {
        "ts"
    };
    
    protected StoredEntryConverter<?,?,?> _entryConverter;
    public BasicTSServiceConfig() {
        this(new BasicTSEntryConverter());
    }
    
    public BasicTSServiceConfig(StoredEntryConverter<?,?,?> entryConverter) {
        this(entryConverternew BasicTSPaths());
    }
    public BasicTSServiceConfig(StoredEntryConverter<?,?,?> entryConverter,
            RequestPathStrategy paths) {
        super();
         = entryConverter;
         = paths;
    }
    /*
    /**********************************************************************
    /* Abstract method impl
    /**********************************************************************
     */
    
    @Override
        return ;
    }
    
    @Override
    public StoredEntryConverter<?,?,?> getEntryConverter() {
        return ;
    }
    
    /*
    /**********************************************************************
    /* Additional mutators
    /**********************************************************************
     */
    @Override
         = cfg;
        return this;
    }
New to GrepCode? Check out our FAQ X