Widen access for utility methods

This commit is contained in:
jamesagnew 2021-07-20 17:30:26 -04:00
parent 0ebf274d36
commit 9f77c57e5a
2 changed files with 13 additions and 7 deletions

View File

@ -124,7 +124,6 @@ public class RestfulServer extends HttpServlet implements IRestfulServer<Servlet
* with this key. The value will be a Java {@link Date} with the time that request processing began.
*/
public static final String REQUEST_START_TIME = RestfulServer.class.getName() + "REQUEST_START_TIME";
/**
* Default setting for {@link #setETagSupport(ETagSupportEnum) ETag Support}: {@link ETagSupportEnum#ENABLED}
*/
@ -196,6 +195,13 @@ public class RestfulServer extends HttpServlet implements IRestfulServer<Servlet
setInterceptorService(theInterceptorService);
}
/**
* @since 5.5.0
*/
protected ConformanceMethodBinding getServerConformanceMethod() {
return myServerConformanceMethod;
}
private void addContentLocationHeaders(RequestDetails theRequest, HttpServletResponse servletResponse, MethodOutcome response, String resourceName) {
if (response != null && response.getId() != null) {
addLocationHeader(theRequest, servletResponse, response, Constants.HEADER_LOCATION, resourceName);

View File

@ -110,7 +110,7 @@ public class ConformanceMethodBinding extends BaseResourceReturningMethodBinding
* @see Metadata#cacheMillis()
* @since 4.1.0
*/
private void setCacheMillis(long theCacheMillis) {
public void setCacheMillis(long theCacheMillis) {
myCacheMillis = theCacheMillis;
}