This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class HelperResource { | |
public static void setRequestOptions(ContainerRequestContext requestContext, RequestOptions requestOptions) { | |
requestContext.setProperty("requestOptions", requestOptions); | |
} | |
public static boolean isBodyRequested(ContainerRequestContext requestContext) { | |
// Do not return a body for head methods, but we might want to calculate paging / headers, etc. | |
// For now this is getting rewritten as GET by Jersey, but it might be changed later: | |
// https://java.net/jira/browse/JERSEY-2460 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#From command line as administrator RUN | |
#To turn off HYPER-V | |
bcdedit /set hypervisorlaunchtype off | |
Call dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All | |
#To turn on Hyper-V | |
bcdedit /set hypervisorlaunchtype auto | |
Call dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All |