0
Blob 저장소와 구글 SPI의 AppEngine에 엔드 포인트가 : 8080/_ah/API/탐색기 구글 탐험 : 을 나는자바 내가 로컬 호스트를 사용하고
{
"error": {
"message": "com.google.appengine.repackaged.org.codehaus.jackson.map.JsonMappingException: Can not construct instance of javax.servlet.http.HttpServletResponse, problem: abstract types can only be instantiated with additional type information\n at [Source: N/A; line: -1, column: -1]",
"code": 400,
"errors": [
{
"domain": "global",
"reason": "badRequest",
"message": "com.google.appengine.repackaged.org.codehaus.jackson.map.JsonMappingException: Can not construct instance of javax.servlet.http.HttpServletResponse, problem: abstract types can only be instantiated with additional type information\n at [Source: N/A; line: -1, column: -1]"
}
]
}
내 Google SPI 코드가 계속 것은 :
@ApiMethod(name = "findBillImage", httpMethod = ApiMethod.HttpMethod.GET)
public void findImage(HttpServletResponse httpServletResponse , @Named("blobkey") String blobKeyValue) throws IOException {
BlobKey blobKey = new BlobKey(blobKeyValue);
BlobstoreService blobstoreService = BlobstoreServiceFactory.getBlobstoreService();
blobstoreService.serve(blobKey, httpServletResponse);
}
언제 내가 HttpServletResponse HttpServletResponse에 무엇을 쓰려고 시도 .. 내가 httpServletResponse에 쓸 수없는 이유에 대해 잃어버린 메신저