Package com.yahoo.restapi
Interface RestApi.RouteBuilder
- Enclosing interface:
- RestApi
public static interface RestApi.RouteBuilder
-
Method Summary
Modifier and TypeMethodDescriptionaddFilter
(RestApi.Filter filter) defaultHandler
(RestApi.Handler<?> handler) defaultHandler
(RestApi.Handler<?> handler, RestApi.HandlerConfigBuilder config) <REQUEST_ENTITY>
RestApi.RouteBuilderdefaultHandler
(Class<REQUEST_ENTITY> type, RestApi.HandlerWithRequestEntity<REQUEST_ENTITY, ?> handler) <REQUEST_ENTITY>
RestApi.RouteBuilderdefaultHandler
(Class<REQUEST_ENTITY> type, RestApi.HandlerWithRequestEntity<REQUEST_ENTITY, ?> handler, RestApi.HandlerConfigBuilder config) delete
(RestApi.Handler<?> handler) delete
(RestApi.Handler<?> handler, RestApi.HandlerConfigBuilder config) get
(RestApi.Handler<?> handler) get
(RestApi.Handler<?> handler, RestApi.HandlerConfigBuilder config) patch
(RestApi.Handler<?> handler) patch
(RestApi.Handler<?> handler, RestApi.HandlerConfigBuilder config) <REQUEST_ENTITY>
RestApi.RouteBuilderpatch
(Class<REQUEST_ENTITY> type, RestApi.HandlerWithRequestEntity<REQUEST_ENTITY, ?> handler) <REQUEST_ENTITY>
RestApi.RouteBuilderpatch
(Class<REQUEST_ENTITY> type, RestApi.HandlerWithRequestEntity<REQUEST_ENTITY, ?> handler, RestApi.HandlerConfigBuilder config) post
(RestApi.Handler<?> handler) post
(RestApi.Handler<?> handler, RestApi.HandlerConfigBuilder config) <REQUEST_ENTITY>
RestApi.RouteBuilderpost
(Class<REQUEST_ENTITY> type, RestApi.HandlerWithRequestEntity<REQUEST_ENTITY, ?> handler) <REQUEST_ENTITY>
RestApi.RouteBuilderpost
(Class<REQUEST_ENTITY> type, RestApi.HandlerWithRequestEntity<REQUEST_ENTITY, ?> handler, RestApi.HandlerConfigBuilder config) put
(RestApi.Handler<?> handler) put
(RestApi.Handler<?> handler, RestApi.HandlerConfigBuilder config) <REQUEST_ENTITY>
RestApi.RouteBuilderput
(Class<REQUEST_ENTITY> type, RestApi.HandlerWithRequestEntity<REQUEST_ENTITY, ?> handler) <REQUEST_ENTITY>
RestApi.RouteBuilderput
(Class<REQUEST_ENTITY> type, RestApi.HandlerWithRequestEntity<REQUEST_ENTITY, ?> handler, RestApi.HandlerConfigBuilder config)
-
Method Details
-
name
-
addFilter
-
get
-
get
-
post
-
post
<REQUEST_ENTITY> RestApi.RouteBuilder post(Class<REQUEST_ENTITY> type, RestApi.HandlerWithRequestEntity<REQUEST_ENTITY, ?> handler) -
post
-
post
<REQUEST_ENTITY> RestApi.RouteBuilder post(Class<REQUEST_ENTITY> type, RestApi.HandlerWithRequestEntity<REQUEST_ENTITY, ?> handler, RestApi.HandlerConfigBuilder config) -
put
-
put
<REQUEST_ENTITY> RestApi.RouteBuilder put(Class<REQUEST_ENTITY> type, RestApi.HandlerWithRequestEntity<REQUEST_ENTITY, ?> handler) -
put
-
put
<REQUEST_ENTITY> RestApi.RouteBuilder put(Class<REQUEST_ENTITY> type, RestApi.HandlerWithRequestEntity<REQUEST_ENTITY, ?> handler, RestApi.HandlerConfigBuilder config) -
delete
-
delete
-
patch
-
patch
<REQUEST_ENTITY> RestApi.RouteBuilder patch(Class<REQUEST_ENTITY> type, RestApi.HandlerWithRequestEntity<REQUEST_ENTITY, ?> handler) -
patch
-
patch
<REQUEST_ENTITY> RestApi.RouteBuilder patch(Class<REQUEST_ENTITY> type, RestApi.HandlerWithRequestEntity<REQUEST_ENTITY, ?> handler, RestApi.HandlerConfigBuilder config) -
defaultHandler
-
defaultHandler
RestApi.RouteBuilder defaultHandler(RestApi.Handler<?> handler, RestApi.HandlerConfigBuilder config) -
defaultHandler
<REQUEST_ENTITY> RestApi.RouteBuilder defaultHandler(Class<REQUEST_ENTITY> type, RestApi.HandlerWithRequestEntity<REQUEST_ENTITY, ?> handler) -
defaultHandler
<REQUEST_ENTITY> RestApi.RouteBuilder defaultHandler(Class<REQUEST_ENTITY> type, RestApi.HandlerWithRequestEntity<REQUEST_ENTITY, ?> handler, RestApi.HandlerConfigBuilder config)
-