Widen access for utility methods
This commit is contained in:
parent
0ebf274d36
commit
9f77c57e5a
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue