diff options
Diffstat (limited to 'bundles/org.eclipse.osgi.services/src/org/osgi/service/http/runtime/dto/BaseServletDTO.java')
-rw-r--r-- | bundles/org.eclipse.osgi.services/src/org/osgi/service/http/runtime/dto/BaseServletDTO.java | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/bundles/org.eclipse.osgi.services/src/org/osgi/service/http/runtime/dto/BaseServletDTO.java b/bundles/org.eclipse.osgi.services/src/org/osgi/service/http/runtime/dto/BaseServletDTO.java index 569064a25..1bca590bf 100644 --- a/bundles/org.eclipse.osgi.services/src/org/osgi/service/http/runtime/dto/BaseServletDTO.java +++ b/bundles/org.eclipse.osgi.services/src/org/osgi/service/http/runtime/dto/BaseServletDTO.java @@ -27,7 +27,7 @@ import org.osgi.dto.DTO; */ public abstract class BaseServletDTO extends DTO { /** - * The name of the servlet. + * The name of the servlet. This value is never {@code null}. */ public String name; @@ -45,24 +45,26 @@ public abstract class BaseServletDTO extends DTO { public boolean asyncSupported; /** - * The servlet initialization parameters as provided during registration - * of the servlet. Additional parameters like the Http Service Runtime - * attributes are not included. + * The servlet initialization parameters as provided during registration of + * the servlet. Additional parameters like the Http Service Runtime + * attributes are not included. If the service has no initialization + * parameters, the map is empty. */ public Map<String, String> initParams; /** - * The service id of the {@code ServletContext} for the servlet. + * The service id of the servlet context for the servlet represented by this + * DTO. */ public long servletContextId; /** - * Service property identifying the servlet. In the case of a servlet registered - * in the service registry and picked up by a whiteboard implementation, this value - * is not negative and corresponds to the service id in the registry. - * If the servlet has not been registered in the service registry, the value - * is negative and a unique negative value is generated by the Http Service Runtime - * in this case. + * Service property identifying the servlet. In the case of a servlet + * registered in the service registry and picked up by a Http Whiteboard + * Implementation, this value is not negative and corresponds to the service + * id in the registry. If the servlet has not been registered in the service + * registry, the value is negative and a unique negative value is generated + * by the Http Service Runtime in this case. */ public long serviceId; } |