| Constructor and Description |
|---|
Service.ResourceBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCookieParam(CookieParam cookieParam) |
protected void |
addFormParam(FormParam formParam) |
protected void |
addHeaderParam(HeaderParam headerParam)
First try to add more specific value and then try to add less
specific value.
|
protected void |
addMatrixParam(MatrixParam matrixParam) |
protected void |
addPathParam(PathParam pathParam) |
protected void |
addQueryParam(QueryParam queryParam) |
Service |
build() |
Service.ResourceBuilder |
description(String description) |
Service.ResourceBuilder |
method(Method method) |
Service.ResourceBuilder |
name(String name) |
Service.ResourceBuilder |
param(Param.Type paramType,
Param param) |
Service.ResourceBuilder |
path(String path) |
Service.ResourceBuilder |
pathExample(String pathExample) |
public Service.ResourceBuilder path(String path)
public Service.ResourceBuilder name(String name)
public Service.ResourceBuilder pathExample(String pathExample)
public Service.ResourceBuilder method(Method method)
public Service.ResourceBuilder description(String description)
public Service.ResourceBuilder param(Param.Type paramType, Param param)
protected void addHeaderParam(HeaderParam headerParam)
protected void addCookieParam(CookieParam cookieParam)
protected void addFormParam(FormParam formParam)
protected void addMatrixParam(MatrixParam matrixParam)
protected void addPathParam(PathParam pathParam)
protected void addQueryParam(QueryParam queryParam)
public Service build()
Copyright © 2015. All rights reserved.