@Path(value="/") @PermitAll public class StatusResources extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StatusResources.OptionWrapper |
| Modifier and Type | Field and Description |
|---|---|
static String |
PATH_INTERNAL_OPTIONS |
static String |
PATH_INTERNAL_OPTIONS_JSON |
static String |
PATH_OPTIONS |
static String |
PATH_OPTIONS_JSON |
static String |
PATH_STATUS |
static String |
PATH_STATUS_JSON |
static String |
REST_API_SUFFIX |
| Constructor and Description |
|---|
StatusResources() |
| Modifier and Type | Method and Description |
|---|---|
org.glassfish.jersey.server.mvc.Viewable |
getStatus() |
org.apache.commons.lang3.tuple.Pair<String,String> |
getStatusJSON() |
org.glassfish.jersey.server.mvc.Viewable |
getSystemInternalOptions() |
List<StatusResources.OptionWrapper> |
getSystemInternalOptionsJSON() |
org.glassfish.jersey.server.mvc.Viewable |
getSystemPublicOptions() |
List<StatusResources.OptionWrapper> |
getSystemPublicOptionsJSON() |
org.glassfish.jersey.server.mvc.Viewable |
updateSystemOption(String name,
String value,
String kind) |
public static final String REST_API_SUFFIX
public static final String PATH_STATUS_JSON
public static final String PATH_STATUS
public static final String PATH_OPTIONS_JSON
public static final String PATH_INTERNAL_OPTIONS_JSON
public static final String PATH_OPTIONS
public static final String PATH_INTERNAL_OPTIONS
@GET @Path(value="/status.json") @Produces(value="application/json") public org.apache.commons.lang3.tuple.Pair<String,String> getStatusJSON()
@GET @Path(value="/status") @Produces(value="text/html") public org.glassfish.jersey.server.mvc.Viewable getStatus()
@GET @Path(value="/options.json") @RolesAllowed(value="authenticated") @Produces(value="application/json") public List<StatusResources.OptionWrapper> getSystemPublicOptionsJSON()
@GET @Path(value="/internal_options.json") @RolesAllowed(value="authenticated") @Produces(value="application/json") public List<StatusResources.OptionWrapper> getSystemInternalOptionsJSON()
@GET @Path(value="/options") @RolesAllowed(value="authenticated") @Produces(value="text/html") public org.glassfish.jersey.server.mvc.Viewable getSystemPublicOptions()
@GET @Path(value="/internal_options") @RolesAllowed(value="authenticated") @Produces(value="text/html") public org.glassfish.jersey.server.mvc.Viewable getSystemInternalOptions()
@POST
@Path(value="option/{optionName}")
@RolesAllowed(value="admin")
@Consumes(value="application/x-www-form-urlencoded")
@Produces(value="text/html")
public org.glassfish.jersey.server.mvc.Viewable updateSystemOption(@FormParam(value="name")
String name,
@FormParam(value="value")
String value,
@FormParam(value="kind")
String kind)
Copyright © 2017 The Apache Software Foundation. All rights reserved.