diff --git a/src/main/java/cokr/xit/foundation/component/ServiceRequest.java b/src/main/java/cokr/xit/foundation/component/ServiceRequest.java index 5044ee3..72b89d4 100644 --- a/src/main/java/cokr/xit/foundation/component/ServiceRequest.java +++ b/src/main/java/cokr/xit/foundation/component/ServiceRequest.java @@ -17,7 +17,7 @@ public abstract class ServiceRequest extends AbstractComponent implements Serial /**요청유형을 반환한다. 요청유형은 애플리케이션에서 필요에 따라 정의한다. * @return 요청유형 */ - protected String getType() { + public String getType() { return ifEmpty(type, ""); } @@ -25,7 +25,7 @@ public abstract class ServiceRequest extends AbstractComponent implements Serial * @param type 요청유형 * @return 현재 요청 */ - protected T setType(String type) { + public T setType(String type) { this.type = type; return self(); }