Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package net.openesb.sdk.model;
 
 import java.util.Map;

Author(s):
David BRASSELY (brasseld at gmail.com)
OpenESB Community
public class StartComponentRequest extends AbstractRequest {
    
    private final String componentName;
    
    public StartComponentRequest(final String componentName) {
        this. = componentName;
    }
    public String getComponentName() {
        return ;
    }
    @Override
    public HttpMethodName method() {
        return .;
    }
    @Override
    public String uri() {
        return "/components/" + getComponentName();
    }
    @Override
    public Map<StringStringparameters() {
        Map<StringStringparameters = super.parameters();
        parameters.put("action""start");
        return parameters;
    }
New to GrepCode? Check out our FAQ X